Skip to main content
Glama

Answer a poll

answer_poll

Says what the user (or a guest they look after) picks in a poll, and would sit out, replacing what they said before. Option ids from get_polls.

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": {
      "picks": "<picks>",
      "tripId": "<tripId>",
      "pollId": "<pollId>"
    },
    "name": "answer_poll"
  }
}

Input Schema

NameRequiredDescriptionDefault
outNoOption ids they would sit out, if it wins
picksYesOption ids picked: one, unless the poll takes several
personNoWhom you answer for: you, or a guest you look after; you, if not given
pollIdYesA poll’s id, from get_polls
tripIdYesThe trip’s id, from list_trips

Output Schema

NameRequiredDescriptionDefault
pollYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare this is a non-read-only, non-destructive, closed-world write. The description adds genuinely useful behavior beyond that: the call replaces the previous answer rather than appending, and it can be made on behalf of a guest the user looks after. It does not cover permissions or what the response contains, but the output schema carries the latter.

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?

Two short sentences with no filler, and the core action plus the overwrite caveat are front-loaded. The phrasing 'and would sit out' is slightly compressed to the point of being clipped, but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With five parameters at full schema coverage, an output schema, and annotations covering the safety profile, the description supplies the one non-obvious behavior (replacement of a prior answer) and the id source. The only real gap is not routing the agent away from answer_date_poll for date-type polls.

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 picks, out, person, pollId and tripId are already documented in the schema. The description only restates the picks/sit-out concept and adds the provenance hint that option ids come from get_polls. That is marginal added meaning, consistent with the baseline 3 when the schema does the heavy lifting.

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+resource: recording what a user or a guest they look after picks in a poll, including sit-out options. It also states the overwrite semantics ('replacing what they said before') and points to get_polls for option ids. It does not explicitly distinguish itself from the sibling answer_date_poll, so it falls just short of 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 rather than stated: the agent learns it needs option ids from get_polls and that a prior answer is replaced. There is no explicit when-to-use vs. when-not guidance and no mention of answer_date_poll as the alternative for date polls, which is the main ambiguity among siblings.

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