Skip to main content
Glama

moodle_assignments

Read-onlyIdempotent

Retrieve Moodle assignments with due dates and your submission and grading status; filter by course or include past items to track deadlines and progress.

Instructions

Assignments with due dates and your submission and grading status. 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_assignments"
  }
}

Input Schema

NameRequiredDescriptionDefault
courseNo
include_pastNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.4/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 fully covered elsewhere. The description adds only that results span all courses by default; it says nothing about ordering, volume, or what the submission/grading status values look like.

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 short sentences, front-loaded with what the tool returns and followed immediately by the one scoping rule an agent needs. No filler wording.

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?

An output schema exists, so return-value detail is unnecessary, and the annotations cover the safety and idempotency picture. The remaining gap is the undocumented `include_past` parameter, which keeps it short of complete.

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 only documents one of two parameters: the empty-string default for `course`. The `include_past` flag is never explained, leaving half the inputs to inference from the parameter name alone.

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 specific resource (assignments) and the payload fields it carries (due dates, submission status, grading status), which is clear enough to distinguish it from conversation/forum/message tools. It lacks an explicit verb (it reads as a noun phrase rather than 'list assignments') and does not distinguish itself from overlapping siblings like moodle_deadlines or moodle_grades.

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?

The only usage instruction is 'Leave `course` empty for all courses', which is parameter guidance rather than when-to-use guidance. Nothing says when this should be chosen over moodle_deadlines or moodle_grades, and the meaning of include_past is never addressed.

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