Skip to main content
Glama

history

Read-onlyIdempotent

Walk an item's full lifecycle by ID: every declare, revise, and retraction with sequence, hash, and author. Read-only; useful before revising a retracted item.

Instructions

Code lane: walks one item's whole life by id, oldest first - every declare, revise and retraction, each with its sequence number, revision hash and author. Use get instead for only the current version. Read-only; nothing is ever deleted from the log, so this still answers for a retracted item - read it before you revise or retract again. Replies with one line per revision, or the plain 'no history for id X' for an unknown id (not an error).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe id whose whole life to walk.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover readOnlyHint/idempotentHint/destructiveHint, but the description adds valuable behavior beyond them: nothing is ever deleted from the log, it still answers for retracted items, output is one line per revision ordered oldest-first, and an unknown id returns plain text 'no history for id X' rather than an error. The non-error response for unknown ids is exactly the kind of edge-case behavior an agent needs to know. No contradiction with annotations.

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?

Four dense sentences and every one earns its place: core function, sibling routing, persistence/read-only caveat, and output format. Slightly cryptic 'Code lane:' prefix and slightly metaphorical 'walks one item's whole life' phrasing cost a point, but nothing is redundant.

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 single-required-param read-only tool with no output schema, the description fully compensates: it describes the reply format, ordering, content, unknown-id behavior, and mutation-safety context. There is no meaningful gap an agent would need to resolve elsewhere.

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% — the id parameter already has a description, so baseline is 3. The description adds meaning beyond the schema by explaining what happens with an unknown id (a plain string reply, not an error), which affects how the agent interp rets the response for that parameter.

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 + resource: 'walks one item's whole life by id, oldest first' with concrete content (every declare, revise, retraction; sequence number, revision hash, author). It clearly distinguishes itself from the sibling 'get' by explicitly saying get returns only the current version, so an agent can tell them apart instantly.

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

Usage Guidelines5/5

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

Gives explicit routing guidance: 'Use get instead for only the current version' names the alternative and the condition selecting it. It also provides a concrete use case — 'read it before you revise or retract again' — telling the agent when to call this tool in a workflow.

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