Skip to main content
Glama

get_document_history

Read-onlyIdempotent

Get rename history for one workspace document. Caller must be a member of the parent project.

Input Schema

NameRequiredDescriptionDefault
limitNoMax revisions to return (1-50, default 20).
cursorNoLast revision id for cursor-based pagination.
documentIdYesWorkspace document id to retrieve history for.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile is covered. The description adds non-obvious value by disclosing the authorization requirement (parent-project membership) and narrowing scope to rename history only, but it says nothing about pagination behavior or result size.

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 short sentences, zero filler, scope stated first and the access constraint second. Every sentence earns its place.

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?

For a read-only history lookup with full schema coverage and no output schema, the description covers what is returned (rename history) and the access condition. It leaves the shape of returned history entries and pagination expectations unstated, but these are minor given the tool's simplicity.

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

Parameters3/5

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

Schema description coverage is 100%, including limit range/default and cursor semantics, so the schema carries parameter meaning fully. The description adds no additional parameter guidance beyond the schema, making the baseline 3 the correct score.

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?

States a specific verb (get) and resource (rename history for one workspace document), which is clear and actionable. It does not explicitly distinguish itself from close siblings like get_document_metadata, list_document_versions, or get_row_history, so an agent must infer the difference from scope alone.

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?

Gives a precondition ('caller must be a member of the parent project') but no when-to-use framing or named alternatives. An agent can infer this is for retrieving a document's rename history, but nothing routes it away from get_document_metadata or list_document_versions when the intent is ambiguous.

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.