Skip to main content
Glama
GuildControl: Discord MCP

GuildControl: Discord MCP

Execute reviewed Discord poll ending

execute_poll_end
DestructiveIdempotent

Irreversibly end one exact bot-authored Discord poll after a live-count-bound plan and signed approval; use a one-shot operation key and verification to report finalization, drift, or ambiguity.

Instructions

Irreversibly end one exact bot-authored native Discord poll only after a fresh live-count-bound plan and signed interactive approval. A real change reserves a unique one-shot operation key, records pending content-free activity, sends one non-retried expire request, verifies exact response and readback structure, and reports asynchronous finalization, valid drift, or ambiguity without persisting poll content.

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": {
      "channelId": "<channelId>",
      "messageId": "<messageId>",
      "operationKey": "<operationKey>"
    },
    "name": "execute_poll_end"
  }
}

Input Schema

NameRequiredDescriptionDefault
channelIdYesExact separately allowlisted poll channel ID
messageIdYesExact bot-authored Discord poll message ID
planDigestNo
operationKeyYesUnique one-shot operation key; keep unchanged through review and never reuse after reservation

Output Schema

NameRequiredDescriptionDefault
statusYes
schemaVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.6.0

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already declare destructive=true, readOnly=false and idempotent=true, yet the description adds substantial context beyond them: a one-shot operation key is reserved, pending content-free activity is recorded, exactly one non-retried expire request is sent, the response and readback structure are verified, and outcomes (async finalization, valid drift, ambiguity) are reported. It also discloses that poll content is never persisted, which is meaningful for a destructive tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The destructive action is front-loaded in the first clause, which is good. But the whole definition is a single long run-on sentence dense with internal jargon ('live-count-bound', 'content-free activity', 'valid drift'), which slows parsing without any wasted words.

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, open-world, high-complexity tool with an output schema present, the description covers preconditions, side effects, failure modes and content-retention policy well. It stops short of stating auth or permission requirements and does not explain the planDigest parameter, which are the remaining gaps.

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?

With schema coverage at 75%, the schema already documents channelId, messageId and operationKey; the description only echoes the operation key's one-shot, non-reusable nature. The undocumented planDigest parameter is gestured at via 'live-count-bound plan' and 'signed interactive approval' but never explained, so the description adds little beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ('Irreversibly end one exact bot-authored native Discord poll') and scopes it tightly to one message. It implicitly separates itself from the planning sibling by requiring a fresh live-count-bound plan and signed approval before execution, so an agent can tell which half of the plan/execute pair this is.

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 states a clear precondition for use: a fresh live-count-bound plan plus signed interactive approval must already exist. It does not explicitly name plan_poll_end as the required predecessor or state when to avoid this tool, leaving a little inference, but the gating condition is unambiguous.

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