Skip to main content
Glama

Signature Verify

sig_verify

Signature Verify: is this signature real, and from the party you expect? One checker for signatures OTHER parties sign: EIP-191 and EIP-712 wallet signatures (recovers the signer, compares to expected_signer), ERC-1271 smart-wallet signatures (live isValidSignature call on Base), Ed25519 over raw bytes or JCS-canonical JSON, and compact JWS (EdDSA, ES256, RS256, PS256; detached payload for A2A signed agent cards; JWK, JWKS by kid, or key_url). VALID / INVALID / RECOVERED / KEY_NOT_FOUND / UNSUPPORTED with reasons; alg none and expired tokens rejected. Bad input is not charged. By OMENZ. (MCP calls run in AYNE, the free playzone; production: POST https://www.omenz.org/api/tollbooth/v1/sig/verify, $0.002 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": {
      "format": "<format>"
    },
    "name": "sig_verify"
  }
}

Input Schema

NameRequiredDescriptionDefault
jwsNojws
keyNokey
hashNohash
chainNochain
formatYesformat
addressNo0x... contract or wallet address
key_urlNokey url
payloadNopayload
signatureNosignature
typed_dataNotyped data
expected_signerNoexpected signer
payload_encodingNopayload encoding

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

The description adds real behavior beyond annotations: ERC-1271 triggers a live isValidSignature call on Base, JWKS may be fetched by kid or key_url, outcomes are VALID/INVALID/RECOVERED/KEY_NOT_FOUND/UNSUPPORTED with reasons, and alg none plus expired tokens are rejected. The description does not contradict the annotations (readOnlyHint=false and openWorldHint=true match the live network calls). The one gap is that the pricing/'Bad input is not charged' note is the tollbooth-specific detail, which is covered.

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?

The opening question and the 'one checker for signatures OTHER parties sign' framing are front-loaded, followed by the format enumeration and outcome list. The prose is a single dense paragraph with several parentheticals; it is efficient but near the limit of scan-ability, and the trailing production/pricing note is secondary information placed after the essentials.

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 12-parameter tool with no output schema, the description supplies the return vocabulary (five statuses plus reasons) and the failure modes (alg none, expired tokens), which is what an agent most needs. But the request/response envelope, where 'reasons' live, and what the rfc9421 format consumes (hash, chain) are not described. That leaves a real gap given the absence of an output schema.

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?

With 100% schema description coverage the baseline is 3, and the description earns it by mapping formats to concrete mechanics: expected_signer comparison for wallet signatures, JWK/JWKS-by-kid/key_url for JWS, raw bytes vs JCS-canonical JSON for Ed25519, detached payload for signed agent cards. However, several parameters with sparse schema text (key, key_url, hash, payload, typed_data) are not explicitly tied to specific formats, so the added meaning is partial.

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+resource ('Signature Verify: is this signature real, and from the party you expect?') and then enumerates the exact signature families covered: EIP-191, EIP-712, ERC-1271, Ed25519, compact JWS. The scoping phrase 'signatures OTHER parties sign' distinguishes it from any self-signing capability, so an agent knows what it does without opening the schema.

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?

Clear usage context is given: verify signatures produced by other parties, with a concrete motivating scenario ('detached payload for A2A signed agent cards'). Choose-the-right-format guidance is implicit in the per-format parentheticals. It stops short of explicit when-not-use or naming a sibling such as pay_verify, so no exclusions are stated.

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.

Resources