Skip to main content
Glama

moderate_content

Delete Discord messages and kick, ban, or timeout users to enforce server rules, with reasons and optional message cleanup during bans.

Instructions

Moderate content by deleting messages, kicking or banning users

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": {
      "action": "<action>",
      "guildId": "<guildId>"
    },
    "name": "moderate_content"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesModeration action to perform
reasonNoReason for the moderation action
userIdNoUser ID to moderate (required for kick_user, ban_user, timeout_user)
guildIdYesGuild/Server ID (required for all actions)
channelIdNoDiscord channel ID (required for delete_message)
messageIdNoMessage ID to delete (required for delete_message)
discordBotTokenNoDiscord bot token for authentication (optional if DISCORD_BOT_TOKEN env var is set)
deleteMessageDaysNoNumber of days of messages to delete when banning (0-7, default: 0)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It does not say these actions are destructive and largely irreversible, does not mention that authentication via discordBotToken is needed, and does not note that banning can cascade into message deletion via deleteMessageDays.

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?

A single front-loaded sentence with no filler. Its brevity is efficient rather than padded, though the brevity is also the source of the missing detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a destructive, multi-action tool with eight parameters, no annotations, and no output schema. The description should at minimum flag destructiveness, auth requirements, and the timeout action, none of which it does.

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 the schema already explains every parameter including per-action requirements and the enum. The description adds no parameter meaning beyond that and misses one action entirely, so it sits at the baseline.

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 states a specific verb and resource ('Moderate content') and enumerates the main actions (delete messages, kick, ban). It falls short of a 5 because it omits 'timeout_user', which is in the action enum, and gives no scope or sibling differentiation.

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?

There is no guidance on when to use this tool versus siblings like send_message or get_messages, and no mention of preconditions such as required bot permissions or the fact that each action needs different parameters. The agent must infer everything from the schema.

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