Skip to main content
Glama

DEX token price, with the pool that produced it

evm_token_price

Use when an agent must put a number on a token before trading or reporting, and be able to defend it: spot price read straight from the deepest Uniswap V3 pool against USDC, on Base, Ethereum, Polygon, Arbitrum or Optimism. Returns the pool address, fee tier, liquidity, sqrtPriceX96, tick and block, so the number can be audited instead of trusted. No aggregator and no API key: the source is the chain itself. Via eth_call. $0.005 per call, paid over x402 (USDC).

Input Schema

NameRequiredDescriptionDefault
chainNobase | ethereum | polygon | arbitrum | optimism.
quoteNoToken to price it against. Defaults to the chain's native USDC.
tokenYesERC20 contract address to price.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the burden well: it discloses the data source (on-chain eth_call, not an aggregator), the pay-per-call model ($0.005 via x402 in USDC) and the returned fields, which is real behavioral value beyond the schema. It omits failure behavior — no pool, insufficient liquidity, unsupported token — and any latency or rate-limit expectations, which keeps it off 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?

Front-loaded with the usage condition, then mechanism, return fields, sourcing and cost; every sentence contributes. The 'Via eth_call' fragment slightly restates 'the source is the chain itself', a small redundancy rather than a flaw.

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?

No output schema exists, and the description compensates by listing the returned fields (pool address, fee tier, liquidity, sqrtPriceX96, tick, block) and the payment/auth requirement. The gap is the optional 'chain' parameter's default value, documented nowhere in schema or description, which matters for a tool with only one required argument.

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 100%, so the parameters are already documented; the description adds only the pricing mechanism (deepest pool, quoted against USDC) as an interpretive gloss. It does not resolve the one real ambiguity — the optional 'chain' parameter has no stated default — so baseline 3 is right.

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?

States a specific verb and resource — spot price from the deepest Uniswap V3 pool against USDC — and names the supported chains, which cleanly separates it from siblings like evm_token_info, evm_token_safety, evm_call and fx_convert. An agent can tell what number it gets and where it comes from 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 when an agent must put a number on a token before trading or reporting, and be able to defend it' gives a clear triggering context, and 'No aggregator and no API key' explains the sourcing trade-off. It stops short of naming alternatives or stating when not to use it (e.g. tokens with no USDC pool), so it is clear context without explicit exclusion criteria.

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