Skip to main content
Glama

Verify evidence hash

evidence_verify
Read-only

Verify evidence integrity by recomputing its SHA-256 hash and comparing it with the recorded value to detect tampering.

Instructions

Recompute the SHA-256 of stored evidence and compare it with the record.

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": {
      "evidence_id": "<evidence_id>"
    },
    "name": "evidence_verify"
  }
}

Input Schema

NameRequiredDescriptionDefault
evidence_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description is consistent with a pure computation over stored data. It adds the concrete mechanic (recompute SHA-256, compare against the record), but says nothing about what a mismatch means, whether verification state is persisted, or whether any permissions are needed.

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?

A single front-loaded sentence with zero filler, and the operation is stated before the comparison. It is efficient but so terse that it borders on under-specified rather than merely concise.

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?

The tool is simple, read-only, and has an output schema, so return values need not be described here. However, for a verification tool the description should say what the comparison outcome implies and confirm no state changes occur, which it leaves unaddressed.

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% and the description never mentions evidence_id or how a stored evidence record is identified. The parameter name is largely self-explanatory, but the description does not compensate for the documentation gap as required at this coverage level.

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 (recompute) plus the algorithm (SHA-256) and the operation (compare with the record) applied to stored evidence. An agent can tell this is an integrity-verification action distinct from retrieval siblings like evidence_get or evidence_list, though no sibling is named.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use guidance, no prerequisites, and no mention of alternatives. The purpose implies an integrity check, but the agent must infer the situation that warrants verifying a hash rather than simply fetching the evidence.

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