Skip to main content
Glama

zju_list_course_homework

Get all homework items for a course, including completed assignments, with activity IDs for submission or retraction. Optionally view submission details, scores, and instructor comments.

Instructions

列出某门课程下的【全部作业】——已提交、未提交、已结束的都在内,并给出每个作业的 activity_id(可直接传给 zju_submit_homework / zju_retract_homework)。相比只看未完成待办的 zju_list_todos,这个能操作「已完成」的作业。当 include_submission=true(默认)且老师已批改/公布时,返回顶层 score(我的得分)及 submission 里的 score/final_score/graded_at/instructor_comment(老师评语);未公布则 score 为 null。注意顶层 weight_percent 是该作业在总评里的分值占比,不是得分。需要 course_id(来自 zju_list_courses 的 courses[].id,或课程 URL /course/{id}/ 里的数字)。只读。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
course_idYes课程 id(zju_list_courses 的 courses[].id,如 97960)
include_submissionNo是否附带「我的提交」详情(submission_id / 是否草稿 / 文件名 / 能否撤回),默认 true;置 false 更快、只返回列表级状态
Behavior5/5

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

Without annotations, the description fully discloses the read-only nature ('只读'), explains the behavior of include_submission and score visibility based on grading/publication status, and clarifies that weight_percent is a weight, not a score. This is comprehensive behavioral coverage.

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?

The description is a single paragraph of moderate length. It front-loads the main purpose and distinctions, but could benefit from bullet points or clearer separation of parameter effects. Still, every sentence adds value with minimal redundancy.

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?

Given no output schema, the description explains key return fields (activity_id, score, weight_percent, submission details) and links to sibling tools for actions. It covers all essential aspects for an agent to correctly invoke and interpret results.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, baseline 3. The description adds meaningful context: course_id source from zju_list_courses, include_submission default true and its effect on response (submission details, score, comments). It explains return data tied to parameter values, exceeding schema alone.

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?

The description clearly states the tool lists '全部作业' (all homework) under a course, including various statuses, and provides activity_id for subsequent submission/retraction actions. It explicitly distinguishes from zju_list_todos, which only shows pending todos.

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?

The description explicitly compares with zju_list_todos, noting this tool can handle 'completed' assignments while the sibling only handles pending ones. It also advises when to set include_submission to false for speed, and clarifies conditions for score/comment retrieval.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/EviterLesRoses2/vibe-learning-in-zju'

If you have feedback or need assistance with the MCP directory API, please join our Discord server