Skip to main content
Glama

Add comment

add_comment

Add a comment to a stuff item, action or project; returns the comment. On a shared project every member, read-only ones too, sees comments and can add them. Comments cannot be edited or deleted, and the count per item and the length are capped (the error says so). Read them with list_comments.

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": {
      "entity_type": "<entity_type>",
      "item_id": "<item_id>",
      "message": "<message>"
    },
    "name": "add_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
item_idYesThe item's id, from `list_items`, `search_items` or `get_item`.
messageYesThe comment text.
entity_typeYesThe kind of item: stuff, action or project.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / entity_type / description
      Added value: +"The kind of item: stuff, action or project."
    • addedInput schema / properties / item_id / description
      Added value: +"The item's id, from `list_items`, `search_items` or `get_item`."
    • addedInput schema / properties / message / description
      Added value: +"The comment text."
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well past the annotations: it discloses that comments on a shared project are visible to and writable by every member including read-only ones, that comments are immutable (cannot be edited or deleted), and that per-item count and length are capped with the error message revealing the limit. Those are exactly the surprising behaviors an agent needs before calling a mutation tool whose annotations only say readOnly=false and destructive=false.

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?

Three tight sentences, front-loaded with the action and return value, then the sharing/immutability constraints, then the read alternative. No filler; every clause carries operational information.

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 three-parameter mutation with no output schema, the description covers what it returns, who can see and add comments, immutability, and the cap failure mode. Nothing an agent needs to invoke it correctly is missing.

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 description coverage is 100%, so `item_id`, `message`, and the `entity_type` enum are already documented. The description restates the entity types ('stuff item, action or project') but adds no format, length, or sourcing detail beyond the schema, so the baseline applies.

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 comment') and enumerates the three supported entity types (stuff item, action, project). It also states the return ('returns the comment') and points to `list_comments` for the read path, so an agent can separate it from the sibling without opening a schema.

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

Usage Guidelines4/5

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

Makes clear this is the write path for comments and names `list_comments` as the companion read tool, which resolves the add-vs-read question. It stops short of explicit when-not guidance (e.g., what to do if the item is closed or a cap is already hit), so it is strong but not exhaustive.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources