Skip to main content
Glama

Go back one quiz question

previous_quiz_question
Read-only

Moves a quiz module back one question, as the Back button of the app does, and returns that question. It saves no answer, and it changes only the position in the quiz. Use it when the customer wants to change an earlier answer.

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": "previous_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.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and idempotentHint=false, so the safety profile is covered; the description adds the substantive detail that no answer is saved and only quiz position changes, which explains why the call is non-idempotent. It does not cover edge behavior such as what happens when already at the first question.

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?

Three short sentences, each carrying distinct information: what it does, what it does not persist, and when to reach for it. The action is front-loaded with no filler.

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?

With an output schema present, the return value needs no further explanation, and the state-change semantics are clear. The only gap is boundary behavior at the start of the quiz, which an agent may want to know before calling.

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% and both parameters (module_slug, product) are documented there, including when to send product. The description adds no parameter-level meaning, so the baseline of 3 applies.

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?

"Moves a quiz module back one question ... and returns that question" gives a specific verb (move back), a specific resource (quiz question), and the return value in one clause. The Back-button analogy makes the direction of movement unambiguous against siblings like get_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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"Use it when the customer wants to change an earlier answer" states a clear triggering condition, and the Back-button framing implies the read-only alternative (get_quiz_question) without naming it. No explicit exclusion such as "do not use to view a question without moving" is given, which keeps it just below a 5.

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