Skip to main content
Glama

SML PreSign

Verify a PreSign receipt

presign_verify_receipt
Read-only

Check the Ed25519 signature on a PreSign verdict receipt. Free.

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": {
      "receipt": "<receipt>"
    },
    "name": "presign_verify_receipt"
  }
}

Input Schema

NameRequiredDescriptionDefault
receiptYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Consistent with readOnlyHint=true: 'Check' is a pure read and 'Free' usefully discloses that no x402 payment is required, which annotations do not cover. It does not disclose the failure mode, i.e. whether an invalid signature raises an error or returns a falsey result, nor any rate limits or size constraints on the receipt.

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?

Two short sentences, front-loaded with the operation and with no wasted clauses; 'Free' earns its place in a payment-gated tool family. The terseness is close to under-specification for a nested-object parameter, which keeps it off a 5.

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?

For a tool taking an undescribed nested receipt object with no output schema, the description should say what is returned (boolean, verdict echo, error) and what a valid receipt looks like. Neither is present, leaving the agent unable to predict the result or construct the argument beyond guessing.

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?

The single parameter is an undescribed nested object at 0% schema coverage, so the description must carry the load. It partially does by naming it a 'PreSign verdict receipt', hinting the object should be a verdict receipt rather than arbitrary JSON, but it gives no indication of required internal fields or shape.

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?

States a specific verb and resource: 'Check the Ed25519 signature on a PreSign verdict receipt.' That is concrete enough to separate it from screening, simulation, and verdict-fetching siblings, and the tie to 'verdict receipt' implies it consumes presign_verdict output. It does not explicitly name a sibling it is not, so it falls short of a 5.

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

Usage Guidelines2/5

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

No guidance on when to call this versus alternatives such as presign_verdict or presign_preflight_x402, and no prerequisites (where a receipt comes from, whether it must be unexpired). The only contextual cue is the word 'Free', which signals no payment is charged but is not usage guidance.

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