Skip to main content
Glama

Beggar Bot

eip7702_auth_hash

EIP-7702 authorization digest keccak(0x05||rlp[chain_id,address,nonce]) with live authority nonce, current delegation and signature recovery. 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": "eip7702_auth_hash"
  }
}

Input Schema

NameRequiredDescriptionDefault
nonceNooptional
addressNodelegate 0x...
chain_idNo8453|0
authorityNo0x...
signatureNooptional

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?

With no annotations, the description usefully discloses that it performs live network reads (current authority nonce, current delegation on chain) and that it costs $0.02 USDC via x402 — a real behavioral constraint an agent needs. However, it does not say whether signature recovery merely returns a recovered address or fails on mismatch, nor what the caller receives.

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 tight sentences, front-loaded with the digest definition and then the operational facts (live nonce, cost). No filler; the formula and price note both earn their place.

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?

Five parameters, zero required, no output schema, and no annotations mean the description carries most of the load. It explains the digest but leaves the all-optional parameter behavior, the returned value, and failure modes unaddressed, which is a meaningful gap for a hash/recovery tool.

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 coverage is 100%, so the baseline is 3. The description still adds value by showing which fields feed the RLP preimage (chain_id, address, nonce) versus which drive live lookup (authority), and that signature is optional for recovery, but it does not clarify what happens if address or nonce are omitted given nothing is required.

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 and computation: an EIP-7702 authorization digest defined as keccak(0x05||rlp[chain_id,address,nonce]), plus live nonce/delegation lookup and signature recovery. That distinguishes it from eip712_hash and safe_tx_hash by protocol, though it never explicitly contrasts with the closest sibling, eip7702_delegation_check.

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 when-to-use, when-not-to-use, or alternative routing. An agent must infer from the formula alone that this is for constructing/verifying a 7702 authorization tuple rather than merely checking delegation status. Nothing tells the caller whether the optional signature should be supplied only when verification is wanted.

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.