Skip to main content
Glama

record_file_evidence

Hash a project file and record evidence against acceptance criteria, verifying integrity with an expected SHA-256 to produce a pass or fail result.

Instructions

Hash a project file; only an explicit expected hash produces observed pass or fail.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_idYesIdentifier returned by create_task.
criterion_idsYesActive criteria this evidence verifies.
relative_pathYesProject-relative regular file evidence path.
expected_sha256NoExpected SHA-256; omission records an unknown observation.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

The annotations indicate the tool is not read-only and not destructive, but say little else. The description adds the key behavioral rule that pass/fail only occurs with an explicit expected hash. However, it does not clarify what side effects occur when evidence is recorded or what happens in the absence of an expected hash beyond what the schema already states.

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?

The description is a single, front-loaded sentence with no wasted words. It communicates the core operation and the critical conditional behavior efficiently.

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?

With an output schema and fully documented parameters, the tool is largely invocable from the description. However, it lacks contextual guidance about its role in the verification workflow or alternatives like record_attestation, and the phrase 'observed pass or fail' is left somewhat ambiguous without additional context.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description adds meaning by tying expected_sha256 to the pass/fail outcome, reinforcing the conditional behavior. This goes slightly beyond the schema's documentation and helps the agent understand parameter intent.

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?

The description states a specific verb and resource: 'Hash a project file'. It also clarifies the verification semantics with the pass/fail condition, which distinguishes it from generic hashing. However, it does not explicitly mention 'record evidence' or differentiate itself from sibling tools like record_attestation.

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?

The description implies usage by explaining when pass/fail is observed, but it provides no explicit guidance on when to choose this tool over alternatives such as record_attestation or assess_completion. There are no when-to-use or when-not-to-use statements.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/efficjump/doneproof-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server