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.

Create Question

create_question

Add a question to a survey or assessment in the provided event. Provide either a survey_id or assessment_id plus the question text and type.

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_text": "<question_text>",
      "question_type": "<question_type>"
    },
    "name": "create_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.
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 disclose that this is a non-readonly, non-destructive, non-idempotent mutation. The description adds event scoping and the survey_id/assessment_id choice, but it does not describe side effects, validation failures, or what happens to an existing question bank.

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 two tight sentences with the core action and key identifier requirements front-loaded. There is no filler or redundant explanation.

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 fifteen-parameter mutation with full schema coverage and an output schema, the description covers the essential creation context: event, survey or assessment, question text, and type. It could say more about conditional option requirements, but the schema already carries that detail.

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 all fifteen parameters. The description only reinforces the required event, bank identifier, question text, and type without adding meaning beyond the schema.

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?

The description uses a specific verb and resource: "Add a question to a survey or assessment." It is clear that this is a creation tool, though it does not explicitly differentiate itself from siblings such as update_question or read_question_bank.

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?

It states the basic usage context: add a question to a survey or assessment in an event, and provide either survey_id or assessment_id plus question text and type. It does not explain when to use this instead of update_question, read_question_bank, or other related tools.

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