Skip to main content
Glama

track_progress

Use this tool to log progress and update Memory Bank files via SSH, documenting actions like feature implementations or bug fixes with detailed descriptions.

Instructions

Track progress and update Memory Bank files

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAction performed (e.g., 'Implemented feature', 'Fixed bug')
descriptionYesDetailed description of the progress
updateActiveContextNoWhether to update the active context file

Implementation Reference

  • Handler function that executes the track_progress tool by calling ProgressTracker.trackProgress and returning a response.
    export async function handleTrackProgress(
      progressTracker: ProgressTracker,
      action: string,
      description: string
    ) {
      await progressTracker.trackProgress(action, { description });
      return {
        content: [
          {
            type: 'text',
            text: `Progress tracked: ${action} - ${description}`,
          },
        ],
      };
    }
  • Input schema definition for the track_progress tool, including parameters for action and description.
    export const progressTools = [
      {
        name: 'track_progress',
        description: 'Track progress and update Memory Bank files',
        inputSchema: {
          type: 'object',
          properties: {
            action: {
              type: 'string',
              description: "Action performed (e.g., 'Implemented feature', 'Fixed bug')",
            },
            description: {
              type: 'string',
              description: 'Detailed description of the progress',
            },
            updateActiveContext: {
              type: 'boolean',
              description: 'Whether to update the active context file',
              default: true,
            },
          },
          required: ['action', 'description'],
        },
      },
    ];
  • Registration and dispatching of the track_progress tool in the main tool call handler switch statement.
    case 'track_progress': {
      const progressTracker = getProgressTracker();
      if (!progressTracker) {
        return {
          content: [
            {
              type: 'text',
              text: 'Memory Bank not found. Use initialize_memory_bank to create one.',
            },
          ],
          isError: true,
        };
      }
    
      const { action, description } = request.params.arguments as {
        action: string;
        description: string;
      };
      if (!action) {
        throw new McpError(ErrorCode.InvalidParams, 'Action not specified');
      }
      if (!description) {
        throw new McpError(ErrorCode.InvalidParams, 'Description not specified');
      }
      return handleTrackProgress(progressTracker, action, description);
    }
  • Core implementation of progress tracking, updating progress.md and active-context.md files in the Memory Bank.
    async trackProgress(action: string, details: ProgressDetails): Promise<string> {
      try {
        // Add GitHub profile URL to details if not already present
        if (!details.userId) {
          details.userId = this.userId;
        }
        
        // Update the progress file
        const updatedContent = await this.updateProgressFile(action, details);
        
        // Update the active context file
        await this.updateActiveContextFile(action, details);
        
        // Return the updated progress content
        return updatedContent;
      } catch (error) {
        console.error(`Error tracking progress: ${error}`);
        throw new Error(`Failed to track progress: ${error}`);
      }
    }

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.5/5.0
Behavior2/5

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

With no annotations, the description must fully disclose behavior. It mentions updating Memory Bank files but does not specify which files, the effect of updateActiveContext, or whether the operation is destructive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

The description is very concise (6 words), but it sacrifices clarity for brevity. It is not front-loaded with key information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no annotations, no output schema, and 3 parameters, the description is insufficient. It does not provide enough context for an agent to understand the tool's role in the memory bank workflow.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description adds no extra meaning beyond what the schema already provides.

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

Purpose3/5

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

The description 'Track progress and update Memory Bank files' provides a general purpose but lacks specificity. It does not clearly differentiate from sibling tools like add_progress_entry or update_tasks.

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

Usage Guidelines2/5

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

No guidance on when to use this tool vs alternatives such as add_progress_entry or add_session_note. The description does not mention prerequisites or exclusions.

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