Skip to main content
Glama

OpenAny

Uniswap Create swap EIP 5792 calldata

uniswap_post_v1_swap_5792

Create swap EIP 5792 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-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

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses gateway credential use and that charges/authorization are gateway-determined, but it does not clarify whether this only builds calldata or submits a trade, nor does it cover side effects, failure modes, or idempotency.

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 short and front-loads the action, with no filler sentences. The gateway details are useful, though the mention of the native public Uniswap HTTP contract is somewhat incidental.

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?

This tool has a very large nested input schema, three parameters, and no output schema. The description does not explain the body structure, the quote requirement, the return shape, or the practical difference from the standard swap tool, leaving significant gaps.

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 at 100%, so the baseline is 3 even though the description adds no parameter meaning. The description does not explain the required quote object or reinforce the schema's note that x-universal-router-version must remain consistent across calls.

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 5792 calldata.' The EIP 5792 qualifier distinguishes it from the regular swap and swap_7702 siblings, but it does not explain what EIP 5792 means or when that distinction matters.

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 when-to-use guidance, no alternatives named, and no prerequisites such as needing a quote first. The agent must infer that this tool is chosen only when EIP-5792 calldata is required.

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.