Skip to main content
Glama

delete-comment

Deletes a specified comment from a Jira ticket permanently to remove unwanted or outdated ticket discussion.

Instructions

Delete a comment from a Jira ticket. This cannot be undone

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>",
      "comment_id": "<comment_id>"
    },
    "name": "delete-comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
comment_idYes
ticket_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden. It does disclose the single most important behavioral trait for a destructive tool, that the action is irreversible ("This cannot be undone"), which is genuinely valuable. However, it says nothing about required permissions, whether failure occurs for non-existent comment IDs, 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 with zero waste, and the destructive consequence is front-loaded immediately after the purpose statement. Nothing could be removed without losing information.

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-required-parameter tool with no output schema and no annotations, the description covers the essential core: what is deleted and that it is permanent. It remains incomplete on parameter formats and authorization requirements, which an agent would need to invoke it correctly.

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% for two required parameters. The description implies that one parameter identifies the ticket and the other the comment, but gives no format guidance, such as whether ticket_key should be a project key or an issue key like PROJ-123, or what a comment_id looks like. It therefore does not compensate for the coverage gap.

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 and resource combination ("Delete a comment") and scopes it to "a Jira ticket", which cleanly separates it from the add-comment and edit-comment siblings by verb alone. It does not explicitly name those siblings, so it stops just 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 when-to-use guidance, no mention of prerequisites such as needing delete permission on the ticket, and no reference to alternative tools for modifying comments in a non-destructive way. The only implied usage is the obvious one, that a comment must already exist.

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