Skip to main content
Glama

append_object_log

Add progress updates, notes, or activity records to an object's audit trail in Task Trellis MCP. Maintain transparency by documenting decisions, milestones, and execution details for improved tracking and retrospectives.

Instructions

Appends content to an object's log in the task trellis system

Use this tool to add progress updates, notes, or activity records to an object's audit trail. Essential for tracking work history, documenting decisions, and maintaining transparency in task execution.

Log entry purposes:

  • Record progress milestones and status changes

  • Document challenges encountered and solutions applied

  • Note important decisions or changes in approach

  • Track time spent or resources used

  • Log external dependencies or blockers

  • Record completion details and outcomes

Log content guidelines:

  • Use clear, descriptive entries with context

  • Include timestamps (automatically added by system)

  • Reference specific files, commits, or external resources when relevant

  • Note any changes to scope, requirements, or approach

  • Document lessons learned or insights gained

Activity tracking patterns:

  • Starting work: "Started implementation of feature X"

  • Progress updates: "Completed database schema changes, moving to API layer"

  • Blocking issues: "Blocked on external API access, contacted team"

  • Problem resolution: "Resolved memory leak by optimizing data structure"

  • Completion: "Task completed, all tests passing, PR submitted"

The log creates a permanent audit trail that helps with project retrospectives, debugging issues, and understanding work evolution over time.

Input Schema

NameRequiredDescriptionDefault
contentsYesContents to append to the log
idYesID of the object to append log to

Input Schema (JSON Schema)

{ "properties": { "contents": { "description": "Contents to append to the log", "type": "string" }, "id": { "description": "ID of the object to append log to", "type": "string" } }, "required": [ "id", "contents" ], "type": "object" }

Implementation Reference

  • Handler function that parses arguments and delegates to TaskTrellisService.appendObjectLog method. This is the execution logic for the tool.
    export async function handleAppendObjectLog( service: TaskTrellisService, repository: Repository, args: unknown, ) { const { id, contents } = args as { id: string; contents: string; }; return service.appendObjectLog(repository, id, contents); }
  • Tool definition including schema for input (id: string, contents: string). Registered under name 'append_issue_log', but implements object log append.
    export const appendObjectLogTool = { name: "append_issue_log", description: `Appends content to an issue's log in the task trellis system Use this tool to add progress updates, notes, or activity records to an issue's audit trail. Essential for tracking work history, documenting decisions, and maintaining transparency in task execution. Log entry purposes: - Record progress milestones and status changes - Document challenges encountered and solutions applied - Note important decisions or changes in approach - Track time spent or resources used - Log external dependencies or blockers - Record completion details and outcomes Log content guidelines: - Use clear, descriptive entries with context - Include timestamps (automatically added by system) - Reference specific files, commits, or external resources when relevant - Note any changes to scope, requirements, or approach - Document lessons learned or insights gained Activity tracking patterns: - Starting work: "Started implementation of feature X" - Progress updates: "Completed database schema changes, moving to API layer" - Blocking issues: "Blocked on external API access, contacted team" - Problem resolution: "Resolved memory leak by optimizing data structure" - Completion: "Task completed, all tests passing, PR submitted" The log creates a permanent audit trail that helps with project retrospectives, debugging issues, and understanding work evolution over time.`, inputSchema: { type: "object", properties: { id: { type: "string", description: "ID of the issue to append log to", }, contents: { type: "string", description: "Contents to append to the log", }, }, required: ["id", "contents"], }, } as const;
  • src/server.ts:178-188 (registration)
    Registration of the tool in the MCP server's listTools handler.
    createObjectTool, updateObjectTool, getObjectTool, deleteObjectTool, listObjectsTool, appendObjectLogTool, appendModifiedFilesTool, claimTaskTool, getNextAvailableIssueTool, completeTaskTool, ];
  • src/server.ts:266-267 (registration)
    Tool call dispatching in MCP server's callTool handler, mapping 'append_issue_log' to the handler.
    case "append_issue_log": return handleAppendObjectLog(_getService(), repository, args);
  • Core helper function that loads the object, appends the contents to its log array, saves it back to repository, and returns success/error message.
    export async function appendObjectLog( repository: Repository, id: string, contents: string, ): Promise<{ content: Array<{ type: string; text: string }> }> { try { // Load the existing object const existingObject = await repository.getObjectById(id); if (!existingObject) { return { content: [ { type: "text", text: `Error: Object with ID '${id}' not found`, }, ], }; } // Create updated object with new log entry appended const updatedObject = { ...existingObject, log: [...existingObject.log, contents], }; // Save the updated object await repository.saveObject(updatedObject); return { content: [ { type: "text", text: `Successfully appended to object log: ${JSON.stringify( { id, contents, totalLogEntries: updatedObject.log.length }, null, 2, )}`, }, ], }; } catch (error) { return { content: [ { type: "text", text: `Error appending to object log: ${error instanceof Error ? error.message : String(error)}`, }, ], }; } }

Other Tools

Related Tools

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/langadventurellc/task-trellis-mcp'

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