Skip to main content
Glama

列出作业

lexue_list_assignments
Read-onlyIdempotent

Retrieve assignments for a specified course, including each assignment's submission and grading status, to help teachers review course work and track pending grading.

Instructions

读取指定课程的作业列表及其显示的提交、待批改状态。

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": {
      "courseId": "<courseId>"
    },
    "name": "lexue_list_assignments"
  }
}

Input Schema

NameRequiredDescriptionDefault
courseIdYes新乐学课程编号,例如 lexue_list_courses 返回的 courseId

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds only that the returned entries carry displayed submission and pending-grading status, which mildly enriches expectations but says nothing about ordering, pagination, or scope limits.

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 action and resource, no redundant restatement of the tool name or title, and no filler. Every clause contributes scope or payload information.

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?

This is a simple single-parameter read tool, annotations cover the safety profile, and the description conveys both what is read and roughly what comes back. What remains missing (result ordering, whether archived assignments appear) is minor for a tool of this complexity.

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?

There is a single parameter and schema description coverage is 100%; the schema already explains courseId format and points to lexue_list_courses as its source. The description names the course scoping but adds no syntax or provenance detail beyond the schema, so the 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?

The description states a specific verb and resource: reading the assignment list ('作业列表') of a designated course ('指定课程'). It also hints at the payload (submission / pending-grading status), which helps distinguish it from lexue_list_submissions, but it never names a sibling or explicitly draws that boundary.

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?

Usage is only implied by the phrase '指定课程' — an agent can infer it belongs in a per-course flow after lexue_list_courses. There is no explicit statement of when to prefer this over lexue_list_submissions or lexue_get_activity, and no preconditions or exclusions are given.

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