Skip to main content
Glama

moodle_updates

Read-onlyIdempotent

Find what changed in Moodle courses over a set number of days, including new or updated files, forum posts, and grades. Filter by course or check all courses.

Instructions

What changed in your courses in the last days days (new or updated files, forum posts, grades, ...). Leave course empty for all courses.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "moodle_updates"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
courseNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds useful context that this is an aggregate across content types and defaults to a recent window. It does not say whether results are capped, paginated, or how far back the window may extend, which matters for a feed-style tool.

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 sentences, no filler, with the core purpose and the content-type examples front-loaded and the parameter hint placed second. Every clause earns its place.

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?

The tool is simple (two optional params, read-only, output schema present), and the description covers purpose and both parameters adequately; return values need not be explained given the output schema. The remaining gap is the identifier format for `course`, which an agent needs to call the tool correctly.

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 0%, so the description carries the burden, and it does explain both parameters: `days` is the lookback window and an empty `course` means all courses. However, it never states what form `course` takes (ID, shortname, or display name) or the units/limits on `days` beyond the default, leaving real ambiguity.

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?

The description names a concrete resource and scope: an activity digest of what changed in the user's courses over a day window, with examples of the content types included (files, forum posts, grades). That is far more specific than a tautology and lets an agent distinguish it from single-domain siblings like moodle_grades or moodle_forum. It stops short of 5 because it never explicitly contrasts itself with those siblings.

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: the digest framing plus 'Leave `course` empty for all courses' suggests 'call this to get a recent-activity overview.' There is no statement of when to prefer it over moodle_notifications, moodle_deadlines, or moodle_grades, and no exclusions or prerequisites.

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