Skip to main content
Glama

moodle_deadlines

Read-onlyIdempotent

Retrieve upcoming Moodle assignments, quizzes, and course events for a specified number of days to track deadlines and plan your schedule.

Instructions

Upcoming deadlines and calendar events (assignments, quizzes, course events) for the next days days.

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
daysNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds useful scope context by bounding results to a forward-looking window and listing the event categories. It omits behaviors an agent may care about, such as whether overdue items are included or how results are ordered.

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 front-loaded sentence with the resource first and the time-window qualifier second; every clause earns its place and nothing is padded.

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 only one optional parameter, an output schema present, and full annotation coverage, the description covers the essentials. It still leaves open the inclusion of past-due items and result ordering, which matter for a deadline tool an agent will summarize to a user.

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 coverage is 0% for the single `days` parameter, so the description must carry the meaning, and it does define it as the forward lookahead window in days. However it does not state whether the window starts today, whether it can be negative or zero, or how it interacts with the default of 60 in the schema.

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 (upcoming deadlines and calendar events) and enumerates the included item types (assignments, quizzes, course events), so an agent can tell it apart from a general listing tool like moodle_assignments. It stops short of explicitly contrasting itself with any sibling, which keeps it from a 5.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance and no named alternative; the agent must infer from 'upcoming' that this is the time-windowed view. Nothing tells the caller whether to prefer moodle_assignments or moodle_updates for related data.

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