Skip to main content
Glama

Beggar Bot

signature_recover

Verify signature and signature recovery API: recover the signer address of an Ethereum signature - personal_sign / EIP-191 messages, EIP-712 typed data (Permit, Permit2, orders) or a raw hash - and check it matches the expected address. Pure compute. ecrecover. Payment settles only after a successful (2xx) response; input errors are never charged. Paid: $0.02 USDC via x402.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "signature": "<signature>"
    },
    "name": "signature_recover"
  }
}

Input Schema

NameRequiredDescriptionDefault
hashNoraw 32-byte digest
messageNopersonal_sign message (utf8, or 0x hex)
expectedNoaddress to compare
signatureYes0x 65-byte or 64-byte EIP-2098 signature
typed_dataNoEIP-712 JSON {types, primaryType, domain, message}

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, the description carries the full burden, and it does disclose meaningful traits: 'Pure compute' (no on-chain side effects), the x402 payment model, and that settlement occurs only on a 2xx response with input errors never charged. The notable gap is return behavior — it never says whether the result is a recovered address, a boolean match, or both, which matters given no output schema.

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?

Front-loaded with the verb and resource, then modes, then cost/behavior in a compact sequence. Some sentence fragments ('Pure compute. ecrecover.') are terse rather than wasteful, and the pricing note is short and placed last where it belongs.

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?

It covers the input modes, compute semantics, and payment model well for a 5-parameter tool. However, with no output schema and no annotations, the description omits what the tool actually returns and what happens on a mismatched 'expected' address — a real gap for a verification tool.

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 the baseline is 3, but the description adds dispatch semantics the schema does not: the three mutually exclusive input modes map onto 'message', 'typed_data' and 'hash', and 'expected' is characterized as triggering an address comparison. It stops short of explaining precedence if multiple input fields are 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?

States a specific verb+resource ('recover the signer address of an Ethereum signature') and enumerates the supported input modes (EIP-191 personal_sign, EIP-712 typed data, raw hash). It does not differentiate itself from the near-identical sibling 'sig_recover', so the agent cannot rule out duplication from the description alone.

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 enumerated modes (Permit, Permit2, orders, raw hash) and the note that it 'checks it matches the expected address', so an agent can infer this is for signer verification. There is no explicit when-not or statement of how this differs from sig_recover or signature_lookup, leaving selection between overlapping siblings to inference.

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.