Skip to main content
Glama
discord-mcp

discord-mcp

polls_get_voters

Read-onlyIdempotent

Lists users who voted for a specific answer in a Discord poll, using channel, message, and answer IDs, with optional cursor pagination.

Instructions

Purpose: List users who voted for a specific answer on a poll.

Path: /channels/{channel.id}/polls/{message.id}/answers/{answer_id}. answer_id is a poll-local integer (NOT a snowflake).

Returns: {voters:[{id, username}], count, untrusted_text}. Usernames remain raw Discord data; untrusted_text provides a separately fenced copy.

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>",
      "answer_id": "<answer_id>"
    },
    "name": "polls_get_voters"
  }
}

Input Schema

NameRequiredDescriptionDefault
afterNoCursor: only voters with id > this
limitNoMax voters to return (1..100, default 25)
answer_idYesPoll answer ID (integer, not snowflake)
channel_idYesChannel containing the poll message
message_idYesPoll message ID

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.22.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, idempotentHint=true, destructiveHint=false, openWorldHint=true), so the description's added value is the concrete endpoint shape and the security-relevant note that usernames are raw Discord data while 'untrusted_text' is a separately fenced copy — real context for handling prompt-injection risk. It stops short of describing pagination behavior or what happens when an answer_id does not exist.

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?

Labeled sections (Purpose, Path, Returns) make it easy to scan, and purpose is front-loaded in the first sentence. Slight redundancy in restating the non-snowflake caveat and in naming the literal path alongside the schema, but nothing is wasted at length.

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?

An output schema exists, so the return explanation is bonus rather than burden, and the annotation set is fully populated; combined with 100% parameter coverage, an agent has enough to call this correctly. The only remaining gap is operational behavior — pagination defaults, cursor exhaustion, and error semantics for an invalid answer_id.

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 all five parameters are already documented, including the 'integer, not snowflake' caveat for answer_id, which the description merely repeats. The path template does tie channel_id, message_id and answer_id into a hierarchy the flat schema does not express, but that is a modest addition and the 3 baseline applies.

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?

States a specific verb and resource ('List users who voted for a specific answer on a poll') plus the exact scope, the answer level of a poll. That is precise enough to separate it from every sibling, including the only other poll tool (polls_end), which concerns closing a poll rather than reading its voters.

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?

Usage is only implied: an agent can infer that calling this returns the voter roster for one answer. There is no explicit when-to-use versus alternatives, no guidance on iterating answers of a poll, and no note on when the paginated form (after/limit) is required versus a single call.

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