Skip to main content
Glama

Moderate comments

moderate_comments
DestructiveIdempotent

Publish held comments, hold comments for review, or remove them; optionally ban authors, with confirmation required for removals and bans.

Instructions

Publish held comments, hold comments for review, or remove (reject) them; optionally ban the author from commenting on the channel. Removing or banning needs the user’s confirmation.

Input Schema

NameRequiredDescriptionDefault
actionYes
channelNoWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.
ban_authorNoOnly with remove: also hide this person’s future comments.
comment_idsYes
confirmation_tokenNoOnly after the user approved: the confirmation_token returned by the previous call with identical arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, openTopic read/write safety (readOnlyHint=false), openWorldHint=true, and idempotentHint=true, so the safety profile is covered structurally. The description adds real behavioral value by disclosing the two-step confirmation gate and the irreversible effect of banning (suppressing the author's future comments). It does not say what happens to in-flight or existing comments when one is removed, or whether a hold is reversible within a time window.

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?

One dense sentence covering the three modes plus the optional ban, followed by a short second sentence on the confirmation requirement. It is front-loaded with the operation set and includes no filler.

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, multi-mode mutation tool with no output schema, the definition supplies the essential gating information (confirmation before removal) and the scope of the ban effect. The remaining gap is return/outcome behavior — what a successful hold versus publish yields — which the agent cannot infer from structured fields.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 60%, with action and comment_ids undocumented in the schema; the description compensates by explaining what each action value means and by explaining the ban_author/remove coupling. It also reinforces the confirmation_token workflow that the schema only briefly describes. It adds no detail on the 50-item comment_ids cap or on channel resolution, but those are adequately covered in 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?

The description names specific verbs and the resource: publish, hold, and remove (reject) comments, with an optional author ban. It enumerates exactly the three enum values in the action parameter, so an agent knows the operation set. It does not, however, distinguish 'remove' here from the sibling delete_comment, which is a plausible source of tool-selection confusion.

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?

It gives a clear operational precondition — that removing or banning requires the user's confirmation — and ties ban_author to the remove action only ('Only with remove'). It does not state when to choose this over delete_comment or list_comments, so the alternative-selection guidance is only partial.

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