Skip to main content
Glama

Get file history

get_file_history

Retrieve a file's history with teammate rationale and note verification statuses. Use it to check whether past notes still apply before editing.

Instructions

Get the rationale trail for a specific file - what teammates did to it and why, before you continue it. Each note carries an anchorStatus: 'verified' (file unchanged since the note), 'changed' (modified since - re-read the file before trusting the note), 'gone' (deleted), 'unknown'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filePathYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.2

TDQS

A4.1/5.0
Behavior4/5

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

Since no annotations are provided, the description carries the full burden of behavioral disclosure. It goes beyond the tool name by explaining the anchorStatus values and their practical implications ('re-read the file before trusting the note'), which is genuinely useful. It does not mention side effects or error behavior, but 'get' implies a read operation.

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 sentences with the core purpose front-loaded and the status semantics compactly explained in the second. Every phrase contributes information; no padding or restatement of the title.

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 simple one-parameter read tool, the description covers purpose, usage timing, and the key return nuance (anchorStatus). The main gap is the lack of filePath semantics and a fuller response shape, but the definition is sufficient for selection and likely invocation.

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

Parameters2/5

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

The only parameter, filePath, has no schema description (0% coverage), so the description was expected to compensate. It says 'a specific file' but provides no path format, relative/absolute distinction, or workspace context. An agent would still need to guess the accepted path form.

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 ('Get') and resource ('rationale trail for a specific file'), and clearly defines what the history contains: what teammates did and why. This distinguishes it from sibling tools like get_task_history or check_file_before_edit, which target different resources or current state.

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?

Explicitly positions the tool as something to use 'before you continue' a file, which gives a clear trigger for invocation. It does not name alternative tools or explicitly say when not to use it, but the contextual cue is strong enough for most routing.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/imortis/teamhub-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server