Skip to main content
Glama

Codeforces User Status

codeforces_user_status
Read-onlyIdempotent

Codeforces competitive-programming API, the submission history of one Codeforces handle, newest first, paged with from/count. Each submission carries the contest and problem it targeted, the judge verdict (OK, WRONG_ANSWER, TIME_LIMIT_EXCEEDED), programming language, runtime and memory consumed. Answers which problems a Codeforces user attempted lately and whether they passed.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "handle": "tourist"
    },
    "name": "codeforces_user_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromNo1-based start (default 1)
countNo1-10000 (default 50)
handleYes

Output Schema

NameRequiredDescriptionDefault
resultNoArray of submission objects
statusYesResponse status (OK or FAILED)
commentNoError comment (if status is FAILED)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint and destructiveHint=false, so safety is covered. The description adds behavior beyond that: results are ordered newest first, paging uses from/count, and each record includes contest, problem, verdict, language, runtime and memory. It stops short of noting empty-result behavior or rate limits on the upstream API.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is short and front-loaded, leading with the resource and ordering before paging details. The final sentence overlaps with the second (both describe submission contents) but earns its place by naming the question the tool answers.

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?

With an output schema present, the per-submission field list in the description is partly redundant, but everything an agent needs to call it correctly — handle, paging, ordering — is present or in schema. A mutation-free read tool of this complexity is adequately covered.

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 coverage is 67%: from and count are documented in the schema, but the handle property has no schema description. The description partially compensates by stating it is 'one Codeforces handle' and that paging is via from/count, but it adds no format hints for handle or defaults beyond what the schema already states.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific resource (submission history), a specific scope (one Codeforces handle), and an ordering (newest first), so an agent knows exactly what it retrieves. It does not explicitly contrast itself with the sibling codeforces_user or problemset, so retrieval intent is clear but sibling differentiation is left implicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The closing sentence, 'Answers which problems a Codeforces user attempted lately and whether they passed,' implies the use case well. However, there is no explicit when-to-use versus when-not guidance, no mention of prerequisites such as a valid handle, and no named alternative for profile-level versus submission-level questions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.