Skip to main content
Glama

add_comment

Adds a comment to a Jira issue by issue key, converting markdown input to HTML automatically so AI assistants can post formatted updates.

Instructions

Add a comment to a Jira issue. Markdown input will be automatically converted to HTML.

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

Input Schema

NameRequiredDescriptionDefault
commentYesThe comment text to add (markdown will be converted to HTML)
issueKeyYesThe issue key to add comment to (e.g., PROJ-123)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description must carry the whole behavioral burden. It does disclose one real trait beyond the schema's bare types—that markdown input is auto-converted to HTML, which affects how the agent should format input—but says nothing about permissions, side effects like watcher notifications, error behavior on a nonexistent key, or what is returned.

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?

Two short sentences, front-loaded with the action and resource, followed immediately by the one non-obvious input transformation. Nothing is redundant or padded.

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 simple two-parameter write tool with no output schema, the definition covers purpose and input transformation adequately. It is still missing failure modes and confirmation of what a successful call yields (comment ID, URL), which matter for a mutation with no annotations to fall back on.

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 both parameters (issueKey, comment) are already fully documented in the schema, including the PROJ-123 example and the markdown note. The description adds no format or constraint detail beyond that, so the baseline of 3 applies.

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 gives a specific verb and resource: 'Add a comment to a Jira issue', which lets an agent distinguish this from add_bitbucket_comment based on the named target system. It stops short of explicitly naming the sibling it is not, 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 when-to-use guidance, no prerequisites (e.g., issue must exist, permissions required), and no mention of alternatives such as add_bitbucket_comment or summarize_jira_ticket. The usage context is only implied by the purpose statement.

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