Skip to main content
Glama

discord_get_poll_results

Read-only

Read a Discord poll’s question, answer options, and vote counts to monitor results and confirm when counts are finalized.

Instructions

Read a poll's current question, answers and vote counts. Counts update as people vote and are final once resultsFinalized is true, which Discord sets after the poll expires or discord_end_poll ends it. Requires the View Channel and Read Message History permissions. Read-only. Use discord_get_poll_voters to see who picked an answer.

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

Input Schema

NameRequiredDescriptionDefault
channel_idYesID (snowflake) of the channel or thread.
message_idYesID of the poll message.

Output Schema

NameRequiredDescriptionDefault
answersYes
questionYes
expiresAtYes
messageIdYes
allowMultiselectYes
resultsFinalizedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.5.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only say readOnlyHint and openWorldHint; the description adds real behavior: counts are live and change as people vote, they are final once resultsFinalized is true, and that flag is set by Discord on expiry or by discord_end_poll. It also states the required permissions (View Channel, Read Message History), which an agent needs before calling.

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 short sentences, front-loaded with the purpose, then finalization semantics, then permissions, then the sibling pointer. Every sentence carries distinct information with no repetition of the title or schema.

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?

An output schema exists so return values need no prose, and the description still covers the one non-obvious result field (resultsFinalized) plus permissions and the alternate tool. Nothing an agent needs to call this correctly is missing.

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 description coverage is 100%, with both channel_id and message_id fully documented including snowflake patterns. The description adds no parameter-level meaning beyond that, so the baseline 3 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?

Specific verb+resource ('Read a poll's current question, answers and vote counts') with the exact returned content enumerated. It distinguishes itself from the sibling discord_get_poll_voters by naming what that tool returns instead (who picked an answer).

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?

Explicit routing to the alternative: 'Use discord_get_poll_voters to see who picked an answer,' and it references discord_end_poll as the thing that finalizes results. It doesn't state explicit when-not conditions (e.g., for creating polls), so it falls just short of a full 5.

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