Skip to main content
Glama

moodle_quiz_attempt_review

Read-only

Read a finished quiz attempt to review questions, your answers, marks, and feedback so you can study mistakes. Shows only what the teacher allows and requires a completed attempt.

Instructions

Read a finished quiz attempt: questions, the user's answers, marks and feedback, for studying mistakes. Shows only what the teacher allows students to review. Does not work on attempts still in progress.

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": {
      "attemptid": "<attemptid>"
    },
    "name": "moodle_quiz_attempt_review"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNoSite key or URL. Optional when only one site is logged in.
attemptidYesattemptid from moodle_quizzes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so safety is covered structurally. The description adds meaningful behavior the annotations cannot: output is filtered by teacher review settings, and the call fails on unfinished attempts. Return-format detail (shapes, pagination) is absent but not critical here.

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?

Two tightly written sentences, front-loaded with the action and its return content, followed by the visibility constraint and the precondition. Nothing is wasted or repeated.

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 no output schema, the description does the required work by listing the returned elements and stating the teacher-visibility filter. For a read-only, two-parameter tool this is nearly sufficient; only the failure mode's shape (error vs empty result) is left unstated.

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% and both parameters are documented there, including the note that attemptid comes from moodle_quizzes. The description adds no further meaning about site selection or identifier sourcing, so the baseline 3 applies.

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?

Uses a specific verb+resource ("Read a finished quiz attempt") and enumerates what is returned: questions, the user's answers, marks and feedback. It implicitly separates itself from attempt-data/attempt-summary siblings by stressing a finished attempt and review-oriented fields, but it never names an alternative tool, so differentiation relies on inference.

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 a clear use case ("for studying mistakes") and an explicit exclusion: attempts still in progress are unsupported. It stops short of routing the agent to a specific alternative for in-progress attempts, which would be the 5-level signal.

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