Skip to main content
Glama

history_vault

Retrieve a node's commit history newest first to trace edits, moves, renames, or deletion, so you can identify what changed and restore an earlier version.

Instructions

List the commits that changed a node, newest first: {commits: [{commit, author, date, subject}]}. Every vault write is one commit.

Accepts a UID, absolute path or vault-relative path. A UID also works for a node that was deleted: history finds the file it last lived in. A node that was renamed or moved shows the commits of every path it had, also when you pass an old path. A commit "Renamed: old.md → new.md" marks the move.

Use this to find what happened to a node — for example when content is missing after a write — then diff_vault to see the change and restore_vault to undo it.

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": "history_vault"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the burden well: it discloses newest-first ordering, that every write is one commit, that deleted nodes are still resolvable by UID, that renamed/moved nodes aggregate all historical paths, and how renames are marked in commit subjects. It does not cover error behavior for unknown paths or any cost/rate characteristics, which keeps it short of 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.

Conciseness4/5

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

Front-loaded with the operation and return shape, then scoped behaviors, then next-step routing. The rename paragraph is slightly long but each clause conveys a distinct edge case an agent would otherwise get wrong.

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?

No output schema exists, and the description compensates by describing the returned commit objects and their fields. Combined with the path-resolution edge cases, an agent has enough to call this correctly; only the limit semantics and failure modes are unaddressed.

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 0%, so the description must compensate, and it does for the required parameter: 'path' is defined as accepting a UID, absolute path, or vault-relative path, including for deleted and renamed nodes. The 'limit' parameter is left to the schema's default value and gets no explanation in prose.

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?

Opens with a specific verb+resource ('List the commits that changed a node'), specifies ordering (newest first), and even sketches the result shape. It is clearly distinguished from diff_vault and restore_vault, which are named as different operations.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

States the trigger scenario explicitly ('when content is missing after a write') and routes to the correct follow-up tools: diff_vault to inspect, restore_vault to undo. The alternatives are named with the condition that selects them.

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