Skip to main content
Glama

Leash

Swap quote

elysium_swap_quote
Read-onlyIdempotent

Elysium: quotes official Uniswap v4 (including Montra launch-token pools), with best route, price impact and minOut. HyperEVM: best quote across HyperSwap V3 and Uniswap v3, checked against the Hyperliquid HYPE price for HYPE/stablecoin pairs. Uniswap v4 is pool reads only on HyperEVM. Third-party symbols are explicitly untrusted. Elysium hooked pools other than Montra's need allowHooks. Chains: elysium (default), hyperevm, robinhood.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "tokenIn": "<tokenIn>",
      "tokenOut": "<tokenOut>",
      "amountIn": "<amountIn>"
    },
    "name": "elysium_swap_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNoelysium (default), hyperevm or robinhoodelysium
tokenInYesHYPE (native), WHYPE, USDC or a token address; on Robinhood Chain ETH, WETH, USDG or an uppercase stock ticker
amountInYes
tokenOutYesHYPE (native), WHYPE, USDC or a token address; on Robinhood Chain ETH, WETH, USDG or an uppercase stock ticker
allowHooksNo
slippageBpsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint and idempotentHint, so safety is covered. The description adds real value beyond that: a security warning that third-party symbols are explicitly untrusted, the allowHooks requirement for non-Montra hooked pools, and chain-specific routing behavior. It does not cover freshness/TTL of the quote or whether it reverts or returns an error on unsupported routes, so it stops short of a 5.

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 content is dense and front-loaded, organized per chain, with each sentence carrying routing or constraint information. It is telegraphic and jargon-heavy ('allowHooks', 'Montra launch-token pools') in places, but there is little outright filler.

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

Completeness4/5

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

For a six-parameter quote tool with no output schema, the description does enough: it states what the quote returns (route, price impact, minOut) and the chain-specific routing caveats. Gaps remain on amountIn/slippage semantics and on the shape of the quote object beyond the three named fields.

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?

With 50% schema coverage, the description partially compensates: it names the three chains and explains allowHooks (which the schema leaves undocumented). However, amountIn and slippageBps are documented nowhere, and the token symbol/address semantics are merely repeated from the schema rather than elaborated (e.g. how symbols are resolved per chain).

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 ('quotes') and resource (Uniswap v4 pools / HyperSwap V3 / Uniswap v3) and names the outputs (best route, price impact, minOut). It clearly distinguishes itself as a read-only quote tool rather than a transaction builder, though it never names the sibling it pairs with (elysium_prepare_swap), leaving that routing inferential.

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

Usage Guidelines3/5

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

Usage is only implied: the agent can infer this is the step before preparing a swap, and the per-chain notes ('Uniswap v4 is pool reads only on HyperEVM', 'hooked pools other than Montra's need allowHooks') hint at when a quote is or isn't possible. There is no explicit statement of when to pick this over prepare_swap or how to handle an unsupported chain/pool beyond an error.

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.

Resources