Skip to main content
Glama

When Works For You

Answer a poll

respond_to_poll

Answers a When Works For You poll on someone's behalf: yes, maybe or no for each date. Only answer for the person you are helping, with availability they gave you or confirmed — never guess. With a personal link (ending ?g=…) this updates that person's answers for the dates given and keeps the rest, and keeps their earlier comment unless a new one is given; with a plain share link it adds a new response under name, and the result includes a personal link to change it later. Dates are named by their ISO day (YYYY-MM-DD) as get_poll reports them; all answers every date at once, and a per-date answer wins over it. Emails nobody except the notice the organizer gets for any reply.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
allNoOne answer for every date
linkYesThe poll link or personal link
nameNoThe name to answer as. Needed on a share link; a personal link already knows who it is.
answersNoPer-date answers
commentNoAn optional note to the organizer, in the person's own words

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
titleYes
answersYes
answered_asYes
personal_linkNo

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?

Adds substantial behavior beyond the annotations: personal link updates existing answers and preserves untouched dates and earlier comments unless a new one is given, plain share link appends a new response and returns a personal link, and no email is sent except the organizer notice. This is exactly the write-semantics detail the readOnlyHint=false/non-idempotent annotations leave open.

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 front-loaded with the core action and the safety constraint before the link-type mechanics. No filler sentences, though the final clause about email notice is slightly convoluted in phrasing.

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 elaboration, yet the description still notes the returned personal link. Together with the mutation, comment-preservation and date-keying semantics, an agent has everything needed to call this correctly.

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 baseline is 3, but the description adds genuine meaning: dates are keyed by ISO day as get_poll reports them, `all` answers every date at once, and a per-date answer overrides `all`. That precedence rule and the link/name interaction are not in the schema.

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?

States a specific verb and resource ('Answers a When Works For You poll on someone's behalf') and immediately frames it as acting for another person, which distinguishes it from get_poll (read) and set_my_availability (self). The scope and the answer domain (yes/maybe/no per date) are explicit.

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?

Gives a strong usage constraint — only answer for the person being helped, using availability they gave or confirmed, never guess — and explains the two link-type conditions that select different behavior. It does not explicitly name sibling alternatives such as set_my_availability, but the 'someone's behalf' framing implicitly routes the agent.

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