Skip to main content
Glama

moodle_assignment_status

Read-only

Retrieve the signed-in user's submission, grade, and teacher feedback for one Moodle assignment by assignid; optionally specify a site key or URL.

Instructions

Show the signed-in user's submission, grade and teacher feedback for one assignment.

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": {
      "assignid": "<assignid>"
    },
    "name": "moodle_assignment_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNoSite key or URL. Optional when only one site is logged in.
assignidYesassignid from moodle_assignments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

B3.2/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 a useful constraint beyond them, that results are scoped to the signed-in user's own submission, grade and feedback, but says nothing about behavior when no submission exists or how feedback is shaped.

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 zero filler; the resource and scope arrive immediately. Slightly terse for a read tool, 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?

For a two-parameter read-only tool with no output schema, the description covers what is returned (submission, grade, teacher feedback) and for whom. Missing only edge-case behavior such as unsubmitted assignments or multi-site ambiguity, which the schema partly handles.

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 100%, so both parameters (site, assignid) are already documented in the schema. The description adds only that exactly one assignment is targeted, which is baseline-consistent with high schema coverage.

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?

Specific verb ('Show') and a precise resource: the signed-in user's submission, grade and teacher feedback for one assignment. That scope ('the signed-in user's', 'one assignment') separates it from aggregate tools like moodle_course_grades and from moodle_assignments, though no sibling is named explicitly.

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 description gives no when-to-use or when-not guidance and names no alternative (e.g. moodle_assignments to obtain the assignid, or submission tools for writing). The only routing hint, 'assignid from moodle_assignments', lives in the schema rather than the description.

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