Skip to main content
Glama

discord_get_poll_voters

Read-only

List users who voted for a specific poll answer, with pagination to retrieve all voters. Use it after finding the answer ID from poll results.

Instructions

List the users who voted for one specific answer of a poll. Returns { voters: [...], hasMore, nextAfter } with id, username, bot flag. Returns 25 voters by default and at most 100 per call; while hasMore is true pass nextAfter back as after for the next page. Votes cast while paging can be missed. Use discord_get_poll_results first to find an answer's id. Requires the View Channel and Read Message History permissions. Read-only. For emoji reactions rather than poll votes, use discord_get_reactions.

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": "discord_get_poll_voters"
  }
}

Input Schema

NameRequiredDescriptionDefault
afterNoPagination cursor: a user ID (snowflake). Pass the previous response's nextAfter to fetch the next page.
limitNoMax voters to return (1–100). Default 25.
answer_idYesThe answer's numeric id (1 or more), from discord_get_poll_results.
channel_idYesID (snowflake) of the channel or thread.
message_idYesID of the poll message.

Output Schema

NameRequiredDescriptionDefault
votersYes
hasMoreYes
nextAfterYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.5.0

TDQS

A4.7/5.0
Behavior5/5

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

Beyond readOnlyHint/openWorldHint, it discloses the page size (25 default, 100 max), the exact pagination contract (hasMore true → pass nextAfter as `after`), a real caveat that votes cast while paging can be missed, and the required View Channel + Read Message History permissions. These are the operationally important facts an agent cannot infer from annotations.

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?

Four tight sentences: purpose/return shape first, then pagination mechanics, then prerequisite, then permissions and alternative. No filler, and the most load-bearing constraints are front-loaded.

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

Completeness5/5

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

Complete for a paginated, permission-gated read tool: return fields, paging termination, permission requirements, and the sibling alternative are all covered. With an output schema present, the description need not go further on return values.

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 the baseline is 3: the schema already documents `after`, `limit`, and the answer_id source. The description restates the nextAfter→after paging loop and the default/max page size, adding continuity but little meaning the schema does not already carry.

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 the users who voted for one specific answer of a poll'), scoping it to a single answer rather than the whole poll. This cleanly separates it from discord_get_poll_results (aggregate counts) and discord_get_reactions (emoji reactions).

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

Usage Guidelines5/5

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

Explicitly routes the agent: 'Use discord_get_poll_results first to find an answer's id' is a prerequisite, and 'For emoji reactions rather than poll votes, use discord_get_reactions' names the confusable alternative and the condition that selects it. Prerequisite and alternative are both stated outright.

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