Skip to main content
Glama

track_changes

Monitor manuscript modifications by comparing current files against previous versions using timestamps, file patterns, and detail levels to track writing progress.

Instructions

Show what changed since timestamp

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_pathNoPath to manuscript directory (defaults to current directory)
sinceNoTimestamp or relative time
scopeNoFile scope pattern
summary_levelNoSummary detail levelfile

Implementation Reference

  • The core handler function for the 'track_changes' tool. It extracts 'since' and 'scope' from args, fetches current writing stats, and returns a structure with the since timestamp, an empty changes array (placeholder for actual diff logic), and stats.
    private async trackChanges(args: Record<string, unknown>) { const since = args.since as string | undefined; const scope = args.scope as string | undefined; const stats = await this.writersAid.getStats({ scope }); return { since, changes: [], stats, }; }
  • The input schema definition for the 'track_changes' tool, including parameters like project_path, since, scope, and summary_level.
    { name: "track_changes", description: "Show what changed since timestamp", inputSchema: { type: "object", properties: { project_path: { type: "string", description: "Path to manuscript directory (defaults to current directory)" }, since: { type: "string", description: "Timestamp or relative time" }, scope: { type: "string", description: "File scope pattern" }, summary_level: { type: "string", enum: ["section", "file", "line"], description: "Summary detail level", default: "file", }, }, }, },
  • The switch case in handleTool method that registers and dispatches to the trackChanges handler for the 'track_changes' tool.
    case "track_changes": return this.trackChanges(args);

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/xiaolai/claude-writers-aid-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server