Skip to main content
Glama
mcp-telegram-agent

mcp-telegram-agent

send_poll

Send polls or quiz cards with clickable options to Telegram chats, optionally marking correct answers and explanations so users can vote or test their knowledge directly in chat.

Instructions

Send a poll or quiz card with clickable options.

發送投票或測驗卡片,供使用者點選。type=quiz 時可指定正確選項與解析說明。

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": {
      "question": "<question>",
      "options": "<options>"
    },
    "name": "send_poll"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoregular
chat_idNo
optionsYes
questionYes
explanationNo
is_anonymousNo
correct_option_idNo
allows_multiple_answersNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.7

TDQS

B3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It hints that quiz mode supports a correct option and explanation, but says nothing about permissions, rate limits, what happens when chat_id is null, or whether quiz requires correct_option_id — significant gaps for a send/mutation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded and compact — the core action comes first, with the quiz nuance second. The bilingual duplication doubles the length without adding information for a single-language reader, which is the only real waste.

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?

The output schema means return values need no explanation, and the description covers the poll-vs-quiz distinction. With 8 parameters at 0% schema coverage and no annotations, though, an agent still lacks the detail needed to fill the optional fields confidently.

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

Parameters2/5

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

Schema coverage is 0% across 8 parameters, yet the description only touches type, correct_option_id and explanation in passing. It never explains chat_id's null default, is_anonymous (default true), allows_multiple_answers, or constraints on options and question length.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific verb and resource ('send a poll or quiz card with clickable options') and the Chinese line reinforces the same scope. It is self-evidently distinct from the send_* media/message siblings, though it never explicitly contrasts itself with them.

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?

Usage is only implied by the resource type: use it when you want a clickable poll. There is no guidance on when to prefer a poll over send_text_message, no prerequisites, and no note on which chat it lands in.

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