Skip to main content
Glama
discord-mcp

discord-mcp

by zongwei-tang

end_poll

Closes a Discord poll early before its scheduled expiry, allowing the poll creator to stop voting and finalize results on a specific channel message.

Instructions

End a poll early (only the poll creator). [POST /channels/{channel_id}/polls/{message_id}/expire]

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": {
      "channel_id": "<channel_id>",
      "message_id": "<message_id>"
    },
    "name": "end_poll"
  }
}

Input Schema

NameRequiredDescriptionDefault
channel_idYesChannel ID (text, voice, thread, forum or DM channel)
message_idYesMessage ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds real value by disclosing the creator-only authorization requirement and the underlying endpoint, but it says nothing about whether ending is reversible, what happens to cast votes, or what errors surface on failed authorization.

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 sentence plus a bracketed endpoint, with the verb and resource front-loaded and the permission caveat attached immediately. Nothing is padded and nothing important is buried.

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 action with full schema coverage and safety annotations, the description supplies purpose, authorization scope and endpoint. Only the post-condition (state of votes/results after early termination) and error behavior are unstated, which is a minor gap at this complexity.

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 coverage is 100%, so both channel_id and message_id are already documented in the schema. The bracketed path template hints at how the two IDs route the request, but adds no format or validation meaning beyond the schema; 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?

The description gives a specific verb and resource ('End a poll early') plus a scoping qualifier ('only the poll creator'), which makes it unmistakably distinct from siblings such as create_poll and vote_in_poll. It does not explicitly name an alternative, but the action itself is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Only the poll creator' functions as a partial usage constraint, telling the agent who may invoke it. There is no guidance on when to prefer ending a poll versus letting it expire, nor on what to expect if the poll is already closed or the caller lacks permission.

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