Skip to main content
Glama

Quiz settings

update_quiz_settings
Destructive

Updates quiz settings (title, language, display, navigation, time and response limits, captcha, theme, QR code, time to complete the quiz, IP / device rules, scheduled access, analytics and pixels, SSO, anonymous responses, category scoring, etc.). Only pass fields you want to change; all others are left unchanged.

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": {
      "quiz_id": "<quiz_id>"
    },
    "name": "update_quiz_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoSurvey UI language: ru, en, es, or pt.
nameNoQuiz title (max 255 characters).
quiz_idYesQuiz ID whose settings should be updated.
theme_idNoTheme ID: a public theme or a theme of the quiz workspace (integer ≥ 1).
info_titleNoTitle (meta, max 500 characters).
numerationNoEnable question numbering.
sso_activeNoRequire SSO sign-in before taking the quiz.
descriptionNoQuiz description (meta, max 5000 characters).
multiple_ipNoAllow completing the quiz from multiple IPs (otherwise one IP per completion).
show_by_oneNoShow one question per screen.
extra_fieldsNoList of hidden variables (extra fields): array of objects with id (UUID) and name (max 250 characters).
ip_blacklistNoBlocked IPs list (max 5000 characters).
ip_whitelistNoAllowed IPs list (max 5000 characters).
qr_code_sizeNoQR code size in pixels (1–1000).
show_captchaNoShow captcha when submitting a response.
use_passwordNoRequire a password to open the quiz.
fb_pixel_codeNoFacebook pixel id (max 100 chars).
qr_code_colorNoQR code color (max 50 characters).
schedule_daysNoWeekdays the quiz is available on: array of ISO numbers 1-7 (1 = Monday, 7 = Sunday).
show_navigateNoShow navigation (back / forward buttons).
qr_code_formatNoQR code file format: png, svg or eps. This is the quiz setting that is remembered; the code itself is built by manage_quiz_qr_code.
qr_code_marginNoQR code margin (0–100).
show_to_robotsNoWhether the quiz page is available to search engine crawlers.
correct_answersNoShow and use correct answers in the test scenario.
ip_list_enabledNoEnable filtering by IP lists (allow / block lists).
is_change_themeNoChange appearance theme based on data embedded in the QR code.
quiz_categoriesNoCategories for category scoring: array of objects { "id": "<string>", "name": "<title>" }. Order matters: on a score tie the earlier category wins. Category weights are set on widget options, not here.
scripts_in_bodyNoScript code injected into <body> (max 65535 characters). Stored without sanitization — content security is the responsibility of whoever renders the quiz.
scripts_in_headNoScript code injected into <head> (max 65535 characters). Stored without sanitization — content security is the responsibility of whoever renders the quiz.
category_scoringNoEnable category scoring: option scores are summed per category and the winning category is stored with the answer.
limit_time_valueNoEnd date/time for availability (max 50 characters; empty string resets).
matrix_transposeNoTranspose matrix questions in the report: rows and columns swap places.
schedule_enabledNoEnable scheduled access to the quiz (weekdays + time window).
schedule_time_toNoEnd of the availability window in H:i format (e.g. "18:00"). Interpreted in schedule_timezone.
scoring_switcherNoEnable the score summary toggle in the quiz.
show_progressbarNoShow a progress bar while taking the quiz.
sso_allow_retakeNoLet an SSO respondent take the quiz again.
available_devicesNoAllowed devices: array of desktop, mobile, tablet.
schedule_timezoneNoSchedule timezone, IANA identifier (e.g. "America/New_York").
answers_allow_editNoLet the respondent edit an already submitted answer. Works only together with SSO (sso_active) or e-mail verification (require_email_verification) — otherwise no edit link is issued.
auto_move_by_enterNoGo to the next question when Enter is pressed.
auto_save_progressNoAuto-save progress: the respondent can come back and continue where they left off.
captcha_public_keyNoCaptcha public key (max 500 characters).
captcha_secret_keyNoCaptcha secret key (max 500 characters).
close_quiz_enabledNoQuiz is closed (responses are disabled).
fb_pixel_is_activeNoEnable the Facebook pixel.
limit_message_bodyNoBody text of the message when the response limit is reached (max 5000 characters).
limit_time_enabledNoEnable a time window during which the quiz is available.
report_row_optionsNoReport row options: sort_mode (default, asc, desc) and value_format (both, count, percent). null returns the standard behaviour.
results_appearanceNoReport appearance of this quiz: palette_id, custom_colors, bar_color_mode, font_family, show_value_labels, show_grid_lines. null returns the standard look. Passing this object also turns results_appearance_use_shared off — otherwise the colors would not apply, because the shared account palette wins. Allowed values and the current account palette: get_workspace_report_appearance.
schedule_time_fromNoStart of the availability window in H:i format (e.g. "09:00"). Interpreted in schedule_timezone.
anonymous_responsesNoAnonymous responses: do not store respondent-identifying data.
limit_message_titleNoTitle of the message shown when the response limit is reached (max 500 characters).
limit_time_timezoneNoTimezone for the availability limit (max 100 characters).
limit_time_value_tzNoTime value including timezone (max 50 characters).
question_timer_modeNoPer-question countdown timer: individual, all_enabled, or all_disabled.
filling_time_enabledNoEnable a timer for time allowed to complete the quiz.
filling_time_secondsNoTime allowed to complete the quiz in seconds (0–86400).
question_random_modeNoWhat random order shuffles: all — the whole quiz, groups — only questions marked with randomGroupId (each set is shuffled across its own positions). Defaults to all.
session_check_methodNoSession validation methods: array of ip, cookie, extra_params.
allow_multiple_answerNoAllow submitting the quiz more than once (multiple completions).
disable_auto_redirectNoDisable automatic navigation after an answer.
google_analytics_codeNoGoogle Analytics id (max 100 chars).
question_random_orderNoShow questions in random order.
repeat_interval_hoursNoRepeat after an interval: a person may fill in the quiz again only N hours (1–8760) after their previous completed answer. Works only with allow_multiple_answer: true; null — no interval. The person is recognised by session_check_method (cookie and/or ip). Cannot be combined with sso_active, require_email_verification or the extra_params check method.
report_merge_versionsNoMerge question versions in the report: answers collected by different quiz versions are shown as one block.
allow_restart_progressNoLet a returning respondent start over instead of continuing an unfinished attempt. Works only together with auto_save_progress.
question_min_view_modeNoMinimum question view time before moving forward: individual, all_enabled, or all_disabled.
question_required_modeNoHow required questions work: individual, all_required, or all_optional.
question_timer_secondsNoQuestion timer duration in seconds (when question_timer_mode=all_enabled).
limit_answer_count_modeNoWhat counts toward the response cap: all (every record, including abandoned ones), completed (finished, screened-out included), completed_no_screenout (finished without screened-out). Default for new quizzes: completed.
scripts_in_body_enabledNoEnable executing scripts in body.
scripts_in_head_enabledNoEnable executing scripts in head.
google_analytics_versionNoGoogle Analytics version (max 20 chars).
limit_answer_count_valueNoMaximum number of responses (0–1000000).
qr_code_background_colorNoQR code background color (max 50 characters).
block_jump_to_prev_widgetNoBlock going back to the previous question (widget).
question_lock_answer_modeNoLock answer after responding: individual, all_enabled, or all_disabled.
question_min_view_secondsNoMinimum view time in seconds (when question_min_view_mode=all_enabled).
google_analytics_is_activeNoSend events to Google Analytics.
limit_answer_count_enabledNoEnable a cap on the maximum number of responses (completions).
multilogic_sequential_modeNoSequential multi-logic: several condition groups on one question are applied in order rather than only the first matching one.
question_timer_button_modeNoShow question on button click: individual, all_enabled, or all_disabled.
require_email_verificationNoRequire e-mail verification before the answer is submitted.
closed_quiz_message_enabledNoEnable the closed-quiz message.
results_appearance_use_sharedNoFollow the shared report palette of the account (update_workspace_report_palette). true — the quiz renders reports with the account palette; its own colors stay in place and come back when this is turned off.
anonymous_responses_show_labelNoShow the respondent a label saying the quiz is anonymous.

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?

