Skip to main content
Glama

moodle_quiz_attempt_summary

Read-only

Retrieves all question statuses for a quiz attempt, including unanswered questions, so you can verify progress before finishing the attempt.

Instructions

Read all question statuses before finishing an attempt, including unanswered questions.

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_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNo
attemptidYes
preflightdataNoAccess declarations required by Moodle. Enter passwords in the browser, never in chat.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The one behavioral fact the description adds beyond that is that unanswered questions are included in the result, which is useful. It says nothing about whether the call is required before submission, what happens on an invalid attemptid, or anything about the preflight/auth flow.

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 short sentence with no filler, and the operative constraint ('before finishing an attempt') is front-loaded after the verb. It is arguably too terse for the information the agent needs, but there is no wasted wording.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 should at least characterize what 'question statuses' looks like, and it doesn't. For a read-only three-parameter tool the safety side is fine via annotations, but the omission of any return-shape or attemptid-scoping detail leaves a real gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 33%: attemptid and site carry no documentation at all. The description mentions no parameters, so it does not compensate — a caller gets no hint that attemptid must identify a live in-progress attempt or what site is for. Only preflightdata is explained, and that is in the schema, not the description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a verb ('read') and a resource ('all question statuses'), which is better than tautology, but it never confirms that this is an attempt-level summary keyed by attemptid, so the name and the sentence don't quite line up. An agent can guess it is a pre-submission status read rather than a submit, but the exact scope (one attempt? all attempts?) is left implicit.

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?

It supplies a timing cue, 'before finishing an attempt', which is genuine when-to-use guidance. It does not name any alternative such as moodle_quiz_submit_attempt or moodle_quiz_attempt_review, and gives no when-not-to-use condition, so the routing logic is only implied.

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