Skip to main content
Glama

Add dates or times to a poll

add_options
Idempotent

Add more candidate dates or times to a WhichDateWorks poll the user organizes, for example when the group asks for another weekend. Pass the poll's manageUrl from create_poll, and dates for a poll of all-day dates or times for a poll of time slots, all in the future. Options the poll already has are skipped. Everyone who already voted keeps their votes and can vote on the new options.

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": {
      "manageUrl": "<manageUrl>"
    },
    "name": "add_options"
  }
}

Input Schema

NameRequiredDescriptionDefault
datesNoAll-day options to add, as YYYY-MM-DD, for a poll of dates. The poll can have up to 100 options in all.
timesNoTime slots to add, for a poll of times. The poll can have up to 100 options in all.
durationNoDefault length of each time slot in minutes. Defaults to 60.
timeZoneNoIANA time zone the times are in. Defaults to the poll's own time zone.
manageUrlYesThe poll's manageUrl from create_poll (https://app.whichdateworks.com/claim/…), or the token at its end. The invite link won't work here.

Output Schema

NameRequiredDescriptionDefault
addedYesThe options added; ones the poll already had are skipped.
titleYes
pollIdYes
statusYes
optionsYesEvery option the poll now has.
reopenedYesThe poll had closed by itself and reopened for the new options.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

The annotations already disclose that this is a non-destructive, idempotent, open-world mutation. The description adds meaningful behavior not covered by annotations: existing options are skipped, new options must be in the future, and existing voters keep their votes and can vote on the new options.

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?

The description is four sentences, front-loaded with the action, then usage condition, required input, and side effects. Every sentence contributes useful information without repetition.

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?

Given the rich input schema, existing output schema, and annotations, the description supplies what an agent still needs: when to use it, which input to pass, how poll type maps to dates versus times, and what happens to existing votes and duplicate options.

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 description coverage is 100%, so the baseline is 3. The description still adds semantic guidance beyond the schema by explaining that dates should be used for all-day-date polls and times for time-slot polls, and that manageUrl comes from create_poll.

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 description uses a specific verb and resource: adding candidate dates or times to an existing WhichDateWorks poll. It distinguishes this from creating a poll by tying the operation to a manageUrl from create_poll, so an agent can identify the correct action immediately.

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?

It states the situation for use (more candidate dates/times when the group asks, e.g. another weekend) and clarifies that the poll must be one the user organizes. It does not name alternative tools or explicit exclusions beyond the manageUrl versus invite-link note, but the context is sufficiently clear.

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