Skip to main content
Glama

finish

Submit a task answer to complete a study step, auto-grade against preset answer keys, and record coach judgments or mark open-ended responses for review.

Instructions

提交原答案。带预设答案键时自动判分;开放题可由教练提交 result 和 judge_reason,或留待复核。

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": {
      "task_id": "<task_id>"
    },
    "name": "finish"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNo
answerNo
resultNo
task_idYes
wrap_upNo
elapsed_sNo
judged_byNo
judge_reasonNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose meaningful behavior: automatic scoring and a deferral-to-review path. It says nothing about whether 'finish' is terminal, whether a submission can be revised, what role constraints apply, or what the response contains — significant gaps for a tool whose name implies finality.

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 sentence with two semicolon-linked clauses, front-loading the core action before the conditional grading branches. No filler, though the compression leaves several concepts unexplained.

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

Completeness2/5

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

For an 8-parameter, unannotated, no-output-schema tool, the description covers only the grading branch. Missing are submission finality/resubmission behavior, the meaning of half the parameters, role requirements implied by '教练', and any indication of what is returned.

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

Parameters2/5

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

Schema description coverage is 0% across 8 parameters, so the description must compensate and largely does not. It mentions only result, judge_reason, and implicitly answer/task_id; note, wrap_up, elapsed_s, and judged_by receive no explanation, and the enum value semantics for result are left to the schema alone.

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 names a concrete action (submitting the raw answer) and distinguishes the two grading paths: automatic grading when an answer key is preset, manual result submission for open-ended items. It does not distinguish itself from siblings such as judge_answer or attempt_log, so an agent must infer which submission-shaped tool applies.

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?

It gives usable internal branching (answer-key present → auto-grade; open-ended → coach supplies result/judge_reason, or defer to review), which is real guidance on how to call it. However, it offers no guidance on when to choose finish over the sibling grading/submission tools, and no prerequisites or exclusions are stated.

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