Skip to main content
Glama

Beggar Bot

uniswap_v4_quote

Uniswap v4 exact-in quote across fee tiers via the V4Quoter, with the best tier, price and gas estimate. Supports native ETH. 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_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNochain
amountNoamount
token_inNotoken_in
token_outNotoken_out

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations at all, the description carries the full behavioral burden, and it does disclose two non-obvious traits: the $0.02 USDC x402 payment requirement and native ETH support. It says nothing about failure modes (e.g. no pool for a tier), whether the quote is a live simulation versus cached, or what happens on unsupported chains, so a mutating-cost tool remains partly opaque.

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?

Two tight sentences: capability and coverage first, output shape second, commercial/asset caveats last. No padding, though the x402 pricing clause is jammed into the same breath as the capability statement rather than being separated.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers purpose, return fields, cost, and native ETH — reasonable for a tool with no output schema. However, with zero required parameters and no annotations, it never clarifies which of the four inputs are actually needed to obtain a quote, leaving a real call-construction gap.

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 property description merely restates the field name ('chain': 'chain'), so the schema supplies almost no real semantics. The description adds only one hint — 'Supports native ETH' — which implies a native-asset sentinel is acceptable for token_in/token_out, and says nothing about amount units, address formats, or valid chain values.

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: 'exact-in quote across fee tiers via the V4Quoter', and names the concrete outputs (best tier, price, gas estimate). The 'v4' qualifier implicitly separates it from the v2/v3 quote siblings, though it never names them 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?

The quote-before-swap usage is only implied by 'quote' sitting next to swap-build siblings such as uniswap_v4_swap_tx and uniswap_swap_build. There is no explicit 'use this when' statement and no exclusion telling the agent when to prefer uniswap_v3_quote, dex_quote, or swap_best_quote instead.

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.