Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Nunify. If you published it, claim ownership there.

Update Question

update_question
Idempotent

Update an existing question's text, type, or options in the provided event. Provide either a survey_id or assessment_id plus the question_id.

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": {
      "event_id": "<event_id>",
      "question_id": "<question_id>",
      "question_text": "<question_text>",
      "question_type": "<question_type>"
    },
    "name": "update_question"
  }
}

Input Schema

NameRequiredDescriptionDefault
optionsNoAnswer options. Required for single_select, multi_select, image_text, and ranking (min 2). Not used for file_upload.
event_idYesEvent UUID returned by search_events.
positionNoPosition of the question. Defaults to end of list.
survey_idNoSurvey UUID. Provide this or assessment_id to identify the question bank.
slider_maxNoMaximum value for slider questions.
slider_minNoMinimum value for slider questions.
question_idYesExisting question UUID.
is_mandatoryNoWhether the question is mandatory. Defaults to false.
rating_scaleNoRating scale (1-10). Required for rating questions.
rating_shapeNoRating shape: 0=Stars, 1=Thumbs, 2=Hearts, 3=Smiley. Required for rating questions.
assessment_idNoAssessment UUID. Provide this or survey_id to identify the question bank.
question_textYesThe question text. Required. If the user has not provided it, ask the user before proceeding. Never invent question text or use placeholder content.
question_typeYesType of question: single_select, multi_select, free_text, file_upload, image_text, rating, slider, ranking. Required. If the user has not provided it, ask the user before proceeding. Never assume a question type.
max_selectionsNoMaximum selections for multi_select questions.
min_selectionsNoMinimum selections for multi_select questions.
slider_step_upNoStep increment for slider questions.

Output Schema

NameRequiredDescriptionDefault
hintYes
messageYes
questionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds little beyond that: it does not say whether omitted optional fields are preserved or cleared, nor what happens to existing options when new ones are supplied — meaningful gaps for a mutation tool with 16 parameters.

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?

Two tight sentences with the action and its identifying constraint front-loaded; no redundant or filler wording.

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?

For a 16-parameter idempotent mutation with an output schema and full schema documentation, the description covers the essential identification rule and event scoping. It falls short of explaining merge-vs-replace semantics for options, which is the main residual ambiguity.

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 the schema already documents every parameter including the survey_id/assessment_id alternative. The description restates that either-or relationship but adds no format, ordering, or interaction detail beyond the schema baseline.

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?

States a specific verb (Update), resource (existing question), and the fields affected (text, type, options) scoped to a provided event. This clearly separates it from create_question or delete_question, though it never names those siblings explicitly.

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?

Gives a real precondition — supply either survey_id or assessment_id alongside question_id — which tells the agent what identifying context is needed. It offers no explicit guidance on when to choose update_question over create_question or delete_question, so usage is only implied from the existing-question framing.

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