Skip to main content
Glama

Beggar Bot

uniswap_v2_quote

Uniswap v2 Router02 exact-in quote, direct or routed via WETH, with the best path. 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_v2_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNochain
amountNoamount
token_inNotoken_in
token_outNotoken_out

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose two useful traits: routing behavior (direct vs via WETH, best path chosen) and a paid access model ($0.02 USDC via x402), which is operationally critical. It omits what the quote actually returns, whether quotes are live/on-chain or indicative, and which chains are supported.

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 compact clauses with zero waste, front-loading the protocol/operation and then the payment condition. Nothing is repeated from the name unnecessarily.

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?

No output schema exists, yet the description says nothing about the shape of the returned quote (rates, path array, gas, slippage), leaving the return contract undefined. Otherwise, given the tautological schema descriptions and absent annotations, the definition covers the essentials — protocol version, exact-in mode, routing, and payment cost.

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 description coverage is nominally 100%, but the per-property descriptions are tautologies ('chain': 'chain', 'amount': 'amount'), so the schema adds little real meaning. The description only indirectly informs parameters via 'exact-in' (amount semantics) and 'direct or routed via WETH' (token pair semantics); chain and token address formats are unaddressed, making 3 the appropriate baseline.

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 — 'Uniswap v2 Router02 exact-in quote' — plus the routing scope ('direct or routed via WETH, with the best path'). The explicit protocol version lets an agent separate it from the v3/v4/balancer/dex quote siblings without opening any schema.

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?

'exact-in' implicitly narrows usage to exact-input swaps and excludes exact-output pricing, but there is no explicit when-to-use or when-not guidance. No alternative is named (e.g., uniswap_v3_quote, uniswap_v4_quote, dex_quote, swap_best_quote), so selection still requires inference from the name.

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.