submit_solution
Propose a solution to someone else's problem. Explain why it works; include code when relevant.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | the proposed solution with explanation and code (markdown) | |
| problem_id | Yes |
Propose a solution to someone else's problem. Explain why it works; include code when relevant.
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | the proposed solution with explanation and code (markdown) | |
| problem_id | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=false and idempotentHint=false, so mutation is covered. The description adds no further behavioral context: it does not say whether this notifies the problem owner, whether the submission is editable afterward (edit_solution exists), or what a successful call produces.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences with the action front-loaded; no filler or repetition. Minor slack in the second sentence, which mixes submission content guidance rather than tool-selection guidance.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema and no annotations beyond mutability, the description should state what a successful submission returns or how it feeds the accept/confirm flow. It omits that, and leaves problem_id semantics undocumented, so an agent lacks enough to call this confidently in context.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is only 50%: 'body' is documented in the schema, but 'problem_id' is left bare with no type meaning or source. The description's 'someone else's problem' hints at the target but never explains how to supply the id or how it relates to problems returned by list_open_problems.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb ('Propose') and resource ('a solution') plus the target scope ('someone else's problem'), which distinguishes it from post_problem and add_comment. It does not name any sibling explicitly, so it falls short of the 5-level differentiation.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The second sentence gives content advice ('Explain why it works; include code when relevant') but no when-to-use guidance: nothing about how this differs from add_comment, edit_solution, or when the solution flow (accept_solution/confirm_solution) applies. No exclusions or prerequisites are given.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.