Skip to main content
Glama
xxczaki

Local History MCP Server

by xxczaki

get_file_history

Retrieve the complete history of a file, listing all past snapshots to enable browsing and restoration of any previous version.

Instructions

Get the complete history for a specific file

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filePathYesThe path to the file. Please provide an absolute path (e.g., "/Users/user/project/biome.json") for reliable matching.
Behavior2/5

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

With no annotations provided, the description must cover behavioral traits. 'Complete history' is vague; it does not disclose whether the tool is read-only, what exactly is returned (metadata, content, diffs), or if there are any side effects. This is insufficient for safe invocation.

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?

A single sentence with no fluff, but it misses an opportunity to add value (e.g., specifying it's read-only or the scope of 'complete'). Still concise and front-loaded.

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

Completeness2/5

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

For a history retrieval tool with no output schema and no annotations, the description is too sparse. It does not explain what 'history' entails (e.g., versions, changes), whether it requires permissions, or what the output format looks like. This leaves the agent with significant uncertainty.

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 coverage is 100%, and the schema already describes filePath adequately (including absolute path example). The description adds no additional parameter semantics beyond reiterating the tool's purpose.

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?

The verb 'Get' and resource 'complete history' are specific and clearly state the tool's action. It distinguishes from siblings like get_history_entry (specific entry) and get_history_stats (statistics), making its purpose unambiguous.

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?

The description implies using this tool when you want the full history of a file, but it does not explicitly state when to use alternatives (e.g., get_history_entry for a single version) or mention any prerequisites or restrictions.

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

Install Server

Other Tools

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/xxczaki/local-history-mcp'

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