Skip to main content
Glama

codebreaker_submit

Submit a solution for automated evaluation on Codebreaker. Supports Python 3 and C++ 17, with optional second program for communication problems.

Instructions

Submit a solution for evaluation.

Submissions are automatically spaced ~2s apart. Returns the submission id; call codebreaker_wait_submission on it to get verdicts. For Communication problems pass code_b (two programs are graded together).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
code_bNo
languageYes
problem_idYes
Behavior4/5

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

The description discloses useful behavioral details beyond the annotations: automatic spacing, the return of a submission ID, and the need to poll with wait_submission. It also notes the special case for Communication problems. No contradiction with annotations (openWorldHint=true, destructiveHint=false).

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: three sentences, front-loaded with the main action, followed by necessary caveats and usage instructions. Every sentence adds value with no redundancy or fluff.

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?

The description is complete enough for a submission tool: it covers the return value, how to retrieve verdicts, rate limiting, and a special parameter case. It does not describe error handling or response format, but given the simple schema and sibling tool context, this is a minor gap.

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?

With zero schema description coverage, the description compensates by explaining the optional code_b parameter and its purpose. However, it does not add meaningful detail for problem_id, language, or code (which are fairly self-explanatory), so it provides partial but not complete parameter semantics.

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 opens with 'Submit a solution for evaluation,' a specific verb and resource that clearly distinguishes this tool from the sibling get/list/wait tools. It unambiguously identifies the tool's primary function.

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 clear usage context: it mentions the 2-second spacing, instructs to call codebreaker_wait_submission on the returned ID, and explains when to pass code_b for Communication problems. It lacks explicit when-not-to-use guidance, but as the only submission tool, no alternative is needed.

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