Skip to main content
Glama

Beggar Bot

uniswap_v2_lp

A wallet's Uniswap v2 LP position: LP balance, pool share and the underlying token amounts. 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_lp"
  }
}

Input Schema

NameRequiredDescriptionDefault
pairNopair
chainNochain
addressNoaddress
token_aNotoken_a
token_bNotoken_b

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. It does disclose a meaningful behavioral trait beyond structured fields: the call is metered at $0.02 USDC via x402, which matters for cost-aware planning. However, it says nothing about read-only semantics, failure modes for invalid pairs/chains, or what happens when a wallet has no position.

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 short sentences with the returned data front-loaded and the payment note appended. No wasted wording, though the payment clause is arguably operational metadata rather than tool guidance.

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?

Given five optional parameters, no annotations, and no output schema, the definition covers the essentials of what is returned and the cost. It falls short on how to specify the target pool/chain combination and on the read-only, no-result, and error behavior an agent needs before spending $0.02.

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%, so the baseline is 3, but the schema labels are pure restatements ('pair', 'chain', 'address') and the description adds no meaning of its own. It never clarifies the relationship between pair, token_a, and token_b, nor that all five parameters are optional, leaving ambiguity about how the pool is identified.

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 the specific resource (a wallet's Uniswap v2 LP position) and enumerates the returned data: LP balance, pool share, and underlying token amounts. It is clearly distinguishable from build/quote siblings by being a read of position state, though it never explicitly contrasts itself with uniswap_v3_position or uniswap_v2_pair.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus alternatives, no prerequisites, and no exclusions. An agent must infer from the name alone that this reads an existing v2 LP position rather than a v3 position or a pair lookup.

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.