Skip to main content
Glama

Create an anonymous poll

create_poll

Create a poll anyone can vote on with a link — no sign-up, anonymous by default. AnonPolls doesn't collect accounts or names. Creators see only totals, never who voted for what. To limit repeat votes, it stores a one-way hash of the voter's network address with the vote, not the address itself. Normally each network votes once per poll, checked on the server. In classroom or office mode, each browser votes once. Polls are public to anyone with the link. Question at most 200 characters. Two to six options. vote_limit_mode: network (default, one vote per network), device (one vote per browser, classroom/office), or code (one-time voter codes; pass code_count 1–300). Returns poll_url (voting link), results_url (opens the results view via ?view=results), and creator_manage_url. creator_manage_url contains the creator token — give this only to the person who asked for the poll. In code mode also returns voter_codes_url (= creator_manage_url) and codes_requested (the code_count you asked for). The organiser opens voter_codes_url and taps "Generate my voter codes" to see them once. Hand them out yourself — codes are never returned in this tool result. MCP polls are unlisted and never auto-approved for discovery.

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": "create_poll"
  }
}

Input Schema

NameRequiredDescriptionDefault
optionsYesTwo to six options.
questionYesPoll question, at most 200 characters.
code_countNoRequired when vote_limit_mode is code. At most 300.
vote_limit_modeNonetwork (default), device (classroom/office), or code (one-time codes).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (openWorldHint=true, non-idempotent, non-destructive), the description discloses the privacy model that an agent cannot infer anywhere else: one-way hash of the network address, creators see only totals, polls are public to anyone with the link, and MCP polls are unlisted and never auto-approved. It also flags the security-sensitive fact that creator_manage_url embeds the creator token and must be given only to the requester, and that voter codes are never returned in the result.

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?

Purpose and privacy posture are front-loaded, then constraints, then return values — a sensible ordering. It is long but most sentences carry non-redundant information. Minor waste: the code-mode behavior is explained twice (under vote_limit_mode and again in the returns paragraph), and the 200-character / 2–6 option limits repeat schema constraints verbatim.

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?

There is no output schema, and the description compensates by enumerating every return field (poll_url, results_url, creator_manage_url, plus voter_codes_url and codes_requested in code mode) and what each is for. It also states the constraints, the privacy implications, and the sharing caveat, leaving nothing material an agent needs before calling it.

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 above that by explaining the real-world meaning of each mode (one vote per network vs per browser vs one-time codes) and by stating 'pass code_count 1–300' as the conditional requirement for code mode, which the schema only implies via description text. It does restate the question and option limits that the schema already enforces.

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 opening sentence states a specific verb and resource — 'Create a poll anyone can vote on with a link' — plus the defining attribute (no sign-up, anonymous by default). An agent can immediately tell this is a creation tool and contrast it with the retrieval sibling get_results, which is implicitly the counterpart to the returned results_url.

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?

The description gives concrete mode-selection guidance: 'network (default, one vote per network), device (one vote per browser, classroom/office), or code (one-time voter codes)'. It also supplies an operational workflow for the organiser (open voter_codes_url, tap 'Generate my voter codes'). It stops short of explicitly stating when to prefer this tool over get_results, but the create/retrieve split is unambiguous.

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