Skip to main content
Glama

pusaka_verify_signature

Read-only

Check a signature someone says comes from a Pusaka, the way a website or exchange would: a 'Sign in as Pusaka #N' message (EIP-4361; pass signature 0x…, and domain = your site) or a BIP-322 proof of its Bitcoin address (pass witness, base64). Checks the signature, that the address is the Pusaka's own NEAR MPC key, that the holder it names still holds it, and (sign-ins) expiry and site. Returns valid plus each check.

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": {
      "message": "<message>"
    },
    "name": "pusaka_verify_signature"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainNo
messageYes
witnessNo
signatureNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only cover the safety profile (read-only, non-destructive, open-world); the description adds substantial behavior beyond that, enumerating the four internal checks performed (signature validity, address matching the Pusaka's own NEAR MPC key, current holder, expiry and site for sign-ins) and disclosing the return shape ('valid plus each check') despite no output schema. Nothing here contradicts the annotations.

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 core action is front-loaded in the first clause and every subsequent clause adds real information (mode selection, checks, return value) rather than filler. It is, however, one very long sentence with nested parentheticals, which makes the parameter guidance harder to scan than a short structured list would.

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

Completeness5/5

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

For a four-parameter verification tool with no output schema and minimal annotations, the description supplies mode selection, per-parameter formats, the checks performed, and the response shape. An agent could invoke it correctly and interpret the result from this text alone.

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 0%, so the description must carry parameter meaning, and it largely does: it explains that 'message' is the EIP-4361 'Sign in as Pusaka #N' text, that 'signature' is a 0x-hex sign-in signature, that 'domain' must be the caller's site, and that 'witness' is a base64 BIP-322 proof. It omits the 2000-character cap and that 'message' is required, but the format and role of every parameter is recoverable.

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 and object ('Check a signature someone says comes from a Pusaka') and immediately names the two distinct proof formats it handles (EIP-4361 sign-in message vs BIP-322 witness). This clearly separates it from the surrounding portfolio/audit/trust siblings without needing any inference from their names.

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?

Gives clear context ('the way a website or exchange would') and routes the caller between the two modes by telling them which parameter to pass in each case ('pass signature 0x…, and domain = your site' vs 'pass witness, base64'). It does not state exclusions or when to prefer a different sibling tool, so it falls short of a full when/when-not declaration.

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.