Skip to main content
Glama

moodle_quizzes

Read-only

List a course's quizzes with time limits and dates, plus the signed-in user's attempts and scores to track deadlines and results.

Instructions

List a course's quizzes with time limits and dates, plus the signed-in user's attempts and scores.

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": {
      "courseid": "<courseid>"
    },
    "name": "moodle_quizzes"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNoSite key or URL. Optional when only one site is logged in.
courseidYesCourse id from moodle_list_courses.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description adds genuinely useful scoping context, namely that attempts and scores are the signed-in user's own and not the whole cohort, but says nothing about pagination, volume, or result shape.

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?

A single front-loaded sentence with no filler, delivering the object, the fields, and the user scope in one pass. Slightly dense but nothing is wasted.

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?

A read-only list tool with full schema coverage and annotations that handle the safety profile; with no output schema the description appropriately signals the returned fields. Adequate for correct invocation, short only on paging or volume expectations.

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 are documented, including the pointer to moodle_list_courses for the course id, so the schema carries the load. The description adds the notion of per-user scoping but no further syntax or format detail; 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?

States a specific verb and resource ("List a course's quizzes") and enumerates what is returned: time limits, dates, the signed-in user's attempts and scores. That is enough to separate it from the quiz_attempt_* siblings, though it never names them explicitly.

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 it should be used to survey quizzes in a given course before drilling into attempts. There is no explicit when-not guidance and no reference to alternatives such as moodle_quiz_attempt_summary or moodle_deadlines.

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