Skip to main content
Glama

Dex Pools

dex_pools
Read-only

Fetches decentralized exchange (DEX) liquidity pools for a token or pair across chains via DexScreener (with GeckoTerminal fallback). Returns chain, DEX name, pair address, base/quote tokens, USD price, liquidity, 24h volume, 24h transaction count, price change percentages, and pool creation age. Limit up to 30 pools. Information only, not financial advice. Price: $0.002 in USDC per successful call, paid with x402 (Base, Solana or Arc); failed calls are not charged.

Input Schema

NameRequiredDescriptionDefault
chainNoOptional chain filter (e.g. ethereum, solana, base)
limitNoMaximum number of pools to return (max 30)
tokenYesToken contract address or symbol to search pools for

Output Schema

NameRequiredDescriptionDefault
poolsNo
queryNo
sourceNo
checkedAtNo
disclaimerNo
poolsCountNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint, but the description adds substantial undisclosed behavior: the x402 payment mechanism ($0.002 USDC per successful call, Base/Solana/Arc) and the crucial billing rule that failed calls are not charged. This is exactly the kind of cost/failure semantics an agent cannot infer from structured fields.

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-loads purpose, then return fields, then constraints and cost. Mostly efficient, though the long enumeration of returned fields overlaps with the existing output schema and adds some length.

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

Completeness5/5

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

With readOnly/openWorld annotations and a dedicated output schema, the remaining agent-relevant unknowns are cost and failure billing, both fully disclosed. Nothing needed to invoke the tool correctly is missing.

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 chain, limit, and token are already documented; the description only restates the 'up to 30' limit that the schema already carries. Baseline 3 is appropriate when the schema does the heavy lifting.

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 (fetches) and resource (DEX liquidity pools) scoped to a token or pair across chains, and names the data sources (DexScreener with GeckoTerminal fallback). This clearly separates it from sibling market tools like defi_dex_volume, token_metadata, or crypto_price.

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?

Gives clear context for when to call it ('for a token or pair across chains') and the practical ceiling (max 30 pools), but never names an alternative sibling or states when NOT to use it (e.g., aggregate DEX volume via defi_dex_volume). Clear usage, missing explicit exclusions.

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