Skip to main content
Glama

Beggar Bot

revoke_tx_build

Build an unsigned revoke tx (ERC-20 approve 0 or NFT setApprovalForAll false) with live allowance check, nonce, fees and signing hash. 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": "revoke_tx_build"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoauto|erc20|nft
chainNobase
ownerNo0x...
tokenNo0x...
spenderNo0x...

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full behavioral burden. It usefully discloses that the transaction is unsigned, performs a live allowance check, includes nonce/fees/signing hash, and costs $0.02 USDC via x402. It does not explain error behavior when no allowance exists or whether any broadcasting occurs, but the core build-only behavior is clear.

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?

The definition is a single front-loaded sentence with no wasted wording. It packs the core action, supported standards, live check, output components, and payment model efficiently.

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 five-parameter transaction builder with no output schema, the description provides enough context to understand what is built and what is included. It could be slightly stronger by clarifying output shape or edge cases, but the essential behavior and pricing are covered.

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 schema already explains parameters such as kind (auto|erc20|nft), chain, owner, token, and spender. The description adds semantic context about ERC-20 versus NFT revoke behavior, but it does not materially explain parameter roles, defaults, or optionality beyond what the schema provides.

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?

The description states a specific verb and resource: 'Build an unsigned revoke tx' and clarifies the two supported revoke modes: ERC-20 approve 0 or NFT setApprovalForAll false. This distinguishes it from generic transaction builders and approval-granting siblings without needing to open the 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?

The description makes the intended usage clear through the word 'revoke' and the two supported standards, so an agent can infer it should be used to remove token approvals. However, it does not explicitly say when to use this versus approve_tx_build or generic tx_build, nor does it state any exclusions or prerequisites.

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.