The annotations already disclose readOnlyHint=false, destructiveHint=true, openWorldHint=true, and idempotentHint=false. The description adds important partial-update semantics and broad scope, but it does not explain side effects, permissions, or what specifically may be destructive when settings are changed.

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?

The definition is two sentences with the purpose front-loaded, and the partial-update rule is stated immediately after the scope list. The long parenthetical list and "etc." are slightly broad, but overall it is efficient and well structured.

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?

Given 87 parameters, full schema description coverage, and annotations covering the safety profile, the description is largely complete at the high level: it states the broad setting scope and partial-update behavior. It could better warn about interdependent settings and when to use sibling-specific tools, but the schema carries the detailed parameter semantics.

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 description coverage is 100%, so the baseline is 3. The description adds a meaningful semantic not obvious from the schema alone: omitted fields are left unchanged rather than reset, which is critical for interpreting all 86 optional parameters correctly.

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, "Updates," and the resource, "quiz settings," then enumerates setting categories such as title, language, display, navigation, limits, captcha, theme, and QR code. It is clear what the tool does, but it does not explicitly distinguish itself from sibling-specific tools like apply_quiz_theme or manage_quiz_qr_code.

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 useful partial-update guidance: "Only pass fields you want to change; all others are left unchanged." However, it does not state when to prefer this tool over sibling tools such as update_quiz_texts, update_quiz_widgets, update_quiz_logic, or apply_quiz_theme, nor does it provide exclusions.

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.