Skip to main content
Glama

get_problemlist

Search Codeforces problems by rating range and tags, with OR/AND topic matching, and sort by recent or oldest. Returns up to 10 problems with names, ratings, tags, and links.

Instructions

Search the entire Codeforces problemset and return up to 10 problems.

Parameters:

  • min_rating: Minimum difficulty rating (e.g., 800)

  • max_rating: Maximum difficulty rating (e.g., 2400)

  • topics: List of tags to filter by (e.g., ["dp", "greedy"])

  • sort_by: "recent" (newest first) or "oldest" (oldest first)

  • match_type: "OR" (match any topic) or "AND" (must match ALL topics)

Returns 10 problems with names, ratings, tags, and direct links.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topicsNo
sort_byNorecent
match_typeNoOR
max_ratingNo
min_ratingNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries the burden. It explains that results are a list of up to 10 problems with specific fields, and details the filtering parameters. It does not mention rate limits or authentication, but for a read-like search, this is sufficient.

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 concise: a one-sentence overview followed by a bullet list of parameters. Every sentence is informative, and the structure makes it easy to parse.

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 tool with 5 parameters and an output schema, the description covers all input parameters and describes the return format (10 problems with names, ratings, tags, links), making it complete for an agent to invoke correctly.

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

Parameters5/5

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

Schema description coverage is 0%, so description must compensate. It provides clear explanations for all 5 parameters with examples (e.g., 'min_rating: Minimum difficulty rating (e.g., 800)'), adding critical meaning absent from the schema.

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 starts with a specific action ('Search') and resource ('Codeforces problemset'), and specifies an output limit of 10 problems. It clearly distinguishes from siblings like get_practiceproblems or get_random_practice by focusing on filtered search.

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 clearly states what the tool does but does not explicitly guide when to use it over siblings. However, the purpose is specific enough that an agent can infer appropriate usage contexts.

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/spr7a/cf-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server