Skip to main content
Glama

revise_student_mark

Modify a student's score or comment for a specific question. Optionally reopen submitted grades to make changes.

Instructions

修改学生某题分数/评语,可选重开已提交批阅并重新提交。

默认只覆盖未提交批阅中的单题分数。若成绩已经提交,调用方必须显式传
allow_reopen=true,工具才会先重开批阅。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scoreYes批改得分(0 ≤ score ≤ 该题满分,满分从 query_preview_student_paper 的 questions[].score 取)
commentNo批改评语(可为空)
group_idYes课程组id(通过 query_teacher_groups 获取)
answer_idYes学生单题答案id(来自 query_preview_student_paper 的 questions[].answer_id 字段)
record_idYes答题记录id(来自 query_test_result 的 answer_records[].record_id 字段)
publish_idYes发布id(来自 query_group_tasks 的 publish_id 字段)
question_idYes题目id(通过 query_paper 获取)
allow_reopenNo是否允许先重开已提交批阅。默认 false,避免无意修改已发布成绩;确认要改已提交成绩时设为 true。
mark_mode_idYes阅卷模式id(来自 query_test_result 的 mark_mode_id 字段)
submit_afterNo修改后是否立即重新提交整卷批阅。默认 false。
is_teacher_recheckNo重开时是否使用复评 reset 接口。仅 allow_reopen=true 时生效。
mark_paper_record_idYes批阅记录id(来自 query_preview_student_paper 的 mark_paper_record_id 字段)
Behavior4/5

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

With no annotations, description discloses key behavioral trait: default only modifies unsubmitted grading; submitted grading requires allow_reopen. Also mentions optional resubmit. Lacks broader context like permissions or rate limits, but covers the main behavioral quirk well.

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 concise sentences: first states purpose, second provides essential behavioral condition. No superfluous words, highly efficient.

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

Completeness3/5

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

For a complex tool with 12 parameters, the description gives the core behavior but omits details like interplay of is_teacher_recheck or conditions for submit_after. Adequate but could be more 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 coverage is 100%, so parameters are already fully documented. The description adds marginal value by contextualizing allow_reopen and submit_after but does not provide additional meaning beyond the schema.

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?

Clearly states '修改学生某题分数/评语' (modify student's score/comment for a question) and distinguishes from siblings like grade_student_question and submit_student_mark by focusing on revising an existing mark with optional reopen.

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

Usage Guidelines4/5

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

Provides clear guidance: default for unsubmitted grading, explicit allow_reopen=true for submitted grading. Implicitly suggests when to use but does not explicitly list alternatives or when not to use.

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/Sav1ouR520/xiaoya-teacher-mcp-server'

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