Skip to main content
Glama

Poll

poll
Destructive

Ask people to vote: create returns url, a page to share. results returns status (open, closed, expired), total votes and each option's votes and percent; pass the last version with wait_seconds up to 30 to wait for the next vote, or no version to wait until it closes. The poll closes after closes_in seconds, at max_votes, or on close. One vote per browser and a per-address cap are soft guards, not identity.

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": {
      "action": "<action>"
    },
    "name": "poll"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo
actionYes
optionsNo
resultsNo
versionNo
multipleNo
questionNo
closes_inNo
max_votesNo
max_choicesNo
ttl_secondsNo
wait_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructive=true and readOnly=false, so the safety profile is covered. The description adds genuinely non-obvious behavior: the three closing triggers (closes_in, max_votes, close) and the security caveat that 'one vote per browser and a per-address cap are soft guards, not identity.' It stops short of saying what delete removes or whether it is reversible.

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?

It is dense and front-loaded, leading with the core purpose before the return-shape and long-poll details. The semicolon-chained sentences are efficient, though the compression makes the create/results/close/delete action split harder to parse than it needs to be.

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 12-parameter, four-action tool with no output schema, the description does well on return values and close triggers. But it omits the destructive delete action's semantics and several creation parameters (ttl_seconds, max_choices, multiple), leaving meaningful gaps for a tool flagged destructive.

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 description coverage is 0%, so the description must carry the parameter burden. It does explain version/wait_seconds pairing, closes_in, max_votes and the results status values, but leaves ttl_seconds, max_choices, multiple, question, options, id and the delete action's parameters entirely unexplained.

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?

The description states a specific verb and resource ('Ask people to vote') and then enumerates what the create and results actions do. It leaves the 'delete' action completely unmentioned and only gestures at 'close', so an agent cannot fully map the four-value action enum from the prose alone.

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?

It gives real selection guidance for the polling/waiting case: pass the last version with wait_seconds to wait for the next vote, or omit version to wait until close. However, there is no guidance on when to choose close versus delete, or what preconditions apply to each action, so usage is only partially covered.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources