Skip to main content
Glama

Beggar Bot

permit2_nonce_invalidate_build

Build Permit2 invalidateUnorderedNonces txs to cancel signed SignatureTransfer permits, with current bitmap state 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_nonce_invalidate_build"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromNofrom
chainNochain
noncesNononces

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 exist, so the description carries the full burden, and it does disclose two genuinely useful facts: the tool reads/returns current bitmap state and invoking it costs $0.02 USDC via x402. It does not say whether the output is an unsigned transaction the caller must broadcast, what happens if a nonce is already invalidated, or what permissions the `from` account needs.

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 front-loaded sentence that leads with the action and purpose; the pricing clause is appended efficiently, though the run-on "state Paid: ..." construction is slightly garbled and would read better as a separate clause.

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?

For a build-only tool with no output schema and no annotations, the definition communicates purpose, the bitmap-state return hint, and the x402 payment, which is more than most. It still omits the expected response shape (raw tx payload vs. signed tx), supported chains for Permit2, and the nonce encoding, all of which an agent needs before calling.

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

Parameters2/5

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

Nominal schema coverage is 100%, but the three field descriptions are tautological placeholders ("from", "chain", "nonces"), so effective coverage is near zero. The description mentions nonces conceptually but adds no format detail — whether `nonces` is a single uint256, a list, or a bitmap word — and never explains how `from` and `chain` are expected to be supplied.

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 and contract call ("Build Permit2 invalidateUnorderedNonces txs") and states the outcome ("cancel signed SignatureTransfer permits"), which is far more specific than the opaque tool name. It does not, however, distinguish this from adjacent nonce/cancel siblings such as stuck_nonce_clear_build or eip3009_cancel_build, leaving the agent to infer the boundary.

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?

Usage is implied by the stated goal: use this to cancel already-signed SignatureTransfer permits. There is no explicit when-to-use/when-not phrasing, no mention of prerequisites (e.g., that the nonces must not yet be used), and no named alternative for related cancel flows.

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.