Skip to main content
Glama

get_token_pools

Retrieves pool statistics for all liquidity pools containing a specified token, enabling users to assess available pools and token liquidity.

Instructions

Get pool statistics for all pools containing a specific token.

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": {
      "assetId": "<assetId>"
    },
    "name": "get_token_pools"
  }
}

Input Schema

NameRequiredDescriptionDefault
assetIdYesToken asset / contract ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, and it delivers almost nothing beyond the name-plus-scope. It does not say whether results are paginated, sorted, truncated, or what a 'statistic' entry contains, so an agent cannot predict the response shape for a tool with no output schema.

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 front-loaded sentence with no filler; the scoping condition arrives before any ambiguity could arise. Nothing in it is 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?

For a one-parameter read-only lookup with no nested objects, the definition covers what is needed to select and call the tool. The remaining gap is the undisclosed nature of the returned 'pool statistics', which matters only modestly given the tool's simplicity.

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% and the single assetId parameter is already documented as a token asset/contract ID, so the schema does the work. The phrase 'specific token' reinforces but does not extend that meaning, leaving the baseline score appropriate.

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 verb and resource: 'Get pool statistics' scoped to 'all pools containing a specific token'. That scope cleanly distinguishes it from aggregate siblings like get_all_pools_stats or get_pools, though it never names an alternative explicitly.

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: the agent must infer that this is the tool for 'given a token, what pools hold it'. There is no when-to-use/when-not guidance, no mention of how it relates to get_pool_stats or get_pools, and no prerequisites stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.