Skip to main content
Glama

Beggar Bot

uniswap_v3_quote

On-chain Uniswap v3 QuoterV2 quote across all fee tiers for a direct pair: amount out, price, ticks crossed, gas. 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_v3_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
feeNofee
chainNochain
amountNoamount
token_inNotoken_in
token_outNotoken_out

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?

With no annotations supplied, the description carries the full behavioral burden and does meaningful work: it discloses the pricing/cost model ('Paid: $0.02 USDC via x402'), which is critical operational context an agent cannot get from the schema, and identifies the on-chain QuoterV2 source, implying a read-only simulation against current pool state. It does not mention failure modes (e.g., no-liquidity or quoter revert behavior), whether the quote is state-dependent/volatile, or whether any auth/wallet setup is needed beyond payment.

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?

Two dense sentences, zero filler, with the operation and scope front-loaded and the cost disclosure appended. Every clause adds information (mechanism, scope, output fields, price), and there is no repetition of the tool name or restating of the title.

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?

There is no output schema, so listing the returned fields (amount out, price, ticks crossed, gas) is genuinely necessary and it does so. With no annotations, it also covers the read-only/payment aspects. What is missing is parameter-level detail (units, accepted chain values, the role of 'fee' when all tiers are quoted) and any note on quote staleness or error conditions.

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 nominally 100%, but every parameter description is just the parameter name repeated ('fee', 'chain', 'amount', 'token_in', 'token_out'), so the schema conveys no real semantics. The description does not compensate: it never states whether 'amount' is human-readable or base units, what values 'chain' accepts, or how the 'fee' parameter interacts with 'across all fee tiers'. That last point is a genuine ambiguity left unresolved, though the high coverage figure keeps this at the baseline 3 rather than lower.

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 ('Uniswap v3 QuoterV2 quote') and narrows scope to a 'direct pair' across 'all fee tiers', which distinguishes it from the multi-hop/aggregator siblings like dex_quote or swap_best_quote, and the explicit v3 naming separates it from uniswap_v2_quote/uniswap_v4_quote. It also enumerates the return payload (amount out, price, ticks crossed, gas), so an agent knows what it gets. It stops short of explicitly naming which sibling to prefer, which keeps it from 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 implied rather than stated: 'direct pair' hints this is not the tool for routed/multi-hop pricing, and 'across all fee tiers' hints it is a pricing/simulation call rather than an execution call. There is no explicit 'use this when X, use swap_best_quote/uniswap_v3_swap_tx when Y', and no prerequisites or exclusions are given. An agent must infer the boundary from the scope words.

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.