Skip to main content
Glama

Comment on a task

add_comment

Append a signed markdown note to a task's comments without changing earlier comments; @username mentions notify users. Requires editor access and returns the commented task ID.

Instructions

Add a markdown note to the end of a task's comments, signed with your agent name; earlier comments are never changed. @username in the text notifies that user. Needs editor access to the task. Returns "commented on #id". For a note that goes with a status or field change, use comment= on save_task instead.

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": {
      "id": "<id>",
      "text": "<text>"
    },
    "name": "add_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYestask id
textYesmarkdown, not empty

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.4.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only declare that it is a non-readonly, non-destructive, non-idempotent write. The description goes well beyond them: append-only semantics ('earlier comments are never changed'), the automatic agent-name signature, the @username notification side effect, the editor-permission requirement, and the return string 'commented on #id'.

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

Conciseness5/5

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

A single dense sentence chain with no filler: core behavior first, then side effects, then prerequisite, then return value, then the alternative-tool pointer. Every clause carries information an agent would otherwise have to guess.

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

Completeness5/5

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

For a two-parameter write tool with no output schema, the description covers behavior, side effects, permissions, and return value. Nothing needed to call it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so 'id' and 'text' are already documented, setting a baseline of 3. The description adds real meaning for 'text' beyond 'markdown, not empty' by explaining that @username mentions trigger notifications and that a signature is appended automatically.

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

Purpose5/5

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

States a specific verb and resource ('Add a markdown note to the end of a task's comments') plus the scope detail that it is signed with the agent name. An agent can distinguish this from save_task or get_task without opening any schema.

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

Usage Guidelines5/5

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

Explicitly routes away from this tool when a note accompanies a status or field change, naming the alternative ('use comment= on save_task instead'). Also states the access prerequisite ('Needs editor access to the task'), so both when-to-use and when-not-to-use are covered.

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