Skip to main content
Glama

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.

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.5/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-idempotent, non-destructive mutation, so the safety profile is covered. The description contributes the event-scoped, either-bank requirement but doesn't explain side effects, whether position defaults to the end, or what happens to ordering. Adequate, not rich.

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 sentences, zero filler, with the core action and the key identifier requirement front-loaded. Every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values needn't be explained, and the schema documents the type-specific parameters. Still, for a 15-parameter tool where question_type silently determines which of options, rating_scale, slider_min/max, min/max_selections are required, the description gives no signposting to that coupling, leaving a meaningful gap.

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 coverage is 100%, so every parameter already has a description (including the survey_id/assessment_id either-or rule the description repeats). The description adds no extra meaning about type-dependent requirements, which is the main semantic burden for this tool. Baseline 3 applies.

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 states a specific verb and resource ('Add a question to a survey or assessment') and scopes it to an event, which is clear enough for an agent to distinguish it from create_survey or update_question. It stops short of explicitly naming sibling alternatives, so it doesn't reach a 5.

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 gives a prerequisite-style cue ('Provide either a survey_id or assessment_id plus the question text and type') but says nothing about when to use this versus update_question, create_survey, or create_poll, and offers no exclusions. Usage is implied rather than stated.

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