Skip to main content
Glama

x402_codeforces_get_v1_problems

Fetch Codeforces problemset data, including problem details, to support practice, contest preparation, and problem analysis through a keyless public API.

Instructions

codeforces — Codeforces API: contests, problemset, and user ratings. Keyless public API. [GET /v1/problems] $0.005 USDC on eip155:8453+137+42161+480. Example: /v1/problems

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON body for POST/PUT/PATCH/DELETE
queryNoQuery parameters, e.g. {base:'USD', quote:'EUR'}
restartNoExplicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete.
operationIdNoDurable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose genuinely useful traits: no API key required, a per-call cost of $0.005 USDC, and the accepted chains (eip155:8453+137+42161+480) — non-trivial information an agent needs before committing a paid call. It says nothing about rate limits, caching, response shape, or what happens on payment failure, which is a meaningful gap for a paid endpoint.

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

Conciseness3/5

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

It is short and front-loads the API family, but '[GET /v1/problems]' and 'Example: /v1/problems' are redundant restatements of the same path. The pricing/chain token string is dense and unlabeled, consuming space that could have described the response.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema and no annotations, so the description is the only source of behavioral detail, yet it never explains what the problems endpoint returns or whether query parameters are needed at all. For a paid ($0.005) endpoint with three generic parameters and nested-object support, that leaves the agent under-informed before spending.

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 baseline is 3, and the description adds nothing about parameters. The schema's query example ({base:'USD', quote:'EUR'}) is a generic currency example that is misleading for a Codeforces problemset call, and the description does not clarify how Codeforces-specific filters (tags, problemsetName) would be passed, leaving the agent to infer query semantics.

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 the API family (Codeforces: contests, problemset, user ratings) and pins the specific endpoint with '[GET /v1/problems]' plus the example path, so an agent can distinguish this from siblings like x402_codeforces_get_v1_contests. It stops short of saying what the response actually contains (problem list with contestId/index/tags/rating), so the resource is identified mainly by the URL rather than by prose.

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

Usage Guidelines2/5

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

There is no guidance on when to pick this tool over the contests or user-handles siblings, and no statement of prerequisites or typical call patterns. The only contextual hints are 'Keyless public API' and the price, which tell the agent it is callable without auth but not when it is the right choice.

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

Deploy Server

Other Tools