Skip to main content
Glama

Delete error comment

delete_error_comment
DestructiveIdempotent

Delete an internal error comment or status note. Requires the author or an organization admin. A deleted free comment leaves a "comment deleted" placeholder; a deleted note is removed and its change can take a new note. It cannot be restored. Reuse requestId only for an identical retry.

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": {
      "projectId": "<projectId>",
      "groupId": "<groupId>",
      "requestId": "<requestId>",
      "commentId": "<commentId>"
    },
    "name": "delete_error_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
groupIdYes
commentIdYes
projectIdYes
requestIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Adds substantial context beyond the destructiveHint/idempotentHint annotations: authorization requirements, the asymmetric outcome (placeholder for comments, full removal plus note-slot release for notes), irreversibility, and the retry contract for requestId. This is exactly the behavioral detail an agent needs before a destructive call.

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?

Four short sentences, each carrying distinct information: action, permission, consequence, idempotency rule. The destructive consequence is front-loaded and nothing is repeated.

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 destructive mutation with no output schema, it covers permissions, side effects, and retry behavior thoroughly. The remaining gap is the undocumented identifiers, which an agent must infer.

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 coverage is 0%, so the schema only supplies UUID formats with no meaning. The description explains requestId semantics well ('Reuse requestId only for an identical retry'), but says nothing about projectId, groupId, or commentId, leaving three of four parameters 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 ('Delete an internal error comment or status note'), which is enough to distinguish it from delete_ticket_comment. The two sub-resources (free comment vs. note) are also named, though no sibling is explicitly referenced.

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

Usage Guidelines4/5

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

Gives a concrete prerequisite ('Requires the author or an organization admin') and clarifies behavior differences between deleting a comment and a note. It stops short of naming alternatives such as update_error_comment for cases where deletion isn't wanted.

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.