Skip to main content
Glama

Human Approval Gate

Verify Signed Approval Receipt

approval_verify_decision
Read-onlyIdempotent

Free check of a signed human approval receipt to confirm the decision is genuine, approved, and matches the exact action requested.

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": {
      "decision_receipt": "<decision_receipt>"
    },
    "name": "approval_verify_decision"
  }
}

Input Schema

NameRequiredDescriptionDefault
decision_receiptYesSigned decision receipt object returned by approval_check_status or approval_submit_decision.
expected_action_digestNoOptional SHA-256 action digest to verify the receipt matches the intended action.

Output Schema

NameRequiredDescriptionDefault
okNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare this is read-only, non-destructive, idempotent, and closed-world. The description adds useful behavioral context: the check is free and verifies authenticity, approval status, and exact action matching. It stops short of describing failure behavior or what an invalid receipt produces, but the output schema covers returns.

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

Conciseness5/5

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

A single well-formed sentence with the core purpose front-loaded. Every phrase adds information: free check, signed receipt, human approval, and the three verification conditions.

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?

For a simple read-only verification tool with a complete input schema and an output schema, the description covers what is checked and the cost profile. It could be slightly more complete by noting expected failure behavior or explicitly routing agents from approval_check_status, but nothing essential 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%, so both the signed receipt and optional SHA-256 action digest are already documented. The description reinforces that the receipt must be signed and that the action match matters, but it adds little parameter-level meaning beyond the schema.

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 signed human approval receipt. It also names the verification outcomes—genuine, approved, and matching the exact action requested—which clearly distinguishes this from sibling tools that submit, cancel, or check approval status.

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 phrase 'Free check' implies this is the validation step for a receipt, but the description does not explicitly say when to call it versus approval_check_status or other siblings, nor does it describe when not to use it.

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