Skip to main content
Glama

Show recent changes

drive_recent_changes
Read-onlyIdempotent

What changed under a path. Default: files added or modified since since (ISO date or relative like 7d, 12h, 2w; default 7d), newest first, from one complete walk (changedAt = newer of original mtime and upload time).

Instructions

What changed under a path. Default: files added or modified since since (ISO date or relative like 7d, 12h, 2w; default 7d), newest first, from one complete walk (changedAt = newer of original mtime and upload time). With snapshot:'diff' | 'save' (needs PROTON_DRIVE_INDEX=1, which keeps a plaintext file list in the private local index folder): compares against the previous snapshot of that path and reports added, removed, modified and moved (same size and claimed sha1) files; 'save' then stores the current state as the new baseline. An incomplete walk never overwrites a snapshot and omits removed/moved. Changes nothing on Drive.

Input Schema

NameRequiredDescriptionDefault
pathNoFolder (default /my-files).
limitNoMax items per list (default 50).
sinceNoISO date or relative age (7d, 12h, 2w); default 7d. Not with snapshot.
refreshNoIgnore the cached walk.
snapshotNo'diff' compares with the previous snapshot; 'save' compares, then stores the current state. Needs PROTON_DRIVE_INDEX=1.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.8.0

TDQS

A4.4/5.0
Behavior5/5

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

Beyond readOnlyHint/idempotentHint, it discloses that results come from one complete walk, defines changedAt as the newer of original mtime and upload time, warns that an incomplete walk never overwrites a snapshot and omits removed/moved entries, and notes the plaintext file list lives in a local index folder. The closing 'Changes nothing on Drive' explicitly reconciles the mutation-flavored 'save' mode with the readOnly annotation rather than contradicting it.

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?

A single dense paragraph that front-loads the default behavior and then the opt-in snapshot mode. Every clause carries information — date grammar, ordering, baseline semantics, failure behavior — with no repetition of the title or filler.

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 five-parameter, all-optional read tool with no output schema, the description covers mode selection, ordering, limit scope, prerequisite configuration, and degenerate-case behavior. An agent can choose a mode and call it correctly without consulting anything else.

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 100%, so baseline is 3, but the description adds real meaning: the `since` grammar plus its 7d default, and the precise semantics of 'diff' vs 'save' including the same-size-and-sha1 heuristic for detecting moves. The interaction rule that `since` cannot be combined with snapshot is reinforced beyond the schema's brief note.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening clause 'What changed under a path' states a specific verb+resource and immediately separates this from plain listing tools like drive_list or drive_tree. The two operating modes (default time-window scan vs. snapshot diff) are named concretely. It stops short of naming a sibling alternative explicitly, so it lands at 4 rather than 5.

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?

It gives a clear decision rule: omit snapshot for a since-based change feed, use snapshot:'diff' to compare against a stored baseline, and 'save' to also rebaseline. The prerequisite (PROTON_DRIVE_INDEX=1) and the mutual exclusion of `since` with snapshot are stated. No explicit when-not guidance or named sibling alternative, so not a 5.

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