Skip to main content
Glama

Audit Work Claim

audit_work_claim
Idempotent

[Ledger product, entitlement: ledger] Recompute-audit an agent work claim: re-derive a deterministic SHA-256 digest from the claimed inputs and check it against the claimed digest. Returns GREEN (matches), RED (tampered), or UNVERIFIED (no claim supplied). Replay, not opinion. 3 free calls/day, then entitlement 'ledger'.

Input Schema

NameRequiredDescriptionDefault
inputsYesThe work/claim payload to recompute a digest over.
claimed_digestNoThe agent's claimed SHA-256 digest to verify against. Omit for UNVERIFIED + the recomputed digest.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations cover idempotency and destructiveness, and the description adds real value beyond them: the exact return taxonomy (GREEN/RED/UNVERIFIED), the free-tier limit (3 calls/day), and entitlement gating. The rate-limit disclosure is genuinely useful. It would reach a 5 if it clarified why readOnlyHint is false for what reads like a compute/verify operation.

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 product tag then the operation, and every clause (return codes, rate limit) earns its place. The bracketed entitlement prefix is slightly noisy but functional.

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

Completeness4/5

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

No output schema exists, so the description must explain returns, and it does so precisely with the three status codes. With 100% schema coverage and clear behavior, an agent has what it needs; only minor gaps (nested inputs format expectations) remain.

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 schema itself documents omitting claimed_digest for UNVERIFIED plus the nested inputs payload. The description adds no syntax or format detail beyond that, so the 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?

States a specific verb and resource ('Recompute-audit an agent work claim') and pinpoints the exact operation (re-derive SHA-256 digest from inputs and compare to claimed digest). Clearly distinguishable from siblings like verify_settlement or forge_verify, which audit other artifacts.

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?

Explains the operating condition clearly: supply a claim to get GREEN/RED, omit it for UNVERIFIED. Context for when to use it is implied well by 'Replay, not opinion.' Does not explicitly enumerate alternatives among the many sibling verify/audit tools, so 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.