Skip to main content
Glama

eip1271_smart_contract_signature_verifier

Verifies EIP-1271 signatures from smart contract wallets using eth_staticcall validation, with gas safeguards to ensure secure authentication.

Instructions

Verifies EIP-1271 signatures on smart contract wallets (Safe, Argent, Kernel, Biconomy) using eth_staticcall validation with gas safeguards. (0.035 USDC on Base L2)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
payloadYesInput parameters or JSON string payload for the tool execution
paymentSignatureNoBase L2 USDC micropayment signature or transaction hash for x402 settlement

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/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 burden. It usefully discloses the use of eth_staticcall validation (read-only), gas safeguards, and a cost of 0.035 USDC on Base L2. However, it does not explain return behavior, error cases, or whether the payment signature is mandatory, so behavioral coverage remains incomplete.

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 description is a single tight sentence that front-loads the core purpose and then adds the validation method, gas safeguards, and cost. There is no filler or repetition of information already present in the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a complex tool with an opaque payload parameter and no output schema. The description leaves critical invocation details unspecified, such as what the payload must contain (presumably signature, message hash, and contract address), whether payment is required, and what a successful verification returns. An agent would struggle to call it correctly with only this description.

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 adds wallet-specific context but does not clarify the actual structure or required fields of the opaque 'payload' parameter, nor does it explain how to construct the paymentSignature value beyond the schema's generic description.

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?

States a specific verb ('verifies'), a precise resource ('EIP-1271 signatures on smart contract wallets'), and enumerates target wallet types (Safe, Argent, Kernel, Biconomy). This clearly differentiates it from sibling tools like verify_evm_signature or verify_signature_eip191, which target different signature schemes.

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 implies usage context: verifying smart contract wallet signatures via EIP-1271. However, it does not explicitly state when not to use it (e.g., for EOA signatures) or name alternative sibling tools, leaving some routing decisions to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools