Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as minia2a — hosted x402 API marketplace (HTTP). If you published it, claim ownership there.

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. Changed1 schema field changed
    • addedInput schema / allOf
      Added value: +[
      +  {
      +    "anyOf": [
      +      {
      +        "required": [
      +          "address"
      +        ]
      +      },
      +      {
      +        "required": [
      +          "token"
      +        ]
      +      }
      +    ]
      +  }
      +]
  2. Changed2 schema fields changed
    • removedInput schema / properties / address / description
      Removed value: -"Address to process"
    • removedInput schema / properties / token / description
      Removed value: -"Token to process"
  3. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral burden and does well: it discloses the data source (deepest DexScreener pair), the returned fields, the failure mode (400 when no indexed pair), and the billing model (5 free trial calls per signed wallet). It stops short of explaining auth requirements or what happens after the trial is exhausted, which keeps it below 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.

Conciseness5/5

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

Front-loaded with the tool name, then purpose, then the exact data returned, then the error case, then the pricing note. Every sentence adds information and none are redundant.

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, so the enumeration of returned fields (price, liquidity, 24h volume, pair name, DEX) is doing necessary work, and the 400 behavior removes ambiguity about missing-pair handling. The only real gap is the unexplained 'token' alternative parameter.

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 0% across two parameters, and the anyOf requires either 'address' or 'token'. The description explains 'address' well ('0x contract address') but says nothing about the 'token' parameter, leaving the more ambiguous of the two undocumented in both schema and prose.

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) plus a concrete scope: contract address, deepest DexScreener pair, and which data fields come back. That is far more specific than the sibling names alone (e.g., x402-dex-price, x402-crypto-price) and lets an agent tell it apart 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 Guidelines3/5

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

Usage is implied by 'ERC-20 token by 0x contract address' and by the stated 400 behavior for tokens with no indexed pair, but there is no explicit when-to-use or when-to-prefer-a-sibling guidance. The agent must infer where this fits relative to the many other price tools.

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