Skip to main content
Glama

Beggar Bot

permit2_allowances

Uniswap Permit2 allowance audit: per token x spender returns Permit2 amount, expiration, nonce, expired/active flag and the underlying token->Permit2 ERC-20 approval, flags unlimited active permits. R 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": "permit2_allowances"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNobase|ethereum|optimism|arbitrum|polygon
ownerNo0x wallet
tokensNocsv token addresses
spendersNocsv spender addresses

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it does substantial work: it discloses the returned fields, that it also surfaces the underlying ERC-20 approval, that it flags unlimited active permits, and — importantly — that the call is paid ($0.02 USDC via x402). That payment disclosure is a behavioral trait an agent must know before invoking. It still omits rate limits, whether the call is strictly read-only, and how unset optional filters are handled.

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?

A single dense sentence that front-loads the tool's identity and then enumerates returns and the payment requirement; nothing is padding. Minor deductions for the cramped run-on construction and the malformed token "R Paid:" which slightly obscures the cost statement.

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 the description must carry the return shape — and it does, enumerating amount, expiration, nonce, active/expired flag, and the underlying ERC-20 approval. It also covers the paid-call aspect. What is missing for a 4-parameter, all-optional tool is any statement of defaults or behavior when filters are omitted.

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 100%, so the four parameters (chain, owner, tokens, spenders) are already documented, establishing the baseline of 3. The description adds the useful framing that results are computed per token x spender, which clarifies how the CSV filters combine. However, with zero required parameters it does not explain what happens when owner, tokens, or spenders are omitted, which is the main semantic gap.

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?

"Uniswap Permit2 allowance audit" names a specific verb-like action (audit) and a specific resource (Permit2 allowances), scoped to a per-token x per-spender cross product. The return fields listed make clear this is a read/audit tool, which implicitly separates it from the sibling build tools (permit2_approve_build, permit2_lockdown_build) and from a generic allowance_check. It stops short of explicitly naming which sibling to use instead, keeping it out of 5 territory.

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?

The description states what the tool does but never says when to use it versus alternatives such as allowance_check (ERC-20 allowance) or the permit2_* mutation builders. There is no exclusion guidance, no prerequisite, and no note on when an audit is appropriate. Usage is only inferable from the word "audit".

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.