Skip to main content
Glama

edubase_delete_quiz_results_play

DestructiveIdempotent

Archive or forget a quiz play result to remove it from result lists and reports; archived exam results remain restorable, while non-exam results are detached from the user.

Instructions

Archive or forget the result of a Quiz play. An exam result is archived: it disappears from the result lists and the reports of the exam, but it is kept and can be restored by adding the archived user back to the exam. A result outside of an exam is forgotten: the play is detached from the user and only kept for the statistics. Exam results can only be archived when archiving is enabled for the exam (see the archive setting of edubase_post_exam_settings), and only the current result of the user can be archived. Approved and certified results need forced archiving. Results outside of an exam can only be forgotten by administrators.

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": {
      "play": "<play>"
    },
    "name": "edubase_delete_quiz_results_play"
  }
}

Input Schema

NameRequiredDescriptionDefault
playYesQuiz play identification string

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.2.15

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the annotations: it explains that archiving hides the result from lists and reports while preserving it and allowing restoration by re-adding the user, whereas forgetting detaches the play from the user and retains it only for statistics. The 'forced archiving' rule for approved/certified results and the admin-only restriction are behavioral details an agent cannot infer from destructiveHint=true alone.

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-loads the action and the two outcomes, then layers preconditions. Dense but every sentence carries real information; the only weak spot is the unexplained 'forced archiving' phrase, since no force parameter exists to act on it.

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?

For a one-parameter destructive tool with no output schema, the description covers effects, reversibility, preconditions, and authorization. It leaves open how an agent actually performs 'forced archiving' for approved/certified results and what a failure looks like, which is a modest 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% for the single 'play' parameter and the description adds only indirect meaning — that the play's exam membership determines whether the archive or forget path applies. No syntax, format, or identifier guidance beyond the schema. Baseline 3 is appropriate.

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 effect ('Archive or forget the result of a Quiz play') and immediately splits it into two concrete modes with different outcomes. An agent can tell this mutates a play's result rather than the quiz, exam, or settings, though it never names the read-side sibling (edubase_get_quiz_results_play) it complements.

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?

Gives clear preconditions: archiving requires the exam's archive setting to be enabled, only the user's current result can be archived, and results outside an exam can only be forgotten by administrators. What it lacks is explicit routing — it never says 'to read a result use X' or 'to delete the whole quiz use Y'.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools