Skip to main content
Glama

Attempt review

moodle_get_attempt_review
Read-only

Retrieve a detailed review of one quiz attempt, including each question's text, answer, state, mark, feedback, and whether manual grading is required.

Instructions

Detailed review of a single attempt: per question text, answer given, state, mark, feedback, whether manual grading is needed.

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": {
      "attempt_id": "<attempt_id>"
    },
    "name": "moodle_get_attempt_review"
  }
}

Input Schema

NameRequiredDescriptionDefault
attempt_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

readOnlyHint=true and openWorldHint=true already establish the safety profile, and the description usefully discloses what content comes back per question, including the manual-grading flag. It does not mention error behavior for a nonexistent attempt_id, permission requirements (teacher vs. own attempt), or whether data is cached/live, all of which matter for an open-world read.

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?

One front-loaded sentence with no filler; the colon-delimited field list is efficient. Slightly dense but every clause maps to actual returned content rather than restating the name.

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 and a trivial input schema, the description carries the return-value burden well by enumerating the per-question fields, which is the main thing an agent needs to plan on. The only real gap is the provenance of attempt_id and access constraints.

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?

There is a single parameter, attempt_id, with 0% schema description coverage, so the schema says only that it is a positive integer. The phrase 'a single attempt' confirms the parameter identifies one attempt, but nothing tells the agent where to obtain that id (from get_quiz_grades, get_quiz_responses, etc.) or what happens with a foreign id.

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?

Names a specific action (detailed review) and a specific resource (a single attempt), then enumerates exactly what each question record contains: text, answer, state, mark, feedback, manual-grading flag. This clearly separates it from aggregate siblings like get_quiz_responses or get_quiz_grades, though it does not name those alternatives directly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is only implied — an agent can infer this is for inspecting one already-taken attempt, but there is no statement of when to prefer it over moodle_get_quiz_responses, moodle_get_quiz_grades, or moodle_get_question, and no prerequisites (e.g., grading must have occurred) are stated.

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