Skip to main content
Glama

get_poll

Read-onlyIdempotent

Retrieve a poll from a Talk conversation to see its question, options, and vote details. Understand which options you voted for and view results based on the poll's visibility settings.

Instructions

Get a poll from a Talk conversation.

Returns poll details including question, options, current votes (if visible), and which options the current user voted for.

Vote visibility depends on the poll's result_mode:

  • "public": votes are visible after you vote.

  • "hidden": votes are only visible after the poll is closed.

Args: token: The conversation token. Use list_conversations to find tokens. poll_id: The poll ID. Poll IDs appear in chat messages when a poll is created.

Returns: JSON object with poll details: id, question, options, status, result_mode, max_votes, votes, num_voters, voted_self.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenYes
poll_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

A4.6/5.0
Behavior4/5

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

The annotations already establish readOnly, idempotent, and non-destructive behavior. The description adds non-obvious behavioral context beyond those annotations by explaining how vote visibility depends on result_mode, distinguishing public and hidden modes.

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?

The description is well-structured with Args and Returns sections, front-loads the purpose, and avoids fluff. The opening return summary and the detailed return list are slightly redundant, but both serve to orient and specify precisely.

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?

For a two-parameter read-only getter, the description is complete: it explains both parameters, describes the response fields, and covers the result_mode visibility behavior. The output schema further covers the return shape, so nothing essential is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema provides no descriptions, but the description fully compensates by explaining both parameters: token is the conversation token obtainable via list_conversations, and poll_id is found in chat messages when the poll is created. This adds meaning the schema alone lacks.

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?

The description opens with a specific verb-resource pair ('Get a poll from a Talk conversation') and then details what the returned poll details include. This clearly differentiates it from sibling poll operations like create_poll, vote_poll, and close_poll.

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?

It gives concrete guidance for both parameters: use list_conversations to find the token, and poll IDs appear in chat messages. It lacks an explicit when-not-to-use statement or named alternative, but the read-only context and provenance guidance are sufficient for an agent to know when to call it.

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