Skip to main content
Glama

add_answer_choice

Add ONE new answer choice to a question in a BlockSurvey team draft, without touching any other choice. Prefer this over update_question's options field when you're only adding a choice — update_question replaces the whole choice list and reassigns every choice a new id, which silently breaks anything keyed to an option's id (skip logic, calculations). To add several choices, call this once per choice. For choice-style questions (multiplechoice, checkboxes, dropdown, dropdownmultiple, ranking, colorpicker — for colorpicker, value is a text prompt to pick a color for, e.g. "Preferred logo color"; the respondent picks the actual color when answering) this works on options; for matrix questions you must also say whether you mean rows or columns via target. Not applicable to consent (its choices are fixed) or any other question type without answer choices. Use get_survey_details first to get the question's and choices' current ids.

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": {
      "surveyId": "<surveyId>",
      "value": "<value>"
    },
    "name": "add_answer_choice"
  }
}

Input Schema

NameRequiredDescriptionDefault
scoreNoOptional score for the new choice, e.g. for a Likert scale
valueYesThe new choice's text
targetNoFor matrix questions only: which grid axis to edit. Required if the question is a matrix type, ignored otherwise.
teamIdNoWhich team workspace to act in (ids come from get_account_info or list_surveys). Optional: if omitted, the server uses the team that owns the given surveyId, or your only team. Required for create_survey when you belong to several teams.
positionNo0-based index into the survey's questions array. Provide this OR questionId, not required to provide both.
surveyIdYesThe Survey ID containing the question
questionIdNoThe question's id, as seen in get_survey_details's output
choicePositionNo0-based index to insert the new choice at within the choice list. Omit to append at the end.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, and openWorldHint=true, so the safety profile is covered. The description adds real behavioral context beyond that: it explains the non-destructive nature relative to other choices, the matrix `target` requirement, and the fixed-choice exception for consent. It does not cover failure behavior for an invalid question type, which keeps it short of a 5.

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?

It is front-loaded with the core action and the sibling comparison, then moves to question-type applicability and prerequisites. The colorpicker parenthetical is the longest single clause, but it earns its space by preventing a plausible misuse. Slightly dense, but no filler sentences.

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?

For an 8-parameter mutation tool with full schema coverage and no output schema, the description covers the decision to use it, the alternatives, the applicable question types, the id-discovery prerequisite, and the matrix special case. An agent has everything needed to invoke it 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 genuinely adds meaning: it clarifies that `target` must distinguish rows from columns for matrix questions and is ignored otherwise, and that `value` for colorpicker is a text prompt rather than a color literal. These are semantic clarifications the schema alone does not convey.

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 gives a precise verb, resource, and scope: adding exactly ONE choice to a question in a BlockSurvey team draft without touching other choices. It immediately distinguishes itself from the closest sibling, update_question, which the agent could otherwise confuse it with.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states explicitly when to prefer this over update_question's `options` field and why (id reassignment breaking skip logic and calculations), how to handle multiple additions (one call per choice), which question types apply, that consent is excluded, and that get_survey_details should be called first to obtain ids.

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