Skip to main content
Glama

Beggar Bot

uniswap_v4_pools

Uniswap v4 pools for a token pair on Ethereum/Base: poolId, sqrtPrice-derived price, tick, LP/protocol fee, liquidity per fee tier (or a custom fee/tickSpacing/hooks key). Paid: $0.02 USDC via x402.

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": "uniswap_v4_pools"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNochain
token_aNotoken_a
token_bNotoken_b

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose a non-obvious behavioral trait: the call is paid ($0.02 USDC via x402), which materially affects whether an agent should invoke it. It also enumerates the returned fields and the fee-tier/custom-key grouping. It omits what happens when the optional token_a/token_b/chain are omitted and any error or rate-limit behavior.

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: scope and chain first, return payload next, pricing last. Every clause carries information and nothing is repeated from the schema or name.

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 three-optional-parameter read tool with no output schema and no annotations, the description supplies the equivalent of an output schema (poolId, price, tick, fees, liquidity) and the payment model. The remaining hole is the zero-required-parameter case: it never says whether omitting token_a/token_b returns all pools or errors.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema's property descriptions are bare restatements ('chain': 'chain'), so the description does the real work by identifying token_a/token_b as a pair and constraining chain to Ethereum/Base. That is genuine meaning beyond the structured fields, though it adds nothing about format (addresses vs symbols) or case sensitivity.

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 specific verb-resource pair ('Uniswap v4 pools for a token pair') plus the supported chains (Ethereum/Base), which separates it from the v3 and position/quote siblings. It stops short of explicitly contrasting with uniswap_v3_pools or uniswap_v4_position, so differentiation is inferred from the 'v4 pools' noun 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?

Usage is implied: you fetch pools when you need poolId, price, tick, fee, and liquidity for a token pair. There is no explicit when-to-use, when-not-to-use, or named alternative such as uniswap_v3_pools for v3 data. An agent can infer the context but gets no routing guidance.

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.