Skip to main content
Glama

Question Update

question_update
Destructive

Change a question's settings: answer type, required flag, internal name, or itemDetails (scale range, AI interview options). Send only what changes; nested settings are merged with the current values. Wording and answer options are not changed here: use question_update_text for those. Needs surveyVersion = versions.current from survey_get (stale versions are rejected); the result returns the next surveyVersion. On a published survey the change is live at once. A voice interview rejects the typed-interview settings endOnStopRequest, timeBasedCompletionConfig and durationMinutes, and switching an interview to voice needs itemDetails.timeoutMs, its length in ms.

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>",
      "surveyItemId": "<surveyItemId>",
      "surveyVersion": "<surveyVersion>",
      "item": "<item>"
    },
    "name": "question_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemYes
surveyIdYesSurvey ID (required to fetch current question state for merging)
surveyItemIdYesQuestion ID (survey_items[].id from survey_get)
surveyVersionYesCurrent survey version: versions.current from survey_get, or the surveyVersion your last edit returned. A stale version is rejected (WRONG_VERSION). The result returns the next one as surveyVersion.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / item / properties / answer_type / description
      Previous value: -"Type of answer (optional — defaults to current). Changing types supports only the types offered by question_create. Omit to edit an existing question without changing its type."New value: +"Type of answer (optional — defaults to current). Changing types supports only the types offered by question_create, except gabor_granger and kano (create those as new questions). Omit to edit an existing question without changing its type."
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already flag mutation and destructiveness, but the description adds real behavioral context the annotations cannot: partial-update merge semantics, immediate liveness on published surveys, WRONG_VERSION rejection, and the next-version return. It does not discuss reversibility or what an invalid itemDetails interaction does beyond the voice case, which keeps it just 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?

Front-loaded with the changeable fields, then alternatives, then preconditions, then edge cases — a sensible order with almost no filler. It is a dense single paragraph, so the voice-interview caveat is easy to miss on a skim.

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 a nested four-parameter mutation with an output schema, this covers the remaining burden: versioning protocol, partial-merge behavior, sibling routing, and type/voice restrictions. Nothing an agent needs to invoke it correctly appears to be missing.

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 75% and the schema already documents each top-level param, yet the description adds merge semantics for itemDetails, clarifies omitted fields default to current values, and names the specific itemDetails fields rejected under a voice interview. That is meaningfully beyond the schema text.

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 (change settings) plus an enumerated scope: answer type, required flag, internal name, itemDetails. It draws an explicit boundary against the sibling question_update_text for wording and answer options, so an agent can pick between the two without opening either schema.

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?

Explicit routing ('use question_update_text for those'), explicit prerequisite (surveyVersion = versions.current from survey_get, stale versions rejected), and explicit context rule for the voice-interview case including the required timeoutMs. Both when-to-use and when-not-to-use are covered.

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