Skip to main content
Glama

guard_evidence

Read-onlyIdempotent

Retrieve recorded verification runs to recover a past evidence id, exit code, and stored digest without re-running the command.

Instructions

Read recorded verification runs.

Use it to recover a past evidence id, its exit code, and the stored digest instead of re-running the command. limit is an int, default 5, clamped to 0–20, and applies only when evidence_id is omitted. evidence_id is an optional string, default None. With an id, it returns the full single-run report (the same shape as guard_verify, including why/fix for FAIL and UNTRUSTED). Without an id, it returns PC evidence · last N of TOTAL, one line per run, the last digest line of any non-ok row, and a Nudge. Side effects: none. It does not create .agent-guard/ and does not execute commands.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "guard_evidence"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many newest verification runs to list when evidence_id is omitted. Integer. Default 5. Clamped to 0–20; 0 returns the header and nudge only.
evidence_idNoOne evidence id to render in full, such as ev-0007. String or omitted. Default None, which lists recent runs. ev-7 and ev-0007 are the same id. An unknown id returns an error line.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv3.3.1
    • addedInput schema / properties / evidence_id / description
      Added value: +"One evidence id to render in full, such as ev-0007. String or omitted. Default None, which lists recent runs. ev-7 and ev-0007 are the same id. An unknown id returns an error line."
    • addedInput schema / properties / limit / description
      Added value: +"How many newest verification runs to list when evidence_id is omitted. Integer. Default 5. Clamped to 0–20; 0 returns the header and nudge only."
  2. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, but the description adds materially more: explicit side-effect negation including that it will not create `.agent-guard/` and will not execute commands, plus concrete output shapes for both the single-run and list modes. It also discloses the Nudge appended to list output and the exit-code/digest recovery behavior.

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?

Purpose is front-loaded and every sentence is functional, but there is mild redundancy between "Side effects: none" and the following negations, and the output-format paragraph is dense. It remains readable and wastes little.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter read tool with full annotation coverage and an output schema, the description covers purpose, mode selection, side effects, and failure behavior (unknown id returns an error line). Nothing an agent needs to invoke it correctly is missing.

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, but the description adds the interaction semantics the schema only implies: `limit` applies only when `evidence_id` is omitted, and with an id you get the full single-run report. The clamping range and 0-behavior largely duplicate the schema, so it does not fully earn a 5.

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?

The opening sentence gives a specific verb and resource ("Read recorded verification runs") and the description immediately positions it against re-running the command, naming `guard_verify` as the equivalent report shape. An agent can distinguish this read-back tool from the verification tool without opening either schema.

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

Usage Guidelines4/5

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

It states the selection condition clearly: use this to recover a past evidence id, exit code, and digest instead of re-executing. That is explicit guidance toward this tool over the run-it-again path, though it stops short of stating when NOT to use it (e.g., when no prior run exists).

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