Skip to main content
Glama

codebreaker_get_submission

Read-only

Get complete submission results: score, per-testcase verdicts, times, memory, compile errors, and submitted code. Also indicates if grading is still pending.

Instructions

Get full submission results: score, per-subtask and per-testcase verdicts (AC/WA/PS/TLE/MLE/RTE/UG/:(), times and memory, compile error if any, and the submitted code (only for your own submissions).

pending=true means grading is not finished — use codebreaker_wait_submission instead of polling manually.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
submission_idYes
Behavior5/5

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

The description discloses important behavioral details beyond the readOnlyHint annotation: the submitted code is only available for your own submissions, and the pending=true state indicates incomplete grading. These are not inferable from the annotation alone, adding genuine transparency.

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 two sentences, front-loaded with the main purpose (get full submission results) and then a concise caveat about pending submissions. Every sentence earns its place, with no fluff.

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?

For a simple one-parameter tool, the description covers the return structure comprehensively (score, per-subtask/per-testcase verdicts, times, memory, compile error, code), plus the ownership constraint and pending behavior. Since there is no output schema, this is fully sufficient.

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?

The description does not add any meaning to the submission_id parameter; it only appears in the schema as an integer with no further explanation. With 0% schema description coverage, the description should compensate but does not clarify where the ID comes from or any constraints beyond its name.

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 uses a specific verb 'Get' and clearly lists all elements of the full submission results (score, verdicts, times, memory, compile error, code). It also distinguishes itself from siblings like codebreaker_list_submissions and codebreaker_wait_submission by explicitly stating the full result scope and the pending condition.

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

Usage Guidelines5/5

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

The description provides explicit guidance: when pending=true, use codebreaker_wait_submission instead of polling manually. This names the alternative tool directly and gives a clear condition for when to use it, which is excellent usage guidance.

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/yuzu-octopus/Codebreaker_Solver'

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