Skip to main content
Glama

n2_work_log

Log file changes during work by reporting created, modified, and deleted files with descriptions, so agents can record decisions and preserve project context across sessions.

Instructions

Log file changes during work. Reports created/modified/deleted files with descriptions.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project": "<project>"
    },
    "name": "n2_work_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentNo
projectYesProject name
decisionsNoDecisions made
sessionIdNo
filesCreatedNoFiles created
filesDeletedNoFiles deleted
filesModifiedNoFiles modified

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv9.2.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. 'Log' implies a write, but it does not say whether entries append or replace, whether they are tied to a sessionId, whether an active session is required, or whether errors occur on unknown projects.

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

Conciseness4/5

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

Two tight sentences with the core action front-loaded and no filler; slightly more framing (e.g., session relationship) would have earned the top score without adding bloat.

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?

Seven parameters, no annotations, and no output schema mean the description should explain persistence semantics, required session context, and the non-file parameters. It covers only the three file arrays, so an agent cannot call this confidently in a 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?

The description maps to filesCreated/filesModified/filesDeleted and notes that each file carries a description, but says nothing about the required 'project' parameter, 'agent', 'sessionId', or 'decisions' — leaving roughly a third of the schema unexplained.

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

Purpose4/5

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

The description gives a specific verb and resource (log file changes during work) and enumerates the three tracked categories (created/modified/deleted with descriptions), so an agent can tell it is a work-logging tool rather than a session or knowledge tool.

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?

It never says when to call this versus n2_work_start, n2_work_end, or n2_work_sessions, nor whether an active session or claim is a prerequisite. The agent must infer timing from the sibling names alone.

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