Skip to main content
Glama

SaSame MCP Observatory + Gold Rush Town

factory_verify_receipt

Read-only

Offline-verify a Factory lifecycle station receipt's ed25519 signature (signed_by/signature, added #1475/#1768) against SaSame's trusted issuer key — the same key trust_pubkey and verify_mcp_cert already use. Detects any receipt content altered after signing, or a receipt that was never actually signed by SaSame. Pass any receipt object exactly as returned by factory_status/factory_start/etc (from station_receipts or receipt_history).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
receiptYesA receipt object exactly as returned inside a Factory lifecycle's station_receipts or receipt_history

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / receipt / properties / previous_receipt_sha256 / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / receipt / properties / previous_receipt_sha256 / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  2. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  3. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the read-only nature is covered. The description adds value by disclosing that it works offline (no network calls), that it uses the same trusted key as other tools, and that it detects both altered receipts and receipts never signed by SaSame. This goes beyond the annotation's safety hint and clarifies the operational behavior, though it doesn't specify the return format or error handling.

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 description is two sentences with no redundancy. It front-loads the core purpose, then gives input sourcing instructions. The inclusion of issue numbers (#1475/#1768) is minor noise but not harmful. It's concise and well-structured, though not minimal.

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?

With no output schema, the description fails to explain what the tool returns. The agent doesn't know if the result is a boolean, a structured verification object, or an error. While it states the detection capability, it doesn't specify the output format or any error conditions (e.g., malformed signature). This is a significant gap for a verification tool that the agent needs to interpret.

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?

The schema already provides full coverage of the receipt object (all required fields, types, and a description). The description adds meaningful context by telling the agent where to obtain the receipt (from station_receipts or receipt_history via factory_status/factory_start), which is not in the schema. This compensates for the high schema coverage baseline and helps the agent source the correct input.

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?

The description clearly states the tool's function: it offline-verifies a Factory receipt's ed25519 signature against SaSame's trusted issuer key. It specifies the exact signature fields (signed_by/signature), the cryptographic method (ed25519), and what it detects (tampering or non-original receipts). This is a specific verb+resource pair that distinguishes it from siblings like trust_pubkey (returns the key) and verify_mcp_cert (verifies certificates), even though it doesn't name them directly.

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 provides input usage guidance ('Pass any receipt object exactly as returned by factory_status/factory_start/etc') but does not explicitly say when to choose this tool over alternatives. It references trust_pubkey and verify_mcp_cert as using the same key, which implies a relationship, but there's no clear 'use this when' or 'use that when' statement. The context is helpful but not fully prescriptive.

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.