Skip to main content
Glama

Beggar Bot

allowance_check

Decode an approve/setApprovalForAll/permit/Permit2 calldata or EIP-712 permit before signing: spender label, unlimited/expiry flags, verdict, revoke calldata; optional live ERC-20 + Permit2 allowance read. 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": "allowance_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNotoken/collection contract for calldata
dataNo0x calldata
chainNobase (default)
ownerNoowner for live read
tokenNotoken for live read
spenderNospender for live read
typed_dataNoEIP-712 typed data JSON

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 present, the description carries the full burden and does well: it discloses the returned artifacts (spender label, unlimited/expiry flags, verdict, revoke calldata), which is behavior an agent needs to interpret results. It also proactively states the cost and payment rail ($0.02 USDC via x402), a meaningful operational constraint, though it omits failure modes and rate limits.

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?

The core capability is front-loaded in the first clause, with the optional read and the pricing note following in a logical order. The single dense sentence packed with slash-separated alternatives is efficient but slightly strained; nothing is wasted.

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?

For a seven-parameter, all-optional tool with no output schema, the description effectively stands in for the return documentation by naming the verdict and revoke calldata fields. The payment disclosure covers a key operational concern; only error behavior and input-precedence (calldata vs typed_data) are left unstated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description adds a useful structural distinction: which parameters feed the calldata/typed-data decode path versus the live allowance read (owner/token/spender). That grouping is not evident from the flat schema and helps an agent construct valid calls.

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 a specific verb (decode) and enumerates the exact input classes covered: approve/setApprovalForAll/permit/Permit2 calldata and EIP-712 permits, plus an optional live allowance read. It does not, however, differentiate itself from sibling checks like permit_check or usdc_auth_check, which an agent must still disambiguate on its own.

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 phrase 'before signing' gives a clear temporal context that implies pre-transaction safety review, and 'optional live ERC-20 + Permit2 allowance read' clarifies when the read path applies. There is no explicit when-not guidance or named alternative, so the agent must infer routing vs. the large sibling set.

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.