Skip to main content
Glama

delete_comment

Destructive

Deletes a specified comment by UUID; owners can remove their own comments, while space admins can delete any comment.

Instructions

Delete a comment. Owners can delete their own; space admins can delete any comment.

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": {
      "comment_id": "<comment_id>"
    },
    "name": "delete_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
comment_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

The annotations already declare destructiveHint=true, so the agent knows this is a mutating operation. The description adds genuinely useful authorization context that annotations do not cover. However, with annotations carrying the safety profile, a 3 is appropriate: it does not say whether deletion is permanent, recoverable, or what happens to any dependent data.

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, with the action front-loaded ahead of the permission constraint. Nothing is padded or restated.

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 single-parameter destructive tool with destructiveHint already declared, this covers the essentials: what it does and who may do it. The remaining gap is whether the deletion is reversible and how children or replies to the comment are handled.

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 coverage is 0% on the single parameter, so the description must carry the load, and it says nothing about comment_id beyond 'a comment'. The schema itself is self-explanatory (a UUID-formatted string), but the description adds no meaning layered on top of it.

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 ("Delete a comment"), which unambiguously separates it from the other delete siblings listed, such as delete_page and delete_space. It stops short of explicitly contrasting with related tools like update_comment, but the resource specificity carries the purpose.

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?

The permission rule ('Owners can delete their own; space admins can delete any comment') gives real context about who should be invoking it, but nothing about when this tool is preferred over alternatives such as update_comment, or what to do if a delete is disallowed. It is implied rather than explicit guidance.

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