Filesystem watch_strategy plugin for MCPG (dev.mcpg.watch.file) — resource-change ticks on path create/modify/remove.
Single tool 'watch' has a clear, action-oriented name and a detailed description (180+ chars) explaining what it does, when to use it, and the backing implementation. Input schema is well-structured with typed parameters (string, boolean, array of enums) and descriptions for each. However, the tool lacks output schema documentation, the description mentions 'resource-change ticks' and references WatchEvent but does not formally document what fields the emitted event contains or what the agent should expect. Error handling is present (InvalidSpec, Subscribe errors) but lacks recovery guidance. The tool is read-only and non-destructive, reducing risk, but the output contract is incomplete.
Establishes a filesystem watch on a specified path (file or directory) and emits resource-change ticks when the path is created, modified, or removed. Backed by notify (inotify/kqueue/ReadDirectoryChanges). The watch spec includes path, recursive flag, and event_kinds filter.
Output schema not documented. Description mentions 'resource-change ticks' and WatchEvent but does not specify what fields the emitted event JSON contains or what structure the agent should expect.
Error messages lack recovery guidance. InvalidSpec and Subscribe errors return raw error text but do not suggest next steps (e.g., 'Check that the path exists and is readable').
Transport mechanism unknown. Source code shows Rust plugin using mcpg-plugin-sdk but does not reveal whether the plugin communicates via HTTP, STDIO, or another transport. Cannot assess remote accessibility.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 62 | 2026-07-28+ | v2 |