Skip to main content
Glama

moodle_deadlines

Read-only

Lists upcoming deadlines and overdue activities across all Moodle courses, with configurable lookahead and past-day ranges to track what needs attention.

Instructions

List upcoming deadlines and overdue activities across 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_deadlines"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoHow many days ahead to look.
siteNoSite key or URL. Optional when only one site is logged in.
past_daysNoHow many days back to look for overdue work.

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 this is a read-only, open-world operation, so the safety profile is covered. The description adds the useful scope note that results cross all courses, but says nothing about which activity types are included, whether results are merged/sorted, or how defaults shape the window. Adequate but not rich.

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?

One sentence, front-loaded with the verb and the two result categories, with zero filler. Nothing could be cut without losing meaning.

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?

For an optional-parameter, read-only aggregation tool with full schema coverage and no output schema, this is close to sufficient. What is missing is a hint about which activity types feed the list (assignments, quizzes, forums) and how the two time windows combine, which an agent would need to set 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%, so the schema already explains days, past_days, and site with defaults and bounds. The description's 'upcoming' and 'overdue' phrasing loosely maps to the two window parameters but adds no syntax, default behavior, or interaction detail beyond the schema. 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?

A specific verb-and-resource statement ('List upcoming deadlines and overdue activities across all courses') that tells an agent exactly what it retrieves and that it spans all courses rather than one. It does not distinguish itself from near neighbors like moodle_assignments or moodle_assignment_status, leaving the agent to infer the difference.

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?

The time-window framing (upcoming vs overdue) implicitly signals when this tool is the right choice over a full assignment listing, but there is no explicit when-to-use, when-not-to-use, or named alternative. Usage has to be inferred from the purpose sentence.

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