Skip to main content
Glama

AI Code Security Gate

Create Behavior Proof

create_proof

Create a hash-chained SHA-256 proof of an agent action (chained to the key's previous proof). Costs 2¢. Returns proof_hash + timestamp.

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": {
      "action_details": "<action_details>"
    },
    "name": "create_proof"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyNo
action_detailsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-idempotent, non-destructive, closed-world, and the description adds real context beyond them: the proof is hash-chained to the key's previous proof (so ordering and prior state matter) and each call costs 2¢. It stops short of covering failure modes such as a missing prior proof or exhausted budget.

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?

Three short sentences, front-loaded with the core operation, then the chaining constraint, then cost and return. Every sentence carries distinct information with no filler.

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?

Annotations cover the safety profile and an output schema exists, so repeating proof_hash + timestamp is not strictly needed. However, with two parameters at 0% schema coverage, the definition leaves action_details and api_key undocumented everywhere, which is a real gap for a tool whose correctness depends on what is being attested.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry parameter meaning and largely does not: it never says what belongs in action_details. The phrase 'chained to the key's previous proof' at least implies that api_key selects the chain, which is more than the schema offers, but that is thin compensation.

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 ('Create a hash-chained SHA-256 proof of an agent action') and pins down the mechanism (chained to the key's previous proof). No sibling tool in the catalog creates proofs, so the operation is unambiguous without opening the schema.

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?

Usage is implied by the purpose (record an auditable proof for an action) but never stated as guidance: no 'use when', no exclusions, and no pointer to alternatives such as memory_store or spend_record for related bookkeeping. The cost note is a useful decision input but is not usage guidance.

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.