Skip to main content
Glama
aside-combination-jev

aside-combination-jev

Verify receipts

verify_receipts
Read-onlyIdempotent

Verifies JSONL receipts offline and read-only by checking hash chains, sequence order, required fields, secret leakage, event ordering, and terminal-result consistency to audit browser task runs.

Instructions

Verify a JSONL receipt ledger offline (read-only, no network): checks each record's hash chain, per-run sequence, required fields, secret leakage, event ordering, and that every run ends in exactly one terminal_result consistent with its completion_verdict. Returns {valid, records_checked, runs_checked, first_error_line, error_code, head_hash}; a missing or empty file yields valid=false. Use after run_safe_browser_task to audit what a host actually did.

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": {
      "path": "<path>"
    },
    "name": "verify_receipts"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesFilesystem path (absolute or relative to the server's working directory) of the .jsonl receipt file to verify.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, and the description adds real substance on top: the specific invariants validated, the offline/no-network behavior, and the edge case that a missing or empty file yields valid=false. It also documents the return keys, so an agent knows what success and failure look like.

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?

Front-loads the purpose, follows with the enumerated checks, return shape, and the failure edge case. The check list is a long clause but each item carries distinct information; no filler sentences.

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 one-parameter verification tool with no output schema, the description supplies the validation scope, the failure semantics, the returned fields, and the workflow context. Nothing needed to invoke or interpret it is missing.

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 coverage is 100% and the single path parameter is fully documented in the schema, including relative-path resolution against the server working directory, so the description adds little. A baseline 3 is appropriate when the schema already does the work.

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 resource ('Verify a JSONL receipt ledger offline') and enumerates exactly what is checked: hash chain, per-run sequence, required fields, secret leakage, event ordering, and terminal_result/verdict consistency. It is clearly distinguishable from the sibling tools run_safe_browser_task and check_health.

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 explicit placement in the workflow: 'Use after run_safe_browser_task to audit what a host actually did,' plus the constraint that it is offline and read-only with no network. It does not state when not to use it or how it relates to check_health, but the positive guidance is unambiguous.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools