Skip to main content
Glama

delete_comment

Soft-delete (archive) a comment. The author or a board admin/owner may delete; other commenters cannot. Optional if_match enforces optimistic concurrency (see update_comment). Idempotent: deleting an already-archived comment is a no-op. Mirrors DELETE /v1/comments/{comment_id}.

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
if_matchNo
comment_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full behavioral burden and does so: it discloses soft-delete/archive semantics rather than permanent removal, permission requirements, idempotency ('deleting an already-archived comment is a no-op'), and optimistic concurrency via if_match. The REST endpoint mapping adds further grounding.

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?

Three tight sentences, front-loaded with the core action and semantics, with no filler. The parenthetical API mapping is slightly extraneous but cheap.

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?

A destructive mutation with no annotations is well served here: permissions, idempotency, and concurrency are all addressed, and an output schema exists so return values need not be described. The remaining gap is what happens on permission denial and what value if_match expects.

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 0%, so the description must compensate; it explains if_match's purpose (optimistic concurrency) and cross-references update_comment, but never says what value to supply (etag, version number, timestamp) despite the schema allowing string or integer. comment_id is left entirely to the schema.

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 plus the key semantic twist: 'Soft-delete (archive) a comment' — which tells an agent this is not a hard delete. It does not explicitly route between itself and siblings like delete_block or update_comment, but the verb+resource combination 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 Guidelines4/5

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

Provides clear authorization scope (author, board admin/owner may delete; other commenters cannot), which effectively tells the agent when the call will succeed versus fail. No explicit 'use X instead' alternative, but the conditions of use are well covered.

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.

Resources