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.

Input Schema

NameRequiredDescriptionDefault
qNoExample: USDC

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

No annotations are provided, so the description carries the whole burden, and it does substantial work: it discloses returned data (USD price, liquidity, 24h volume), cross-chain coverage, and the payment/auth model (0.002 USDC per call over x402 on Base). It omits failure modes, staleness/data-freshness, and rate limits.

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

Conciseness5/5

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

Three sentences, front-loaded with what the tool returns, followed by the use case, then cost. No filler; each sentence carries distinct information an agent needs.

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?

With no output schema and no annotations, the description supplies both the return shape and the cost/auth model, which is most of what an agent needs. The remaining gap is explicit differentiation from crypto_price, the closest sibling.

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?

Schema coverage is 100%, but the only schema text is the uninformative 'Example: USDC'. The description compensates by clarifying that the query accepts a token or a pair, which the schema does not say, adding genuine meaning over the structured field.

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

Purpose5/5

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

Names a specific verb+resource (DEX quote and liquidity) and enumerates the returned fields: USD price, liquidity, 24h volume, across chains. The phrase 'live pair quotes for a token or pair query' pins down the scope enough that an agent can separate it from a plain spot-price tool like crypto_price without opening the schema.

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 concrete usage context with a clear decision point. It never names an alternative such as crypto_price or states when not to use it, so it stops short of full routing guidance.

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.