Skip to main content
Glama

Answer the current quiz question

answer_quiz_question
Destructive

Saves the answer of the customer to the current question of a quiz module, and returns the next question. Confirm the answer with the customer before you call this tool. Give the answer in the format that answer_format of the question names. A changed answer can remove the answers of questions that it hides, and it can restart the alignment of the couple. For the last screen of the quiz, give only the question_id: this finishes the module. The eligibility quiz finishes after its last question, and the result gives the next step and app_url. A result with status ineligible gives the reason and app_url: give both to the customer.

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>",
      "question_id": "<question_id>"
    },
    "name": "answer_quiz_question"
  }
}

Input Schema

NameRequiredDescriptionDefault
petsNo
valueNoThe value of an input question.
addressNo
productNoThe product line. Send it for the eligibility questions, and when the customer has more than one paid agreement.
option_idsNoThe selected option ids.
other_textNoThe text of the customer for the option Other.
module_slugYesThe slug of the quiz module, for example basic-information or financial-philosophy. Use eligibility, with product, for the eligibility questions before payment.
question_idYesThe question_id of the current question.

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

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

Annotations already flag destructiveHint=true and idempotentHint=false, and the description goes further by explaining what is destroyed: 'A changed answer can remove the answers of questions that it hides, and it can restart the alignment of the couple.' It also discloses terminal behavior (module/eligibility quiz ending) and the ineligible result contract, which annotations cannot convey.

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?

Five compact sentences that are front-loaded with the core action, followed by preconditions and edge cases. Dense but largely waste-free; the eligibility-result sentences could arguably be trimmed given the output schema exists.

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?

For a destructive, stateful quiz-advancement tool with 8 params, nested objects, and an output schema, the description covers preconditions, destructive side effects, the end-of-quiz path, and what to do with ineligible results. Nothing essential for correct invocation 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?

With 75% schema coverage and 8 parameters, the description still adds meaning beyond the schema: the answer payload format is dictated by the question's answer_format field, and on the last screen only question_id should be sent. It does not clarify the relationship among value, option_ids, other_text, and pets, but the schema descriptions carry most of that.

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 and resource: 'Saves the answer of the customer to the current question of a quiz module, and returns the next question.' The mention of returning the next question implicitly separates it from get_quiz_question and previous_quiz_question, though no sibling is named explicitly.

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 operational guidance: confirm the answer with the customer first, use the format named by answer_format, send only question_id on the last screen to finish the module, and pass product for eligibility questions. These are concrete when/how conditions rather than implied usage.

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