Skip to main content
Glama

submit_student_mark

Submit the overall mark for a student's exam paper after grading all manually scored questions. Writes the final grade to the student record.

Instructions

[批改 4/4] 提交整卷批阅结果。

调用前需对该卷所有需手工批改的题都执行过 grade_student_question;
本工具成功后成绩写入学生端。若之后确需修改,必须先调用 withdraw_student_mark 重开批阅。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
group_idYes课程组id(通过 query_teacher_groups 获取)
mark_mode_idYes阅卷模式id(来自 query_test_result 的 mark_mode_id 字段)
answer_record_idYes答题记录id(来自 query_test_result 的 answer_records[].record_id 字段)
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?

Without annotations, the description carries full burden. It discloses key behaviors: success writes scores to the student side (persistence), dependency on prior grading of all manual questions, and the need to withdraw before modifications. However, it does not mention error conditions or idempotency.

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?

The description is concise with only two sentences plus a preamble. It is front-loaded with the purpose in brackets, and every sentence adds value with no redundant 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?

Given the lack of annotations and output schema, the description covers prerequisites, effects, and related tools. It could mention potential error states or return values, but it is largely complete for a submission action.

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?

The input schema covers 100% of parameters with descriptions explaining source values (from other tools). The tool description does not add further parameter semantics beyond what the schema provides, so a baseline score of 3 is appropriate.

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's purpose: '提交整卷批阅结果' (submit entire paper marking results). It distinguishes itself from sibling tools like 'grade_student_question' (grades individual questions) and 'withdraw_student_mark' (reopens grading for modifications). The title and name also reinforce this purpose.

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?

The description provides explicit usage guidance: it must be called after all manually graded questions have been processed via 'grade_student_question', and if modifications are needed, 'withdraw_student_mark' must be called first. This covers when and how to use the tool, though it does not list alternative tools for other scenarios.

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