Skip to main content
Glama

MK 提交测验(拟真作答)

mk_submit_quiz

Submits icourse163 quizzes with realistic per-question delays, writes timestamped answers, adds a few intentional errors, and caps total session time to fit MCP timeouts.

Instructions

按真实节奏交卷:先写"打开测验"学习记录,然后逐题作答(每题 5-6s 基准波动,题干长则延长、短则缩短,真实时间戳写入答卷),故意错几道(默认约 25%,1-3 题),留检查间隔后提交。sessionSeconds 控制整场压缩到多少秒内(适配 MCP 超时,节奏比例保持不变)。

Input Schema

NameRequiredDescriptionDefault
unitIdYes
contentIdYes测验单元 contentId(=试卷 tid)
wrongCountNo故意做错的题数;'auto'=按 25%(1-3 题),或传数字(0=全对)auto
sessionSecondsNo整场作答压缩到的目标秒数

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full disclosure burden and does well: it reveals the deliberate side effect of injecting wrong answers (~25%, 1-3 questions), that real timestamps are written to the answer sheet, and that pacing is scaled to fit sessionSeconds. It doesn't state irreversibility of the submission, required auth, or rate limits, which keeps it from a 5.

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?

A single dense paragraph that front-loads the action sequence before the timing knob, and every clause carries information. It is tight but packed with parenthetical detail, which makes it slightly harder to scan than an ideal definition.

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?

For a mutation tool with no annotations and no output schema, the description covers the sequence, the intentional-wrong-answer behavior, and the timeout constraint. What's missing is what the caller gets back on success/failure and whether a submission can be re-run or undone, but the core behavior is adequately conveyed.

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 75%, so most parameters are documented. The description still adds value: it clarifies that sessionSeconds compresses the whole session while preserving relative pacing ratios – semantics beyond the plain min/max in the schema – and reinforces wrongCount's auto/25% behavior. unitId remains unaddressed in both places.

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 action chain: write an 'open quiz' study record, answer each question at a realistic pace with real timestamps, deliberately miss some questions, then submit. This is concrete enough for an agent to know exactly what the tool does. It doesn't explicitly contrast itself with a sibling (e.g. mk_get_quiz, which presumably fetches the paper first), so it stops short of a 5.

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 – the agent must infer that this is called after the quiz is known (likely after mk_get_quiz) and that sessionSeconds exists to fit MCP timeouts. There are no explicit when/when-not statements or named alternatives among the many mk_* siblings. The timeout-adaptation note is the only real usage context provided.

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