Skip to main content
Glama

list_file_changes

Read-only

List retained file changes in this work session, newest first, with changeId and undo availability. Tracks file/document writes, edits, moves and explicit copies, bounded to 100 changes/250 MB/30 days per caller (older ones are dropped first). Shell commands, deletes and untracked/oversized changes cannot be undone.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_file_changes"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
deviceIdNoComputer name or id
workSessionIdNoFrom create_work_session

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / deviceId / description
      Previous value: -"Computer name or id; optional with one computer or a default"New value: +"Computer name or id"
  2. Changed2 schema fields changed
    • changedInput schema / properties / deviceId / description
      Previous value: -"Computer name or id from list_devices. Optional with one computer online or a default set."New value: +"Computer name or id; optional with one computer or a default"
    • changedInput schema / properties / workSessionId / description
      Previous value: -"Work session from create_work_session. Pass the same ID on every call in this conversation; omit for legacy unscoped work."New value: +"From create_work_session"
  3. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare readOnlyHint/openWorldHint/destructiveHint; the description adds substantial behavior beyond that: retention limits (100 changes / 250 MB / 30 days per caller, oldest dropped first) and the explicit set of operations that cannot be undone (shell commands, deletes, untracked or oversized changes). It also discloses which change types are tracked (writes, edits, moves, explicit copies).

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?

Three dense sentences with the resource and ordering front-loaded, followed by the retention/undo constraints. No filler and no restatement of the tool name or 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?

With no output schema, the description usefully names the return fields (changeId, undo availability) and sets expectations about retention and undonable operations. The remaining gap is pagination/truncation behavior when the default limit of 50 is hit.

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 67%, so most parameters are already documented. The description still adds meaning: 'bounded to 100 changes' explains why the limit maximum of 100 is a hard ceiling on useful values, and 'per caller' clarifies the isolation that deviceId/workSessionId select. It stops short of describing pagination behavior for the default 50 limit.

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 ('List retained file changes') plus scope ('in this work session') and ordering ('newest first'), and names what each item carries (changeId, undo availability). This is clearly distinguishable from siblings like read_file or list_directory, which deal with content rather than change history.

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?

Usage is implied rather than stated: surfacing changeId and undo availability strongly hints this feeds undo_file_change, and 'in this work session' scopes the call. However, it never explicitly says when to call this versus undo_file_change or read_file, and gives no guidance on when to omit workSessionId versus supplying it.

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.

Resources