Skip to main content
Glama

x402-token-price

x402-token-price: Spot price for an ERC-20 token by 0x contract address: the deepest DexScreener pair's USD price, liquidity, 24h volume, pair name and DEX. A token with no indexed pair is a 400. 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
tokenNo
addressNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / address / description
      Removed value: -"Address to process"
    • removedInput schema / properties / token / description
      Removed value: -"Token to process"
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden, and it does meaningful work: it discloses the upstream dependency (DexScreener), the pair-selection rule (deepest pair), the exact response fields (price, liquidity, 24h volume, pair name, DEX), the error contract (400 on no indexed pair), and the billing model (5 free trial calls per signed wallet). Missing are chain scope and whether pricing is per-call.

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?

Tight and front-loaded: purpose first, then the return fields, then the error case, then the pricing note. Only the redundant restatement of the tool name at the start is wasted. The emoji pricing tag is compact and informative rather than filler.

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

Completeness3/5

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

For a two-parameter lookup with no output schema, the description covers the return payload and error behavior well. It falls short on input contract: with no schema descriptions and no output schema, the unexplained token parameter and the unspecified chain scope leave real gaps an agent would hit at call time.

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

Parameters2/5

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

Schema description coverage is 0% and there are two parameters, so the description must compensate. It explains only one of them implicitly ('by 0x contract address' maps to address); the token parameter is never mentioned, no format or example is given, and neither parameter is required, so an agent cannot tell which to supply or what happens if both are passed.

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?

The description names a specific verb and resource ('Spot price for an ERC-20 token'), names the resolution key ('by 0x contract address'), and pins the data source ('deepest DexScreener pair'). That level of specificity separates it from siblings like x402-crypto-price, x402-dex-price and x402-token-market without the agent needing to open any schema.

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 implied by the ERC-20-by-contract-address framing, and the failure mode ('a token with no indexed pair is a 400') tells the agent what happens when the input has no liquidity. However, there is no explicit when-to-use or when-not guidance, and no routing to alternatives such as x402-dex-price or x402-token-search for tokens without a pair.

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