Skip to main content
Glama

dex_pair_lookup

Lite preview of one Base DEX pair by its pair contract address: tokens, rounded 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": {
      "pair_address": "<pair_address>"
    },
    "name": "dex_pair_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
pair_addressYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden; it does disclose that results are rounded and limited in scope and that exact data requires payment. It omits what happens on an unknown/invalid address, whether non-Base chains are accepted, and any rate or auth constraints.

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 very short sentences, front-loaded with the resource and key, then scope, then the paid-lookup caveat. No filler or redundancy.

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?

The tool is simple (one required param) and an output schema exists, so return values need no explanation; the description still summarizes them usefully. The remaining gap is minor: no error or address-format behavior for the single required input.

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 coverage is 0% and the only field has just a title, so the description must compensate. It usefully clarifies that the address is a *pair contract* address rather than a token address, but adds no format expectation (e.g., 0x-prefixed hex) or chain constraint.

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

Purpose4/5

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

States a specific resource (one Base DEX pair), a specific lookup key (pair contract address), and the returned fields (tokens, rounded price, liquidity band). The 'Lite preview' framing distinguishes it from a full pair-data lookup, though it never names the sibling tool that provides the exact data.

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?

'Exact pair data is a paid lookup' implies the alternative exists and that this tool is the free/lightweight path, which is real routing guidance. However, it never names the alternative tool or states explicit when-not-to-use conditions, leaving the agent to infer the route.

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