Skip to main content
Glama

Evidence history

evidence_history
Read-onlyIdempotent

Retrieve retained revisions for an evidence ID in ascending order to review corrections, retractions, and restorations; paginate by passing next_after_revision as after_revision.

Instructions

List the retained revisions of one evidence ID in ascending order, including corrections, retractions and restorations. Results come in pages: pass next_after_revision from a response as after_revision to read the next page.

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": {
      "id": "<id>"
    },
    "name": "evidence_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesEvidence ID, as returned in search results.
limitNoMaximum number of revisions in this page.
after_revisionNoReturn revisions after this number; 0 starts at the first.

Output Schema

NameRequiredDescriptionDefault
revisionsYes
next_after_revisionYesPass as after_revision to read the next page; null on the last page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is lower; the description nonetheless adds real behavior: results are ordered ascending, the set includes corrections/retractions/restorations, and pagination is cursor-style via a response-supplied value. It does not say what happens for an unknown ID or whether 'retained' excludes purged revisions explicitly.

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?

Two tight sentences with zero filler: scope and ordering first, pagination mechanics second. Front-loaded and directly actionable.

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

Completeness4/5

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

With annotations, a fully documented schema, and an output schema, the description covers what an agent needs to call and page through correctly. Minor gaps (error behavior for an invalid ID, whether 'retained' omits purged records) keep it from being exhaustive.

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%, giving a baseline of 3, but the description adds genuine meaning by linking the input parameter after_revision to the response field next_after_revision — a cross-reference the schema alone does not make. The id/limit semantics remain the schema's job.

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 opens with a specific verb and resource: 'List the retained revisions of one evidence ID,' plus ordering (ascending) and content scope (corrections, retractions, restorations). This is well beyond tautology and clearly separates it from siblings like search_evidence or export_evidence_packet, though it never names an alternative.

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 rather than stated: you call this when you already have an evidence ID and need its revision trail. There is explicit procedural guidance for pagination (feed next_after_revision back as after_revision), but no explicit when-not-to-use or comparison against sibling tools.

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