Skip to main content
Glama

Set draft solutions

repovive_build_set_solutions
Idempotent

Attach a solution to a build draft with its expected verdict and set it as the main test solution. Use replace=False to append alternative solutions for testing.

Instructions

Attach a solution to a draft with its expected verdict (AC, WA, TLE, …) and, by default, make it the draft's main test solution. Set replace=False to keep the existing alternatives and append — useful for adding deliberately wrong or slow solutions that the test data must reject.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoName for this solution filemodel
sourceYesSolution source code
replaceNoReplace existing solutions (False appends to them)
languageNoLanguage name; one of: c, c++, cpp, java, py, pypy, pythonpython
session_idYesBuild session id
expected_verdictNoExpected verdict, e.g. 'AC'AC
also_set_test_solutionNoAlso set it as the draft's main test solution

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

A3.8/5.0
Behavior1/5

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

There is an annotation contradiction: destructiveHint is false, yet the description says replace=False keeps existing alternatives, implying that the default replace=True replaces or overwrites existing solutions. This is destructive behavior and conflicts with the annotation, which could mislead an agent into thinking the tool is safe to run without preserving existing data.

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?

Two dense sentences, no filler. The primary behavior is front-loaded, and the replace=False guidance is integrated naturally without bloating the description.

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 tool has rich schema coverage, an output schema, and a description that explains the core behavior and parameter intent. The main missing piece is an explicit statement that the default behavior replaces existing solutions, rather than relying on inference from 'Set replace=False to keep the existing alternatives'.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description adds value by explaining the intended meaning of expected_verdict with examples (AC, WA, TLE) and by framing replace=False as a way to append deliberately wrong or slow solutions. It does not repeat the schema verbatim.

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 a specific action: attaching a solution to a draft with an expected verdict and optionally making it the main test solution. It distinguishes itself from read-style siblings like repovive_build_get_solutions by focusing on the setting/attaching behavior.

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 a concrete use case: setting replace=False when adding deliberately wrong or slow solutions that test data must reject. It does not explicitly name alternatives or state when not to use the tool, so it falls short of a 5, but the guidance is clear and actionable.

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