Skip to main content
Glama

dex_pair

Top Base DEX pair for a token (symbol or contract address) — lite preview: pair, coarse price, liquidity band. Exact pair data is a paid lookup. Source: DexScreener.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "token": "<token>"
    },
    "name": "dex_pair"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYes

Output Schema

NameRequiredDescriptionDefault
resultYes

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?

With no annotations, the description carries the burden and does disclose meaningful behavior: results are a coarse preview (limited precision on price, banded liquidity), not an authoritative lookup, and DexScreener is the upstream source. It does not cover failure behavior (unknown token) or rate/auth characteristics, leaving a modest gap for a no-annotation tool.

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 short clauses with the core action front-loaded, the output shape next, and the paid-lookup caveat last. Every phrase carries information — no filler and nothing redundant with structured fields.

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 one-parameter tool with an output schema, the description supplies the needed context: chain scope (Base), input flexibility, output coarseness, and provenance. Only edge-case behavior for no-match tokens is left unaddressed, which is minor at this complexity.

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 0% and the single parameter is only titled "Token", so the description's clarification that it accepts either a symbol or a contract address adds real meaning beyond the schema. It does not elaborate on format or ambiguity resolution (e.g., symbol collisions), which keeps it below a 5.

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?

"Top Base DEX pair for a token" gives a specific verb-like action and resource, and "lite preview: pair, coarse price, liquidity band" scopes exactly which fields are returned. The line "Exact pair data is a paid lookup" implicitly distinguishes this from the full-lookup sibling, so an agent can tell the two apart without opening a 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?

The description clearly frames the use case as a cheap/lite preview and signals that exact pair data requires the paid lookup, which routes the agent appropriately. It stops short of naming the alternative tool or stating exclusions explicitly, so it lands at clear context rather than full when/when-not 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.

Resources