Skip to main content
Glama

Get the current quiz question

get_quiz_question
Read-onlyIdempotent

Returns the current question of a quiz module of the customer: the text, the options with their ids, the format of the answer, the saved answer, and the progress. Ask the customer the question, then call answer_quiz_question. The result can include notes: the text of the information screens before the question. Give the notes to the customer. This tool saves no answer, but it moves the quiz past the information screens. A result with status allocation gives items that the customer picks one by one with set_allocation. A result with status in_app is a question that the customer answers in the app, at app_url. A result with status complete means that the module is finished. For the eligibility quiz, give the customer next_step and app_url of a result with status complete or ineligible.

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": {
      "module_slug": "<module_slug>"
    },
    "name": "get_quiz_question"
  }
}

Input Schema

NameRequiredDescriptionDefault
productNoThe product line. Send it for the eligibility questions, and when the customer has more than one paid agreement.
module_slugYesThe slug of the quiz module, for example basic-information or financial-philosophy. Use eligibility, with product, for the eligibility questions before payment.

Output Schema

NameRequiredDescriptionDefault
bodyNo
kindNo
petsNo
itemsNoThe items of an allocation question. picked is false until the customer picks.
notesNo
titleNo
statusYes
app_urlYes
optionsNo
progressNo
subtitleNo
next_stepNo
field_labelNo
module_slugYes
question_idNo
module_stateNoThe state of the module for a write of the customer. open: a write saves. edit_restarts_alignment: a write saves, restarts the alignment of the couple, and can email the partner. Tell the customer this and get a yes before the write. closed: the tools refuse a write. Do not collect values. Give the customer next_step_url.
saved_answerNo
answer_formatNo
next_step_urlNoOnly for a closed module: the app page that shows the next step.
allocation_kindNo
educational_copyNo
waiting_for_partnerNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), yet the description adds non-obvious behavior: the tool saves no answer but does advance the quiz past information screens, and notes must be relayed to the customer. That side effect is exactly the kind of detail annotations cannot express.

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 what is returned, then organized by status outcome, with each sentence carrying operational instructions. It is long, but the length is driven by distinct status branches rather than filler; only the repeated eligibility guidance is slightly redundant.

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?

Even though an output schema exists, the description explains how to interpret status values and which downstream tool each implies, which is the piece an agent needs to act correctly. Nothing material for invoking or following up on this tool is 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 100%, so the baseline is 3; the description adds meaning by explaining when product must be sent for eligibility questions and by pointing at the eligibility module usage. It stops short of describing slug formatting beyond what the schema already says.

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 and resource (returns the current question of a quiz module) plus the exact payload fields returned: text, options with ids, answer format, saved answer, progress. It is clearly distinguishable from previous_quiz_question and answer_quiz_question.

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?

Gives explicit sequencing: ask the customer the question, then call answer_quiz_question. It also routes by result status — set_allocation for allocation results, in-app answering at app_url for in_app results, and handing next_step/app_url for eligibility. Alternatives and their triggering conditions are named, not left to inference.

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