Skip to main content
Glama

workspace_file_history

Read-onlyIdempotent

Retrieve a shared workspace file's version history, including current and previous versions with writers and times, to recover overwritten content or investigate unexpected changes.

Instructions

Get the version history of a shared workspace file: the current version plus up to 10 previous versions, with writers and times. Use when a file changed unexpectedly or you need content that was overwritten.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>"
    },
    "name": "workspace_file_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesWorkspace-relative path of the file whose history you want.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.5.12
    • addedInput schema / properties / path / description
      Added value: +"Workspace-relative path of the file whose history you want."
  2. First observedv0.5.11

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world, non-destructive behavior, so the safety profile is covered. The description adds value beyond that by disclosing the return shape (current version plus up to 10 prior versions, each with writer and time), effectively communicating the result cap. It does not cover behavior when the path is missing or has no history, keeping it off a 5.

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, front-loaded with what is returned and its limits, then the use case. No filler or redundant restatement of the tool name.

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-parameter, read-only tool with full annotation coverage, the description supplies the return content and limits that the missing output schema would otherwise leave unknown. Nothing required to call it correctly is absent.

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?

There is a single parameter with 100% schema description coverage, and the schema already says 'workspace-relative path of the file.' The description adds no syntax, path examples, or format detail beyond that, so the baseline 3 applies.

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 and resource ('Get the version history of a shared workspace file') and immediately bounds the scope: 'the current version plus up to 10 previous versions, with writers and times.' That resource noun distinguishes it from plain file-read siblings like workspace_get_file without needing to name them.

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?

Gives concrete when-to-use triggers: 'when a file changed unexpectedly or you need content that was overwritten.' It does not name an alternative tool or state when not to use it, so it falls short of the explicit routing seen at the top of the scale.

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