Skip to main content
Glama

OpenAny

Uniswap Create swap EIP 7702 calldata

uniswap_post_v1_swap_7702

Create swap EIP 7702 calldata. Uses the native public Uniswap HTTP contract. Uses the caller's OpenAny gateway credentials. Charges and authorization are determined by the gateway.

Input Schema

NameRequiredDescriptionDefault
bodyYesbody
x-agent-infoNox-agent-info
x-erc20eth-enabledNoEnable native ETH input support for UniswapX via ERC20-ETH (EIP-7914). When set to true and `tokenIn` is the native currency address (e.g. `0x0000000000000000000000000000000000000000`), the API may return UniswapX routes that spend native ETH for supported wallets.
x-universal-router-versionNoThe version of the Universal Router to use for the swap journey. *MUST* be consistent throughout the API calls.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description does usefully disclose that calls use OpenAny gateway credentials and that charges and authorization are gateway-determined. It does not disclose whether the response is just calldata or a transaction request, whether signing/submission is required afterward, or any rate-limit/idempotency behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is brief, front-loaded with the core action, and mostly free of filler. The sentence about 'the native public Uniswap HTTP contract' is somewhat vague, but overall it does not waste space.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex tool with a deeply nested quote body and no output schema, the description is thin. It does not explain the expected workflow, such as whether a quote must first be obtained from uniswap_post_v1_quote, nor does it clarify the EIP-7702 delegation flow, return shape, or how the quote variants map to supported swap types.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is reported as 100%, so the schema is the primary source of parameter meaning and the baseline is 3. The description adds no parameter-specific detail, which is a missed opportunity given the complex quote object and fields like permitData, simulateTransaction, urgency, and smartContractDelegationAddress.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: 'Create swap EIP 7702 calldata.' This is clear enough for an agent to know it produces EIP-7702 swap calldata rather than executing a swap. However, it does not distinguish itself from close siblings such as uniswap_post_v1_swap, uniswap_post_v1_swap_5792, or uniswap_post_v1_wallet_encode_7702.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit guidance on when to use this tool versus alternatives such as uniswap_post_v1_swap or uniswap_post_v1_wallet_encode_7702. The notes about gateway credentials and charges are context, not selection criteria, and no prerequisites or exclusions are stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.