Skip to main content
Glama

Live: start poll

start_poll

Launch a live webinar poll for all viewers with 2-6 answer options, allowing single or multiple choices. Use it only during a live session, with one poll open at a time.

Instructions

Show a poll to every viewer. 2-6 options (max 80 characters each), question max 200. multi true lets viewers pick more than one. One poll at a time: error poll_open while another is open (end_poll it first). Each viewer answers once; answers arrive as poll.answered in watch_live. Only while the webinar is live (status live); otherwise error not_live. delivered false (with warning) means it was saved but LiveKit did not take it: do not retry, that would do it twice. Max 30 live actions per 10 s per key (rate_limited). Example: {webinar_id, question: "What is your team size?", options: ["1-10", "11-50", "51+"]}

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

Input Schema

NameRequiredDescriptionDefault
multiNotrue: viewers may choose several options; default false (one)
dry_runNotrue: validate and show what would happen without changing anything
optionsYes2-6 different answer options
questionYesThe question, max 200 chars, e.g. "What is your team size?"
webinar_idYesWebinar id (UUID) from list_webinars or create_webinar
idempotency_keyNoAny unique string; retrying with the same key and arguments within 24 h returns the first answer instead of doing it twice

Output Schema

NameRequiredDescriptionDefault
dataNo
resultYes
statusNo
changesNo
dry_runNo
messageNo
error_codeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and largely meets it: it discloses the poll_open and not_live error codes, the rate limit (30 live actions per 10 s per key, rate_limited), single-answer-per-viewer behavior, and how answers surface via poll.answered in watch_live. The one gap is that the duplicate-risk warning on delivered=false is stated but not connected to the idempotency_key parameter, leaving the agent to infer the safe retry path.

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?

Dense but well front-loaded: capability first, then limits, then error semantics, then an example. It reads as a run-on chain of clauses and the delivered=false sentence is convoluted, but no sentence is truly wasted.

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 explanation, and everything else an agent needs to call this correctly is present: live-only precondition, concurrency rule, error codes, rate ceiling, answer delivery channel, and a worked example.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description earns an extra point by restating the practical constraints (2-6 options, max 80 chars each, question max 200) and by giving a fully formed example payload showing webinar_id, question, and options together. The multi flag explanation duplicates the schema text rather than adding new meaning.

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?

Opens with a specific verb+resource+audience: "Show a poll to every viewer." It also implicitly distinguishes itself from the sibling end_poll by stating "end_poll it first" when another poll is open, so an agent can tell create from terminate without opening schemas.

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

Usage Guidelines5/5

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

Explicit preconditions and exclusions: only while the webinar is live (status live), otherwise not_live; one poll at a time, with end_poll named as the resolution. It also says not to retry when delivered is false, which is a concrete when-not rule.

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