Skip to main content
Glama

add_comment

Add a Markdown comment to an issue or to a project (give exactly one of issue/project).

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

Input Schema

NameRequiredDescriptionDefault
bodyYescomment text in Markdown; @Name mentions a member and notifies them
issueNoissue identifier or id, e.g. "WEB-12"
authorNoignored when you are signed in: the comment is signed with your own name
projectNoproject key or id, e.g. "WEB"

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / author / description
      Added value: +"ignored when you are signed in: the comment is signed with your own name"
    • addedInput schema / properties / body / description
      Added value: +"comment text in Markdown; @Name mentions a member and notifies them"
    • addedInput schema / properties / issue / description
      Added value: +"issue identifier or id, e.g. \"WEB-12\""
    • addedInput schema / properties / project / description
      Added value: +"project key or id, e.g. \"WEB\""
  2. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, openWorldHint=false, so the safety profile is covered. The description adds only the targeting cardinality rule; it says nothing about notification side effects, permissions, or what is returned after creation.

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 sentence with the action first and the cardinality constraint in a tight parenthetical. Nothing is redundant or padded.

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

Completeness4/5

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

For a simple four-parameter write tool with full schema coverage and annotations, this covers what an agent needs to call it correctly. The only gap is the absence of any statement about the result (e.g., the created comment's identifier), which matters somewhat since no output schema exists.

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 the baseline is 3, but the description contributes meaning the schema does not: the exactly-one-of rule between 'issue' and 'project' is an actual invocation constraint not encoded in the JSON schema. That is meaningful added value.

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 names a specific verb (Add) and resource (Markdown comment) and qualifies the two possible targets, issue or project. It is clear enough to distinguish from delete_comment/update_comment siblings, though it never explicitly names those alternatives.

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?

It states the key selection constraint — 'give exactly one of issue/project' — which is genuine when-to-use guidance. It does not mention when to prefer update_comment or delete_comment, nor prerequisites such as needing access to the target.

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.