Skip to main content
Glama

Beggar Bot

sig_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": "sig_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.6/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does meaningful work: 'Pure compute' declares no side effects, and it explicitly states the billing behavior ('Payment settles only after a successful (2xx) response; input errors are never charged') plus the cost ($0.02 USDC via x402), which an agent needs before calling a paid endpoint. It stops short of describing the response payload (recovered address vs. boolean match) or error modes.

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?

Purpose and supported modes are front-loaded, and the payment sentence is short and informative. A few fragments ('Pure compute. ecrecover.') and the 'Verify signature and signature recovery API:' preamble add noise, but nothing is seriously wasteful.

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 5-parameter paid tool with no output schema and no annotations, the description covers cost, safety, and input modes but omits what is returned (address, boolean, both?) and how the optional 'expected' changes the result. Those gaps matter for an agent deciding whether to call it and how to consume the response.

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 parameter semantics are already documented; the description maps message/hash/typed_data onto the three signature schemes, which is mild added value, but it never states the selection rule among them (mutually exclusive? which takes precedence?) or clarifies that 'expected' is optional and triggers a match check. Baseline 3 applies when the schema does the heavy lifting.

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 opens with a specific verb+resource ('recover the signer address of an Ethereum signature') and enumerates the three supported input modes (personal_sign/EIP-191 messages, EIP-712 typed data, raw hash), so the agent knows exactly what the tool computes. It does not distinguish itself from the close sibling 'signature_recover', leaving the agent to infer the difference.

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 enumeration of supported signature schemes rather than stated as guidance; there is no explicit when-to-use/when-not, no mention of when to pick this over signature_recover or smart_wallet_sig_verify, and no prerequisites. An agent can infer applicability from the input types but gets no routing help.

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.