Skip to main content
Glama

A document's versions

history
Read-only

Earlier or previous versions of a document or a file, and what it looked like last week or before a change: every version, who wrote it, when, and from where; a file's with its type and size. With a version number, it also returns that version's text (a text file's first 400 lines).

Input Schema

NameRequiredDescriptionDefault
addressYesThe document or file.
projectNoThe project's slug, from open_project, like acme. Not needed when a § address names the project, or when the person is on one project.
versionNo

Output Schema

NameRequiredDescriptionDefault
textNo
addressYes
versionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description still adds real context: it states that every version is returned with author/time/origin, and that supplying a version number additionally yields that version's text, truncated to the first 400 lines for text files — useful disclosure not present in the structured fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The useful content is front-loaded, but it is delivered as one run-on sentence with a grammatical break ('a file's with its type and size') that forces re-reading. Tightening into two or three clean sentences would improve it without losing anything.

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?

An output schema exists, so return shape need not be described, and annotations cover the read-only profile. The description adequately covers metadata, version selection and truncation; only minor gaps remain, such as whether access to version history requires specific permissions or whether the full history is always paginated.

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 67% and the 'version' parameter has no schema description at all; the description compensates by explaining exactly what happens when a version number is supplied (returns that version's text, first 400 lines). 'address' is echoed as 'the document or a file', adding little, but the version behavior is a genuine semantic gain.

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 makes clear that 'history' returns a document's or file's earlier versions with author, timestamp and origin, plus file type/size. That is a specific resource with concrete contents, well beyond the bare name 'history'. It never distinguishes itself from siblings such as what_changed or read, so it stops short of a 5.

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 only implied by the phrase 'what it looked like last week or before a change', which suggests looking back before an edit, but there is no explicit when-to-use, when-not, or named alternative. An agent must infer that what_changed or read are the other options.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources