Skip to main content
Glama

Delete Comment

delete_comment
Destructive

Delete a discussion comment from specified content. Requires admin permission and both content_id and comment_id.

Instructions

Delete a discussion comment. Requires comment.delete permission (admin only).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
comment_idYesrequired,Comment ID to delete
content_idYesrequired,Content ID the comment belongs to

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv7.3.4

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, so the destructive nature is covered structurally. The description usefully adds the permission/auth requirement (admin only, comment.delete), which is real context beyond annotations. It does not say whether the deletion is permanent or how threaded replies are handled.

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 filler; the purpose is front-loaded and the constraint follows immediately. Every word earns its place.

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 simple two-parameter delete operation with full schema coverage and a destructiveHint annotation, the description covers purpose and access requirements adequately. The only meaningful gap is cascade/reversibility behavior, which an agent might want for a delete on threaded content.

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 comment_id and content_id are already documented in the schema. The description adds nothing about parameter formats or constraints, so the baseline 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?

States a specific verb+resource (delete a discussion comment), which is unambiguous. It does not, however, distinguish itself from siblings like create_comment or list_comments, so it stops 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?

The description gives a prerequisite (comment.delete permission, admin only) but no guidance on when to use this tool versus alternatives or when not to use it. There is no routing or context information for an agent choosing among the many sibling tools.

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

Deploy Server

Other Tools