Skip to main content
Glama

Agent Data Tools: Prices and DeFi

Liquidity pool check: a Base DEX pair's liquidity, volume, trades and age before trading

liquidity_pool_audit
Read-only

Check a Base DEX pool before you trade: give a pair address and get the verified DEX, both tokens, reported liquidity, 24h volume and trades, and pair age from DexScreener, or read on Base when it is unavailable, with source and retrieval time. Missing fields are null; an unknown pair returns 422. Market data only, no risk assessment. Use to confirm a pair is real and deep enough before trading; token red flags: token_report. Example: address=0x98c7A2338336d2d354663246F64676009c7bDa97. Price $0.01/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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": {
      "address": "<address>"
    },
    "name": "liquidity_pool_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYesDEX pair address on Base, 0x-prefixed 20-byte hex

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations: discloses source attribution with retrieval time, the DexScreener-down fallback to reading Base, null handling for missing fields, a 422 for unknown pairs, and the full pricing model (x402 USDC, $0.01/call, first 10 free, failed calls free, repeats not free). The 'repeats are not free' note is consistent with idempotentHint=false and the read-only claim is consistent with readOnlyHint=true/destructiveHint=false.

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-loaded with the verb, the input, and the returned fields, then proceeds to edge cases and pricing, so an agent reading only the first sentence still knows how to call it. The pricing/credits clause is dense and slightly crowds the tool semantics, but nothing is redundant.

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 no output schema, the description fully substitutes by enumerating return fields, describing the fallback source, null semantics, and the 422 error path. For a single-parameter read-only market-data tool, an agent has everything needed to invoke it and interpret results.

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% and the single parameter already documents '0x-prefixed 20-byte hex', so the schema carries the load. The description adds only that it must be a pair address rather than a token address plus a concrete example, which is modest but real value. Baseline 3 is appropriate.

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 and resource ('Check a Base DEX pool') and enumerates exactly what comes back: verified DEX, both tokens, liquidity, 24h volume/trades, pair age. It also scopes itself explicitly ('Market data only, no risk assessment') and names the sibling that handles the risk side ('token red flags: token_report'), so an agent can distinguish it from token_report/uniswap_pool without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit use case ('confirm a pair is real and deep enough before trading') plus a boundary condition and the alternative for the adjacent need (token red flags -> token_report). It also states what this tool does not do ('no risk assessment'), which is the when-not guidance most descriptions omit.

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