Skip to main content
Glama

get_submission

Fetch a learner's submission by ID to review answer text, grading status, score, feedback, confidence, and its exercise chain. Supports grading and retrospective analysis.

Instructions

读回一份学习者提交: learner_answer 答案正文 / status 批改状态 (枚举 draft | submitted | pending_grade | graded) / agent_score / agent_feedback / 把握度 (confidence, 可空) / 所属 exercise 链 (exercise_id + exercise_prompt_excerpt + lesson_id + course_id)。批改与复盘的读回面 — 配合 get_exercise 取 reference_answer 后再 grade_exercise。只能读当前 pair 的提交, 其他 pair (或不存在) 的 submission_id 一律 NOT_FOUND。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
submission_idYes必填; 要读回的 submission id (sub_ 前缀), 须属当前 pair
Behavior5/5

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

Despite no annotations, the description thoroughly discloses behavior: it returns specified fields (including enum status, nullable confidence, exercise chain), and it states the crucial constraint that only the current pair's submission works—other or nonexistent submission_ids return NOT_FOUND. This goes well beyond a bare schema.

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?

Although a single long sentence, the description is densely packed and well-organized with slashes, enumerations, and an em-dash. Every clause adds functional information—return fields, statuses, nullability, scoping, and error behavior—with no filler.

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?

With no annotations and no output schema, the description fully compensates: it lists all return fields, specifies enum values, notes nullable confidence, explains the exercise chain, and discloses the NOT_FOUND behavior. It also positions the tool in a larger grading workflow, making it complete for its simplicity.

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 schema already fully describes the single parameter (submission_id, required, sub_ prefix, must belong to current pair). The tool description essentially restates the 'current pair' constraint without adding new semantic nuance. With 100% schema coverage, baseline 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 action ('读回' / read back) and resource (a learner's submission), listing the exact fields returned. It also distinguishes itself from siblings by framing it as the read-back side for grading and review, separate from get_exercise and grade_exercise.

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 context for when to use: it is for '批改与复盘' (grading and review), and it instructs to pair with get_exercise to fetch reference_answer then grade_exercise. It doesn't list exclusions but clearly frames the workflow and complementary tools.

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/sf-shenfeng/learn-shell'

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