Skip to main content
Glama

Beggar Bot

smart_wallet_sig_verify

Smart-wallet signature verifier: EIP-1271 isValidSignature on-chain for Safe/Coinbase Smart Wallet/4337 accounts plus ecrecover fallback for EOAs and EIP-7702 delegated EOAs; accepts hash, EIP-191 mes 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": "smart_wallet_sig_verify"
  }
}

Input Schema

NameRequiredDescriptionDefault
hashNo0x32-byte digest
chainNobase|ethereum|optimism|arbitrum|polygon|base-sepolia
addressNo0x wallet
messageNoor EIP-191 message
signatureNo0x sig
typed_dataNoor EIP-712 JSON

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden and does add two genuinely new facts: this performs an on-chain call, and it costs $0.02 USDC paid via x402 — critical for an agent to know before invoking. However, it never states what is returned (a boolean validity result, revert behavior, or error shape) despite there being no output schema, and no auth, rate-limit, or failure-mode context is given.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single front-loaded sentence with no filler, which is good. But it is visibly truncated mid-word ('EIP-191 mes Paid: $0.02'), jamming the payment clause against an incomplete list and hurting readability of the input-acceptance section.

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 tool with no annotations, no output schema, and six fully-optional parameters, the definition covers purpose and cost but omits the return contract (valid/invalid representation) and input-combination rules. An agent could call it, but cannot predict what it gets back or which of hash/message/typed_data to supply.

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 six parameters are already documented including the 'or EIP-191 message' / 'or EIP-712 JSON' alternation. The description adds only the high-level note that hash and message inputs are accepted, and does not clarify the non-obvious fact that zero parameters are required (so which combination is mandatory). Baseline 3 applies.

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/resource ('Smart-wallet signature verifier') and enumerates the exact mechanisms covered: EIP-1271 isValidSignature for Safe/Coinbase Smart Wallet/4337 accounts plus ecrecover fallback for EOAs and EIP-7702 delegated EOAs. This is far more specific than a restated title and implicitly distinguishes it from sig_recover, though the trailing truncation ('EIP-191 mes') leaves the accepted-input story garbled.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Applicability is stated well through account-type enumeration (smart wallets via 1271, EOAs, 7702 delegated EOAs), which effectively tells an agent which signature styles this handles. There is no explicit when-not or named alternative (e.g., sig_recover for pure recovery without validation), so routing to a sibling still requires 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.