Skip to main content
Glama

end_poll

Immediately close an active Discord poll so no further votes can be cast. Provide the channel ID and poll message ID to stop voting.

Instructions

Immediately end and close an active poll so no further votes can be cast

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
channelIdYesDiscord channel ID
messageIdYesPoll message ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that the action is immediate and terminal for voting ('no further votes can be cast'), but omits whether it is reversible, what happens to existing votes/results, and whether poll-owner permission is required.

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?

A single tight sentence that front-loads the action and its effect. Nothing redundant, nothing wasted.

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

Completeness3/5

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

For a two-parameter mutation with no annotations and no output schema, the description covers the core action but leaves gaps on permissions, reversibility, and what happens to existing poll results, which an agent would need to invoke it confidently.

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 channelId and messageId are already fully documented in the schema. The description adds no additional meaning about identifier formats or constraints, which is the expected baseline when the schema does the work.

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 (end/close) and resource (an active poll) with the observable consequence spelled out. It is clearly distinguishable from siblings like create_poll and get_poll_answer_voters without needing the schema.

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?

The word 'active' implies the poll must currently be running, which is a mild precondition, but there is no explicit when-to-use guidance, no statement of what happens if the poll has already ended, and no mention of alternative tools.

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