Skip to main content
Glama

Submit a solution

repovive_submit_solution

Submit source code to a contest problem and receive the judge's final verdict, including passed and total counts, with optional polling until completion.

Instructions

Submit source code to a contest problem and, by default, poll until the judge returns a final verdict. This records a REAL submission on the authenticated Repovive account and counts against the ~10 submissions/minute limit — verify locally with repovive_judge_solution first. Returns the submission id, verdict and passed/total.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
waitNoPoll until the verdict is final
sourceYesSolution source code
languageNoLanguage name; one of: c, c++, cpp, go, java, javascript, py, pypy, pypy3, python, python3, rust, typescriptpypy
timeout_sNoMax seconds to wait for the verdict
contest_idYesContest ObjectId (24 hex)
problem_slugYesProblem slug, e.g. 'remainder-count'

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

The description adds substantial behavioral context beyond the annotations: it discloses that this is a real submission with side effects, counts against a rate limit, polls by default, and returns the submission id, verdict, and passed/total. This aligns with readOnlyHint=false and idempotentHint=false, with no contradiction.

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?

Three sentences, each earning its place: the action and default behavior, the critical side-effect and rate-limit warning with the safer alternative, and the return value summary. Information is front-loaded and there is 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?

The description covers the essential operational context: real submission, rate limit, local verification, polling default, and return fields. Given the output schema exists and the input schema documents parameters, nothing critical is missing for an agent to call this tool safely.

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?

Schema description coverage is 100%, so the input schema already documents all six parameters. The description clarifies the default polling behavior and timeout context, but it does not add meaningful new meaning about individual parameters beyond what the schema provides.

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 states a specific verb and resource ('Submit source code to a contest problem') and clearly differentiates from sibling repovive_judge_solution by noting this records a REAL submission on the account. It also states the polling behavior and return contents, so an agent can identify the tool's purpose without ambiguity.

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?

Explicit guidance is given: 'verify locally with repovive_judge_solution first' names the alternative and the condition for using it. The warning about the ~10 submissions/minute limit also tells the agent when this tool is appropriate versus safer local verification, leaving no inference required.

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/dwin-gharibi/repovive-mcp'

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