Skip to main content
Glama

proofgate_check

Runs fail-closed ProofGate release gates from a config file, returns the check result, and optionally writes a SHA-256 receipt to block releases when verification fails.

Instructions

Run ProofGate fail-closed release gates for a config file. Returns the check dict. Failures and exceptions are isError.

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": {
      "config_path": "<config_path>"
    },
    "name": "proofgate_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
config_pathYesPath to the ProofGate config JSON (proofgate.json).
receipt_pathNoOptional path where the SHA-256 receipt JSON is written.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations at all, the description does useful work by disclosing fail-closed semantics and that failures/exceptions are surfaced as isError rather than raised. However, it omits that supplying receipt_path causes a file to be written (a side effect), plus idempotency, cost, or any permission requirements.

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?

Three short front-loaded sentences with essentially no filler, and the fail-closed/error contract is stated early. 'Returns the check dict' is terse to the point of being slightly opaque, which keeps it from a 5.

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?

For a gate-running tool with no annotations and no output schema, the definition covers the error contract but leaves the return payload ('check dict') undefined and does not mention the receipt file write side effect. Adequate but materially incomplete for an agent invoking it unattended.

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 parameters are already documented, and the description only alludes to config_path via 'for a config file' while never mentioning receipt_path or its effect. Baseline 3 applies since the schema carries the load.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Run ProofGate fail-closed release gates') and scopes it to 'a config file', which is enough to distinguish it from proofgate_init and proofgate_verify_receipt by domain. It stops short of explicitly telling the agent how it differs from those siblings.

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 'fail-closed release gates' implies the usage context (release gating before shipping), but there is no explicit when-to-use or when-not-to-use guidance and no routing to the init or verify_receipt siblings.

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