Skip to main content
Glama

Create a poll

create_poll

Create a Pickly poll to help a group decide something together (where to eat, which date, what to watch) and get a link to share in the group chat. Nobody needs an account to vote.

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
opensAtNoWhen voting opens, as an ISO 8601 date-time with the person's UTC offset, e.g. 2026-11-07T18:00:00+01:00. Leave out to open right away. The link works before then, but voting stays locked.
optionsYes2 to 20 options, all of the optionKind.
passwordNoA password voters type before they can open the poll. Only when the person asks for one; they share it with the link.
questionYesWhat the group is deciding, e.g. "Where do we eat on Friday?"
stayOpenNoKeep voting open until the creator closes it (close_poll, or the manage link) instead of closing at a set time.
maxChoicesNomulti polls only: how many options each person may tick. Leave out for no limit.
optionKindNoWhat every option is: a named thing, a calendar date, a time of day, or a place.text
showVotersNotrue shows who voted what: voters pick their name from voterNames, and everyone sees each person's answers. Leave out (or false) for anonymous votes, the default. Use it when the person wants to see who voted for what.
voterNamesNoWith showVoters: the names of everyone who can vote, e.g. the people in the group chat. Only they can vote, each name once.
descriptionNoOptional extra context shown under the question.
votingStyleNoHow people vote. multi: tick every option that works (the default, good for most choices). ranked: put the options in order; an instant runoff picks the winner. score: 1 to 5 stars each. swipe: yes or no per option, one card at a time. availability: yes, if need be, or no per option; best for finding a date that suits everyone.multi
resultsEmailNoThe creator's own email address, to get the results when voting closes. Only when they give it and ask for that. Needs a closing time, so not with stayOpen. Pickly first emails that address a link to confirm it; results go out only after that click.
closesInHoursNoWhen voting closes, in hours from when it opens. Defaults to 24.
allowSuggestionsNoLet voters suggest more options. Nothing joins the poll until the creator approves it (review_suggestion, or the manage link).
allowVoterEmailsNoLet voters leave an email address to get the results when voting closes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / resultsEmail / description
      Previous value: -"The creator's own email address, to get the results when voting closes. Only when they give it and ask for that. Needs a closing time, so not with stayOpen."New value: +"The creator's own email address, to get the results when voting closes. Only when they give it and ask for that. Needs a closing time, so not with stayOpen. Pickly first emails that address a link to confirm it; results go out only after that click."
  2. Changed2 schema fields changed
    • addedInput schema / properties / showVoters
      Added value: +{
      +  "description": "true shows who voted what: voters pick their name from voterNames, and everyone sees each person's answers. Leave out (or false) for anonymous votes, the default. Use it when the person wants to see who voted for what.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / voterNames
      Added value: +{
      +  "description": "With showVoters: the names of everyone who can vote, e.g. the people in the group chat. Only they can vote, each name once.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  3. Changed7 schema fields changed
    • addedInput schema / properties / allowSuggestions
      Added value: +{
      +  "description": "Let voters suggest more options. Nothing joins the poll until the creator approves it (review_suggestion, or the manage link).",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / allowVoterEmails
      Added value: +{
      +  "description": "Let voters leave an email address to get the results when voting closes.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / closesInHours / description
      Previous value: -"When voting closes, in hours from now. Defaults to 24."New value: +"When voting closes, in hours from when it opens. Defaults to 24."
    • addedInput schema / properties / opensAt
      Added value: +{
      +  "description": "When voting opens, as an ISO 8601 date-time with the person's UTC offset, e.g. 2026-11-07T18:00:00+01:00. Leave out to open right away. The link works before then, but voting stays locked.",
      +  "format": "date-time",
      +  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +  "type": "string"
      +}
    • addedInput schema / properties / password
      Added value: +{
      +  "description": "A password voters type before they can open the poll. Only when the person asks for one; they share it with the link.",
      +  "type": "string"
      +}
    • addedInput schema / properties / resultsEmail
      Added value: +{
      +  "description": "The creator's own email address, to get the results when voting closes. Only when they give it and ask for that. Needs a closing time, so not with stayOpen.",
      +  "type": "string"
      +}
    • addedInput schema / properties / stayOpen
      Added value: +{
      +  "description": "Keep voting open until the creator closes it (close_poll, or the manage link) instead of closing at a set time.",
      +  "type": "boolean"
      +}
  4. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the write-but-safe profile is covered. The description adds two genuinely useful behavioral facts beyond that: the result is a shareable link, and voters need no account. It omits other relevant traits such as the default 24-hour closing window and the existence of a separate manage link, which matter for an agent deciding whether to create at all.

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?

A single tight sentence front-loads the verb and resource, then layers purpose, outcome, and the no-account fact with no filler. Nothing here could be cut without losing information.

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 15-parameter creation tool with no output schema, the description does cover the return value (a shareable link) and the voting model. But it says nothing about the significant defaults that shape the created poll (multi voting style, 24-hour close) or how the creator later manages it, leaving the agent to rely entirely on the schema.

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 100%, so all 15 parameters including votingStyle, optionKind, and showVoters are documented in the schema itself. The description adds no parameter-level meaning at all, so the baseline 3 is appropriate.

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?

"Create a Pickly poll" gives a specific verb and resource, and the parenthetical examples (where to eat, which date, what to watch) plus the outcome ("get a link to share") make the purpose concrete. It does not differentiate itself from siblings like close_poll or get_results, though those are clearly different operations, so it lands just under a 5.

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 implied by "to help a group decide something together" and the group-chat sharing scenario, which tells the agent this is the entry point for a group decision. There is no explicit when-to-use versus alternatives, no prerequisite conditions, and no statement of when not to use it (e.g. when a poll already exists).

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