Skip to main content
Glama

list_moodle_assignments

Read-only

Lists Moodle assignments with deadlines, submission status, and grades; filter to missing-only work to find assignments that may not have been submitted.

Instructions

列作业截止、提交和成绩状态;missing_only 只看可能漏交。read_path 交给 read_file 读已交文件和反馈;assignment_id 用 cmid 查详情。仅截止用 list_moodle_due,仅成绩用 get_moodle_grades。

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": "list_moodle_assignments"
  }
}

Input Schema

NameRequiredDescriptionDefault
courseNo课程号,如 FIT2102;省略=全部
missing_onlyNotrue=仅可能漏交的作业
assignment_idNo作业活动 cmid;指定后读本人/小组已交文件和完整反馈

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.15.0
    • addedInput schema / properties / assignment_id
      Added value: +{
      +  "description": "作业活动 cmid;指定后读本人/小组已交文件和完整反馈",
      +  "type": "integer"
      +}
  2. Addedv0.1.4

TDQS

A4.5/5.0
Behavior4/5

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

readOnlyHint already covers the safety profile, and the description adds real context beyond it: it discloses a mode switch where supplying assignment_id changes the tool from a list into a per-assignment detail read (own/group submitted files plus full feedback), and it defines a handoff boundary to read_file. It does not mention result volume or pagination, so it stops short of full behavioral disclosure.

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?

Four dense clauses, front-loaded with the core purpose before the parameter notes and the sibling routing. Nothing is padded and every clause carries actionable information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only list tool with full schema coverage, the description supplies purpose, per-parameter behavior, sibling disambiguation, and downstream handoff. Nothing an agent needs in order to choose and call it correctly is missing, and no output schema is required since the returned fields are named.

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 all three parameters are already documented with the same cmid and missing_only semantics the description restates. The only added meaning is that assignment_id also triggers reading of submitted files and feedback, which is a modest supplement. Baseline 3 is appropriate when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb-plus-resource ('list assignments') and immediately enumerates the three data dimensions returned: deadlines, submission status, and grade status. An agent can distinguish it from list_moodle_due and get_moodle_grades from the description alone, without opening any schema.

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

Usage Guidelines5/5

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

Explicitly routes the agent: use missing_only for possibly-missed work, use assignment_id with a cmid for detail, use list_moodle_due for deadlines only, use get_moodle_grades for grades only, and hand off to read_file for submitted files and feedback. Both when-to-use and named alternatives are stated, with no inference required.

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