MCP server for executing cross-chain token swaps and querying portfolio data via 1inch APIs
Server has 5 tools with explicit schemas and descriptions, but quality is inconsistent. Tool naming lacks action verbs (swap, portfolio-*). Descriptions are present but generic (72-194 chars, below ideal 50-200 range for LLM optimization). Parameter descriptions exist but lack constraints, ranges, and format guidance. Output schemas are not documented. Error handling returns raw error messages without recovery guidance. The swap tool includes a conversion heuristic (1e6 multiplier) that is undocumented in the schema and could cause silent failures if the LLM passes an already-scaled amount.
Fetches the general current portfolio value from the 1inch Portfolio API. Parameters include chain ID, addresses and cache flag.
Fetches the current value of various protocols from the 1inch Portfolio API. Parameters include chain ID and addresses.
Retrieves detailed information about ERC-20 tokens from the 1inch Portfolio API. Parameters include chain ID, addresses, timerange, closed positions flag, and threshold.
Retrieves chart data for the general portfolio value from the 1inch Portfolio API. Parameters include chain ID, addresses, timerange and cache flag.
Initiates a cross-chain token swap by calling the executeCrossChainSwap function. Parameters include source and destination chain IDs, token addresses, amount, and an optional invert flag. The amount is expected in base units. NOTE: This tool includes a conversion check so that if a user passes a human-readable amount (e.g., "1" for 1 USDC), it multiplies by 10^6 to ensure the amount is in the correct 6-decimal base (i.e., 1 USDC becomes 1000000).
Tool names lack action verbs. 'swap' should be 'execute_swap' or 'initiate_swap'; 'portfolio-*' should be 'get_portfolio_*'. LLMs infer intent from verb-noun patterns.
Output schemas are not documented. Tools return text content without specifying field structure, making it impossible for LLMs to plan downstream calls or extract specific data.
Parameter descriptions lack constraints and format guidance. 'addresses' parameter has no description of expected format (comma-separated? array?). 'chainId' has no range or valid values listed.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 41 | 2026-07-28+ | v2 |
swap tool includes undocumented conversion logic (1e6 multiplier for amounts < 1e6). This heuristic is not reflected in the schema and could cause silent failures if the LLM passes a pre-scaled amount or a non-USDC token with different decimals.
Error handling returns raw error messages without recovery guidance. 'Error fetching protocols value: ...' tells the LLM nothing about whether to retry, ask the user, or try a different tool.