Skip to main content
Glama

add_comment

Adds a comment to an existing task using its ID and agent name, requiring non-empty content.

Instructions

Add a comment; agent and non-empty content (alias text/comment) are required. One line from get_template("comment-success"/"comment-failure").

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>",
      "agent": "<agent>"
    },
    "name": "add_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
textNoalias of content
agentYesagent name; <=200 code points
commentNoalias of content
contentNoEnglish; fill get_template("comment-success") or "comment-failure"; <=10000 code points

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent, closed-world mutation. The description adds real value beyond them by stating that agent must be supplied, that content cannot be empty, and that the text comes from a get_template("comment-success"/"comment-failure") line. It still says nothing about what the call returns or what happens to the comment afterwards.

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 compact sentences with the required inputs front-loaded after the action, and no filler. The get_template instruction is cryptic in its phrasing but occupies only one clause.

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

Completeness3/5

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

For a mutation tool without an output schema, the description covers the input contract and the template dependency, which is meaningful. Its main shortfall is leaving "id" (the comment's target) undefined and giving no hint of the return value or of which task/project context is implied.

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 coverage is 80%, so the schema already documents the text/comment/content alias group and the 10,000 code-point limit. The description usefully adds the "non-empty" constraint absent from the schema and confirms which parameters are mandatory, but never explains what the required "id" refers to. Baseline 3 applies when the schema is largely self-documenting.

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?

"Add a comment" states a specific verb and resource, and the sentence adds the two required inputs (agent, non-empty content). It does not name a sibling or explain how it differs from, say, update_task, but the resource is unambiguous.

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?

There is no explicit when-to-use guidance or exclusion relative to siblings, and no prerequisites are stated beyond the implicit need for a get_template call. A reader must infer that this should be used when posting commentary rather than modifying a task.

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