Skip to main content
Glama

dex_quote

DEX quote and liquidity: live pair quotes for a token or pair query, with price in USD, liquidity and 24h volume across chains. Use it to compare venues before a swap. Price: 0.002 USDC per call over x402 on Base or Solana.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "dex_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoExample: USDC

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden; it does disclose a meaningful non-obvious trait — this is a paid call at 0.002 USDC via x402 on Base or Solana — and names the returned fields (price, liquidity, 24h volume). It omits error/empty-result behavior, whether the query searches by symbol or address, and rate or payment-failure handling, which matters for a metered tool.

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?

Three short sentences, front-loaded with purpose and output fields, then the usage cue, then pricing. Nothing is padded; the pricing sentence earns its place because cost is decision-relevant.

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 single-optional-parameter read tool with no output schema and no annotations, the description covers purpose, output content, intended use case and cost — enough to call it correctly. The remaining gap is query syntax and response shape, which is modest at this complexity level.

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

Parameters4/5

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

With one optional parameter at 100% schema coverage the baseline is 3, and the description earns a step up by clarifying that the query can be a token or a pair, broadening the meaning beyond the schema's single 'Example: USDC'. It still does not state the accepted query syntax (e.g. 'USDC' vs 'USDC/WETH' vs chain prefixes).

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?

States a specific verb and resource: live pair quotes returned with USD price, liquidity and 24h volume across chains, plus an explicit framing ('compare venues before a swap'). It is distinguished from the evm_* siblings by its cross-chain quote focus, though it never names the closest sibling (crypto_price) to draw a hard line.

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

Usage Guidelines4/5

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

'Use it to compare venues before a swap' gives a clear when-to-use context rather than leaving usage implied. There is no when-not-to-use guidance and no alternative tool is named for plain spot pricing, so it stops short of a 5.

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.