Skip to main content
Glama

write_comment

Add a comment to a Targetprocess card or reply to an existing comment using replyTo. Supports text, HTML, and Markdown formats plus private comments.

Instructions

Add a comment to a card, or reply to one with replyTo.

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": "write_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
textYes
formatNoDefault: text, or html when it is HTML; Markdown needs markdown
privateNo
replyToNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv1.2.0
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • changedInput schema / properties / format / description
      Previous value: -"How the text is written: markdown (stored as a Targetprocess Markdown description), html (sent as-is), or text (plain lines). Default: HTML and text starting with <!--markdown--> are kept, anything else is treated as plain text, so Markdown needs format: markdown."New value: +"Default: text, or html when it is HTML; Markdown needs markdown"
    • removedInput schema / properties / id / anyOf
      Removed value: -[
      -  {
      -    "maximum": 9007199254740991,
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  {
      -    "pattern": "^\\d+$",
      -    "type": "string"
      -  }
      -]
    • addedInput schema / properties / id / type
      Added value: +"number"
    • removedInput schema / properties / replyTo / anyOf
      Removed value: -[
      -  {
      -    "maximum": 9007199254740991,
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  {
      -    "pattern": "^\\d+$",
      -    "type": "string"
      -  }
      -]
    • addedInput schema / properties / replyTo / type
      Added value: +"number"
  2. First observedv1.0.1

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden and largely drops it. It does not say whether the comment triggers notifications, who can see it when the `private` flag is set, whether comments can be edited or deleted, or what the call returns on success or failure.

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 short sentence, front-loaded with the primary action and folding the reply variant into the same breath. Nothing is wasted.

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 tool with five parameters, no annotations, and no output schema, this sentence is too thin to be complete. The mutation semantics of `private` and the meaning of `replyTo` are exactly the details an agent would need and they are absent.

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

Parameters2/5

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

Schema description coverage is only 20%, and the one descriptive parameter (`format`) is already fully documented in the schema itself. The description only gestures at `replyTo` (essentially restating the parameter name) and says nothing about `private` or what `id` refers to, leaving two undocumented parameters entirely 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?

States a specific verb and resource ("Add a comment to a card") and covers the reply variant in the same sentence, so an agent understands it writes a comment attached to a card. It does not name or distinguish itself from any sibling tool, so it falls short of a 5.

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

Usage Guidelines3/5

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

Guidance is only implied: the clause "or reply to one with replyTo" tells the agent that threaded replies are a mode of this same tool rather than a separate call. There is no statement of when to prefer it over any sibling write_* tool, no preconditions (e.g., must the card exist, which permission is required), and no exclusions.

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