Skip to main content
Glama

add-comment

Add a comment to a Jira ticket by providing the ticket key and comment body, so teams can record updates directly in Jira.

Instructions

Add a comment to a Jira ticket

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": {
      "ticket_key": "<ticket_key>",
      "body": "<body>"
    },
    "name": "add-comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
ticket_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.7/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. It says nothing about required permissions, whether the comment supports Jira wiki markup, whether watchers are notified, whether the comment can later be edited or deleted, or what the call returns—significant gaps for a mutation tool.

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?

The definition is a single clean sentence with no wasted wording and is front-loaded with the action. It is appropriately brief, though its brevity is partly the source of the gaps elsewhere.

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

Completeness2/5

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

For a mutation tool with no annotations, no output schema, and 0% parameter description coverage, the description is too thin. It should at least cover the parameters and basic behavior such as formatting or permissions to be callable with confidence.

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 0%, so the description must compensate for the two undocumented parameters. It does not mention ticket_key or body at all, leaving their format expectations (e.g., issue key syntax, non-empty body constraints) to be inferred from parameter names and the schema's minLength rules.

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 states a specific verb and resource ('Add a comment to a Jira ticket'), making the action immediately clear. It does not distinguish this from siblings like edit-comment or delete-comment, so it stops 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 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 or when-not-to-use guidance. The description implies the tool creates comments, but an agent gets no help choosing between this and edit-comment or delete-comment, nor any prerequisites such as issue visibility or permissions.

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