plan_message_deletion
Prepare a process-bound keyed plan for one to 100 exact allowlisted Discord messages. Verifies application and bot identity, guild and channel ownership, optional thread membership, exact content-bearing snapshots, authorship-sensitive permissions, an age-safe execution strategy, and a unique one...
This record as markdown: /tools/app-lasers-guildcontrol-discord/plan-message-deletion.md
What plan_message_deletion does on GuildControl MCP
AI agents call plan_message_deletion to permanently remove resources in GuildControl MCP, typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.
Why plan_message_deletion is rated Critical
Plans irreversible deletion of up to 100 Discord messages, a destructive action.
From the tool's definition plan for deletion of one to 100 exact Discord messages
Attacks that exploit this kind of access
The rule that runs plan_message_deletion safely
PolicyLayer is an MCP gateway: it sits between your AI agents and GuildControl MCP, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For plan_message_deletion, this is the rule to start with:
plan_message_deletion is removed from the agent's tool list entirely, so the agent never calls it. The rest of the server keeps working.
The button opens the PolicyLayer dashboard: create your workspace, connect GuildControl MCP, apply this rule, and every plan_message_deletion call is checked against it from then on.
Questions about plan_message_deletion
Prepare a process-bound keyed plan for one to 100 exact allowlisted Discord messages. Verifies application and bot identity, guild and channel ownership, optional thread membership, exact content-bearing snapshots, authorship-sensitive permissions, an age-safe execution strategy, and a unique one-shot operation key without writing or persisting Discord content. It is categorised as a Destructive tool in the GuildControl MCP MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.
Register the GuildControl MCP server in PolicyLayer and add a rule for plan_message_deletion: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches GuildControl MCP. Nothing to install.
plan_message_deletion is a Destructive tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.
Yes. Add a rate_limit block to the plan_message_deletion rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for plan_message_deletion. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
plan_message_deletion is provided by the GuildControl MCP server (guildctl). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on GuildControl, and thousands of servers like it.
Across the catalogue