Skip to main content
Glama

Get a problem

repovive_get_problem
Read-only

Fetch a complete contest problem including statement, input/output formats, constraints, limits, tags, sample tests, and workspace URL to prepare for solving or submitting.

Instructions

Fetch one contest problem in full: statement, input/output formats, constraints, time and memory limits, tags, sample tests with explanations, and the browser workspace URL. This is the tool to call before solving or submitting.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contest_idYesContest ObjectId (24 hex)
problem_slugYesProblem slug, e.g. 'maximum-triangle-perimeter'
response_formatNo'markdown' or 'json'markdown
include_hidden_testsNoInclude hidden (non-sample) test cases in the JSON, when the API exposes them. Default False.

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.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, and the description adds meaningful read-behavior context by promising the full problem contents plus the workspace URL in one call. It does not discuss response format or hidden-test details, but the output schema covers those, and there is no contradiction with the read-only annotation.

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 with no wasted words. The first sentence lists what is fetched, and the second front-loads the intended usage context. Every part earns its place.

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 read-only fetch tool with a rich output schema and fully documented parameters, the description provides enough context to select and invoke the tool correctly. It names the key contents and the appropriate moment to call it, so nothing essential is missing.

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 parameters are already well documented. The description does not add parameter-level meaning beyond the schema, but it does reinforce the tool's overall purpose. Baseline 3 is appropriate because the schema carries the burden.

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 the verb and resource: 'Fetch one contest problem in full,' followed by a concrete enumeration of what is included (statement, formats, constraints, limits, tags, samples, workspace URL). This distinguishes it from close siblings like repovive_list_contest_problems and repovive_get_problem_workspace_url without needing to open schemas.

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 explicitly tells when to call it: 'This is the tool to call before solving or submitting.' This is a strong usage cue, but it does not name alternatives or exclusions, so an agent must infer that listing problems or fetching only the workspace URL belongs to sibling tools.

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