Codeforces MCP Server
Server Details
Search Codeforces problems and inspect public problem metadata through the official Codeforces API.
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
- Repository
- ketherworks/codeforces-mcp-server
- GitHub Stars
- 0
- Server Listing
- Codeforces MCP Server
Glama MCP Gateway
Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.
Full call logging
Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.
Tool access control
Enable or disable individual tools per connector, so you decide what your agents can and cannot do.
Managed credentials
Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.
Usage analytics
See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.
Tool Definition Quality
Average 3.5/5 across 4 of 4 tools scored. Lowest: 2.4/5.
Each tool targets a distinct function: metadata retrieval, capabilities reporting, health checking, and problem search. No overlap in purpose.
Mixes 'codeforces_' and 'oj_' prefixes inconsistently. Some tools use verb_noun pattern (get_metadata, search_problems), while others are just nouns (capabilities, health).
With only 4 tools, the server feels under-scoped for a Codeforces API, but the tools provided are non-trivial and justified as a minimal set.
Missing essential Codeforces operations like submitting code, viewing user info, or contest details, leaving significant gaps for an agent.
Available Tools
4 toolscodeforces_get_problem_metadataGet Codeforces Problem MetadataARead-onlyIdempotentInspect
Get official metadata only. This tool does not return a problem statement or submit code.
| Name | Required | Description | Default |
|---|---|---|---|
| nativeId | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already indicate readOnlyHint=true and destructiveHint=false. The description adds value by specifying that the tool returns only metadata, not the problem statement or code submission capability, providing helpful context beyond annotations.
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 sentences with no extraneous information. The key message is front-loaded, and every word serves a purpose.
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?
Given the presence of an output schema (not shown but stated), the description does not need to detail return values. The tool is simple with one parameter and good annotations. The description is sufficient for a metadata retrieval tool.
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?
The input schema has one parameter 'nativeId' with constraints (min/max length) but no description. The tool description does not elaborate on what 'nativeId' represents, leaving the agent to infer its meaning. Schema coverage is 0%, and the description fails to compensate.
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?
Description clearly states the verb 'Get' and the resource 'official metadata only'. It explicitly differentiates from what it does not do (return problem statement or submit code), effectively distinguishing from sibling tools like oj_search_problems.
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 description does not specify when to use this tool versus alternatives. It only states what it does not do, leaving the agent without clear guidance on appropriate use cases.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
oj_capabilitiesCodeforces Provider CapabilitiesARead-onlyIdempotentInspect
Report audited Codeforces official API capabilities and unsupported operations.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Description adds useful context beyond annotations: 'audited' implies manual review and 'unsupported operations' indicates listing of failures. Annotations already declare readOnlyHint, idempotentHint, destructiveHint, and the description aligns without contradiction.
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?
Single short sentence of 12 words that is front-loaded and conveys the core purpose without any fluff. Every word earns its place.
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?
Given no parameters, rich annotations, and existing output schema, the description fully captures the tool's purpose and outputs. It explicitly mentions both capabilities and unsupported operations, which is sufficient for a capabilities report.
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?
Tool has zero parameters, so baseline is 4. No parameter information needed; description does not address parameters which is appropriate.
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?
Description clearly states the tool reports audited capabilities and unsupported operations for the Codeforces official API. It uses specific verb 'report' and specifies the resource, distinguishing it from sibling tools like codeforces_get_problem_metadata or oj_search_problems.
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?
No guidance on when to use this tool over alternatives or any prerequisites. The description does not mention context for usage, such as initial setup or comparing with other tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
oj_healthCodeforces Provider HealthCRead-onlyIdempotentInspect
Return passive transport, schema, and persisted Codeforces upstream health.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already indicate read-only, idempotent, non-destructive. The description adds confusing terms ('passive transport', 'persisted') without clarifying behavior. Does not contradict annotations.
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?
Extremely concise (one sentence), but the wording is obscure and unhelpful. Structure is minimal but not clear.
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?
Despite rich annotations and no parameters, the description fails to clarify the meaning of 'passive transport' and 'schema', leaving the tool's purpose incomplete.
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?
No parameters exist (0 params, 100% schema coverage). Baseline 4 is appropriate; description doesn't need to add parameter info.
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?
The description uses vague and potentially misleading terms like 'passive transport' and 'schema', obscuring the tool's purpose as a health check. The verb 'Return' is clear but the resource is ambiguous.
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?
No guidance on when to use this tool over siblings like 'codeforces_get_problem_metadata' or 'oj_capabilities'. The context signals show siblings, but the description doesn't differentiate usage.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
oj_search_problemsSearch Codeforces ProblemsARead-onlyIdempotentInspect
Search official Codeforces problem metadata by id, title, or tag.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | Yes | ||
| query | Yes | ||
| platform | Yes | ||
| requestId | Yes | ||
| schemaVersion | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, and no destructiveness, covering safety and idempotency. The description adds that the query can be an id, title, or tag, but it does not disclose pagination, ordering, error handling, or other runtime behaviors. With annotations rich, the description adds minimal behavioral context beyond the query semantics.
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?
The description is a single 11-word sentence, concise and front-loaded with verb and purpose. Every word earns its place, and there is no redundancy or verbosity.
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?
Given the existence of an output schema and rich annotations, the description is mostly complete. However, it lacks details on search behavior (exact vs partial match, case sensitivity, tag matching logic) and does not mention the limitation to Codeforces platform (though implied by title). Still, it covers the essential aspects.
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?
The schema has zero description coverage for parameters. The description adds meaning to the 'query' parameter by stating it can be an id, title, or tag. Other parameters (limit, platform, requestId, schemaVersion) are not described, but platform is a const and limit has clear bounds, so the description adequately compensates for the most ambiguous parameter.
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?
The description explicitly states the verb 'search', the resource 'official Codeforces problem metadata', and the criteria 'by id, title, or tag', making the tool's purpose clear and distinguishing it from the sibling 'codeforces_get_problem_metadata' which likely retrieves a single problem's details.
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 description does not provide any guidance on when to use this tool versus alternatives like 'codeforces_get_problem_metadata', nor does it mention any prerequisites or limitations. The context is solely implied by the description.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Claim this connector by publishing a /.well-known/glama.json file on your server's domain with the following structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"maintainers": [{ "email": "your-email@example.com" }]
}The email address must match the email associated with your Glama account. Once published, Glama will automatically detect and verify the file within a few minutes.
Control your server's listing on Glama, including description and metadata
Access analytics and receive server usage reports
Get monitoring and health status updates for your server
Feature your server to boost visibility and reach more users
For users:
Full audit trail – every tool call is logged with inputs and outputs for compliance and debugging
Granular tool control – enable or disable individual tools per connector to limit what your AI agents can do
Centralized credential management – store and rotate API keys and OAuth tokens in one place
Change alerts – get notified when a connector changes its schema, adds or removes tools, or updates tool definitions, so nothing breaks silently
For server owners:
Proven adoption – public usage metrics on your listing show real-world traction and build trust with prospective users
Tool-level analytics – see which tools are being used most, helping you prioritize development and documentation
Direct user feedback – users can report issues and suggest improvements through the listing, giving you a channel you would not have otherwise
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!
Your Connectors
Sign in to create a connector for this server.