Skip to main content
Glama

MCP Work History Server

by nocoo

log_activity

Track AI tool activity by logging detailed metrics like token usage, costs, and operation duration into daily markdown files for structured work history analysis.

Instructions

Log AI tool activity to a daily worklog file with comprehensive metrics

Input Schema

NameRequiredDescriptionDefault
ai_modelNoAI model used (e.g., 'gemini-2.5-pro', 'claude-3-sonnet', 'gpt-4')
context_lengthNoContext window length used (optional)
cost_usdNoEstimated cost in USD (optional)
duration_msNoDuration of the operation in milliseconds (optional)
error_messageNoError message if operation failed (optional)
input_tokensNoInput tokens used (optional)
log_messageYesDetailed log message describing what was accomplished
output_tokensNoOutput tokens generated (optional)
successNoWhether the operation was successful (optional, defaults to true)
tagsNoTags to categorize the activity (e.g., ['coding', 'debugging', 'refactoring']) (optional)
tokens_usedNoTotal tokens consumed in the request (optional)
tool_nameYesName of the AI tool that performed the activity (e.g., 'Warp', 'Claude Code', 'GitHub Copilot')

Input Schema (JSON Schema)

{ "properties": { "ai_model": { "description": "AI model used (e.g., 'gemini-2.5-pro', 'claude-3-sonnet', 'gpt-4')", "type": "string" }, "context_length": { "description": "Context window length used (optional)", "type": "number" }, "cost_usd": { "description": "Estimated cost in USD (optional)", "type": "number" }, "duration_ms": { "description": "Duration of the operation in milliseconds (optional)", "type": "number" }, "error_message": { "description": "Error message if operation failed (optional)", "type": "string" }, "input_tokens": { "description": "Input tokens used (optional)", "type": "number" }, "log_message": { "description": "Detailed log message describing what was accomplished", "type": "string" }, "output_tokens": { "description": "Output tokens generated (optional)", "type": "number" }, "success": { "description": "Whether the operation was successful (optional, defaults to true)", "type": "boolean" }, "tags": { "description": "Tags to categorize the activity (e.g., ['coding', 'debugging', 'refactoring']) (optional)", "items": { "type": "string" }, "type": "array" }, "tokens_used": { "description": "Total tokens consumed in the request (optional)", "type": "number" }, "tool_name": { "description": "Name of the AI tool that performed the activity (e.g., 'Warp', 'Claude Code', 'GitHub Copilot')", "type": "string" } }, "required": [ "tool_name", "log_message" ], "type": "object" }
Install Server

Other Tools from MCP Work History Server

Related Tools

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/nocoo/mcp-work-history'

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