Skip to main content
Glama

acceptance-receipt

Signed acceptance receipt: which deterministic tests a delivered output passed — Runs your deterministic acceptance tests (equals, exists, absent, type, contains, length and number ranges, one-of, sha256, a JSON Schema subset) against a sub-agent's or vendor's JSON output at JSON Pointer paths, and returns per-test results plus a hub-signed receipt over the output hash, the tests hash and the results. Use it before paying for delegated work or releasing the next step. It certi

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": {
      "output": "<output>",
      "tests": "<tests>"
    },
    "name": "acceptance-receipt"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNoFree text bound into the receipt, e.g. the task id.
testsYes
outputYesThe delivered JSON (at most 262144 bytes as JCS).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/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 discloses useful behavior — tests are deterministic, paths are JSON Pointers, and the response includes per-test results plus a signed receipt over the output hash, tests hash and results — but omits whether receipts are persisted, what signing authority is needed, and whether a failed test errors the call or returns in-band results. The final sentence is truncated ('It certi'), cutting off what may have been the certification guarantees.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The lead is front-loaded and dense, but it is structured as a fragment ('Signed acceptance receipt: which deterministic tests...') and the text is truncated mid-word at the end, so the final sentence earns nothing. Information is packed efficiently but the abrupt cut is a real defect.

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?

With no output schema, the description must explain return values, and it partially does (per-test results plus a signed receipt over three hashes). However, the truncation removes the certification/verification guarantees, and there is no mention of failure semantics, size-limit behavior, or whether the receipt is retrievable later — gaps for a receipt-producing tool.

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 description coverage is 67%, so the schema already documents label, path and value. The description's enumeration of test kinds largely restates the kind enum rather than adding new semantics, and it says nothing about how min/max/id interact with the kinds or how the size cap is surfaced. Baseline 3 is appropriate.

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 names a specific verb and resource — runs deterministic acceptance tests against a delivered JSON output and returns per-test results plus a hub-signed receipt. It enumerates the supported test kinds (equals, exists, absent, type, contains, ranges, one-of, sha256, schema), which makes it clearly distinguishable from a plain hash-receipt tool.

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?

It gives an explicit trigger: 'Use it before paying for delegated work or releasing the next step,' which tells the agent exactly when this tool belongs in a workflow. It does not name an alternative or state when not to use it, which keeps it short of a 5.

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