Skip to main content
Glama

Search Quera problems

qr_problems
Read-onlyIdempotent

Search Quera's public problemset by topic, contest, difficulty, category, or name and paginate results to locate practice problems.

Instructions

Search Quera's public problemset (about 2,000 problems), 25 per page.

Result ids go to qr_problem; qr_problem_filters lists topic slugs and contest ids.

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": "qr_problems"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNoTopic slug, e.g. 'data-structures', 'python'.
pageNoPage number, from 1.
orderNoSort order.
searchNoWords in the name.
contestNoContest id from qr_problem_filters.
categoryNoOrigin.
difficultyNoDifficulty.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv0.2.0
    • changedInput schema / properties / category / description
      Previous value: -"Where the problem comes from."New value: +"Origin."
    • changedInput schema / properties / contest / description
      Previous value: -"Only problems of this contest: id from qr_problem_filters, e.g. '28542'."New value: +"Contest id from qr_problem_filters."
    • changedInput schema / properties / order / description
      Previous value: -"Sort order; default new."New value: +"Sort order."
    • changedInput schema / properties / search / description
      Previous value: -"Words in the problem name."New value: +"Words in the name."
    • changedInput schema / properties / tag / description
      Previous value: -"Topic slug, e.g. 'data-structures', 'python', 'django', 'back-end', 'machine-learning'."New value: +"Topic slug, e.g. 'data-structures', 'python'."
  2. First observedv0.1.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world. The description adds value beyond that by disclosing pagination granularity (25 per page) and the shape of results (ids meant for another tool). It does not say how many pages exist or how to detect the last page, which is the main remaining gap.

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?

Two sentences, zero filler, with the core purpose and pagination front-loaded and the sibling routing as a compact second line. Every clause carries information.

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?

For a 7-optional-parameter read-only search with no output schema and full schema documentation, the description covers purpose, pagination, and follow-up tools adequately. It stops short of describing result fields or total-count behavior, which would help an agent decide when to page further.

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 100% and each parameter is individually documented, including an example slug and the source of contest ids, so the baseline is 3. The only meaning the description adds is the 25-per-page figure that interprets the page parameter; filter combinations and behavior of order values are left entirely to 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?

States a specific verb and resource ('Search Quera's public problemset'), plus scale (~2,000 problems) and page size (25 per page), which lets an agent estimate result volume. It also names the consumers qr_problem and qr_problem_filters, distinguishing itself from those siblings.

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?

Gives clear workflow guidance: result ids are fed to qr_problem, and topic slugs/contest ids come from qr_problem_filters. It lacks an explicit 'when not to use' clause (e.g. don't use this to fetch a single known problem), but the routing is unambiguous.

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