Skip to main content
Glama
dex-cex-spread

dex-cex-spread

by tordagaz-ops

Pool liquidity and price impact

pool_liquidity
Read-only

Lists every DEX pool for a token with real depth, 24-hour volume, turnover, and price impact at 1k to 1M dollar trades, so you can see where liquidity actually holds up.

Instructions

Every pool this server can see for a token, with real depth (the smaller side, which cannot be inflated by a token pricing itself), 24 hour volume, the turnover ratio, and the price impact a constant-product pool would charge at 1k, 10k, 100k and 1M dollars.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "pool_liquidity"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNoChain to look on, for example ethereum, solana, base, bsc, arbitrum. Guessed from the address shape when omitted.
limitNoHow many rows to return.
queryNoTicker (PEPE) or contract address (0x… / a Solana mint).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered, and the description adds genuine value on top: it explains that depth is measured as the smaller side (resistant to self-pricing) and that price impact is a constant-product model at 1k/10k/100k/1M notionals. It stops short of saying whether the impact figures reflect realistic routing or are pure model output, and says nothing about result ordering.

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 dense sentence with no filler; the coverage claim leads and the metric definitions follow. The parenthetical explaining why 'the smaller side' is used is the only aside and it earns its place by pre-empting a common misinterpretation.

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?

An output schema exists, so return values need not be spelled out, and the description's metric definitions give the agent enough to interpret results. The notable remaining gap is what 'limit' selects from — whether rows are ordered by volume, depth, or price impact — which matters when the default is only 12 rows.

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 100%, with chain, limit, and query all documented in the schema including the address-shape guessing behavior and defaults. The description only gestures at the query parameter via 'for a token' and adds no syntax or format detail beyond the schema, so it sits at the baseline for high-coverage schemas.

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 names a concrete resource (all pools the server can see for a token) and enumerates exactly what comes back: real depth, 24h volume, turnover ratio, and modeled price impact. It separates itself from a single-pair price lookup, though it never names a sibling tool such as scan_spreads or compare_price, so differentiation is implicit rather than stated.

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?

Scope is implied ('every pool this server can see for a token') which suggests this is the broad liquidity-scan option, but there is no explicit when-to-use, when-not-to-use, or named alternative. An agent must infer selection from the returned-field list rather than from stated guidance.

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