Skip to main content
Glama
TONresistor

Telegram MCP Server

by TONresistor

sendPoll

Create and send native Telegram polls or quizzes to chats, with options for multiple answers, anonymity, scheduling, and quiz mode.

Instructions

Send a native poll. On success, the sent Message is returned. Supports regular polls and quizzes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNoPoll type, 'quiz' or 'regular', defaults to 'regular'.
chat_idYesUnique identifier for the target chat or username of the target channel (in the format @channelusername).
optionsYesA JSON-serialized list of 2-12 answer options. Each option is an InputPollOption object with fields: text (required, 1-100 characters), text_parse_mode, text_entities.
questionYesPoll question, 1-300 characters.
is_closedNoPass True if the poll needs to be immediately closed. This can be useful for poll preview.
close_dateNoPoint in time (Unix timestamp) when the poll will be automatically closed. Must be at least 5 and no more than 600 seconds in the future. Can't be used together with open_period.
explanationNoText that is shown when a user chooses an incorrect answer or taps on the lamp icon in a quiz-style poll, 0-200 characters with at most 2 line feeds after entities parsing.
open_periodNoAmount of time in seconds the poll will be active after creation, 5-600. Can't be used together with close_date.
is_anonymousNoTrue, if the poll needs to be anonymous, defaults to True.
reply_markupNoAdditional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove a reply keyboard or to force a reply from the user.
protect_contentNoProtects the contents of the sent message from forwarding and saving.
reply_parametersNoDescription of the message to reply to.
correct_option_idNo0-based identifier of the correct answer option, required for polls in quiz mode.
message_effect_idNoUnique identifier of the message effect to be added to the message; for private chats only.
message_thread_idNoUnique identifier for the target message thread (topic) of the forum; for forum supergroups only.
question_entitiesNoA JSON-serialized list of special entities that appear in the poll question. It can be specified instead of question_parse_mode.
question_parse_modeNoMode for parsing entities in the question. See formatting options for more details. Currently, only custom emoji entities are allowed.
allow_paid_broadcastNoPass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message.
disable_notificationNoSends the message silently. Users will receive a notification with no sound.
explanation_entitiesNoA JSON-serialized list of special entities that appear in the poll explanation. It can be specified instead of explanation_parse_mode.
business_connection_idNoUnique identifier of the business connection on behalf of which the message will be sent.
explanation_parse_modeNoMode for parsing entities in the explanation. See formatting options for more details.
allows_multiple_answersNoTrue, if the poll allows multiple answers, ignored for polls in quiz mode, defaults to False.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden of behavioral disclosure. It does state the success return value (the sent Message) and the native poll/quiz/regular distinction. However, it does not mention side effects, constraints, or mode-specific requirements such as quiz mode requiring correct_option_id, though some of that detail is available in the schema.

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 extremely concise and front-loaded: the action comes first, followed by the success return value, then supported poll modes. Every sentence adds distinct value, and there is no filler or redundant repetition of schema information. It is well-structured for a tool with a heavily documented input schema.

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?

Given the large 23-parameter schema and no output schema, the description mentions the return value, which is important, and the tool's poll modes. However, it lacks usage guidance, alternative tool comparisons, and behavioral caveats. The rich schema fills in most invocation details, making the description adequate but not fully complete for selection support.

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?

The input schema has 100% description coverage across all 23 parameters, so the schema already provides thorough parameter semantics. The description adds no parameter-specific meaning, so the baseline score of 3 is appropriate. There is no coverage gap for the description to compensate for.

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 uses a specific verb and resource: "Send a native poll". It also clarifies that it supports regular polls and quizzes, which distinguishes it from generic send methods like sendMessage and from stopPoll. An agent can quickly identify this as the poll-sending tool.

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

Usage Guidelines2/5

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

The description provides no explicit guidance on when to use sendPoll versus alternative tools, and it does not mention any exclusions or sibling comparisons. The phrase "Supports regular polls and quizzes" implies scope but does not state usage context. An agent must infer that this is the tool to use for native polls.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TONresistor/telegram-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server