Skip to main content
Glama

GeckoTerminal On-Chain DEX Pools and Liquidity MCP

Get on-chain DEX token prices

get_dex_token_price
Read-onlyIdempotent

Fetch live on-chain USD spot prices derived from DEX liquidity pools for one or more token contract addresses on a network.

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": {
      "network": "<network>",
      "token_addresses": "<token_addresses>"
    },
    "name": "get_dex_token_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
networkYesGeckoTerminal network ID (e.g. "eth", "bsc", "base").
token_addressesYesArray of token contract addresses (e.g. ["0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"]).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description still adds genuine context beyond that by disclosing the provenance of the numbers ('derived from DEX liquidity pools') and that they are 'live' spot prices, which tells the agent these are not CEX or historical figures. It omits anything about rate limits, failure modes for unknown tokens, or how many prices come back per address.

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?

A single sentence that front-loads the verb 'Fetch' and the key qualifiers 'live', 'on-chain', 'USD spot'. Every word carries information; there is 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?

For a two-parameter read-only tool with full schema coverage, rich annotations, and no output schema, the definition covers what the tool returns conceptually (USD spot prices per token address on a network). The only thing an agent might still want is a hint at the shape of the response, e.g. one price per address, but that is a minor gap.

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 both parameters are already documented with formats and examples, which sets the baseline at 3. The description's phrase 'one or more token contract addresses on a network' corroborates the batching behavior implied by the array, but adds no format, limit, or network-ID detail beyond the schema.

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?

The description states a specific verb and resource: 'Fetch live on-chain USD spot prices' for 'token contract addresses on a network'. That is far more precise than a restatement of the name, and it pins down the data source (DEX liquidity pools, USD denomination). It does not, however, distinguish this from siblings such as get_dex_pool_detail or search_dex_pools, so it stops short of a 5.

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 only implied: an agent can infer this is the tool for pricing one or more tokens on a given network, and 'live' hints that historical lookups are out of scope. There is no explicit when-to-use statement, no mention of the alternative tools for pool-level or search workflows, and no stated prerequisites.

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.