Skip to main content
Glama

Problemset

problemset
Read-onlyIdempotent

Problemset + per-problem submission counts. Optional tag filter.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagsNoe.g. ["dp","graphs"]
problemset_nameNoCustom problemset (rarely used).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultNoProblemset result
statusYesResponse status (OK or FAILED)
commentNoError comment (if status is FAILED)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {},
      +  {
      +    "tags": [
      +      "dp",
      +      "graphs"
      +    ]
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "comment": {
      +      "description": "Error comment (if status is FAILED)",
      +      "type": "string"
      +    },
      +    "result": {
      +      "description": "Problemset result",
      +      "properties": {
      +        "problemStatistics": {
      +          "description": "Submission statistics per problem",
      +          "items": {
      +            "properties": {
      +              "contestId": {
      +                "description": "Contest ID",
      +                "type": "number"
      +              },
      +              "index": {
      +                "description": "Problem index",
      +                "type": "string"
      +              },
      +              "solvedCount": {
      +                "description": "Number of solves",
      +                "type": "number"
      +              },
      +              "totalSubmissions": {
      +                "description": "Total submissions",
      +                "type": "number"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "problems": {
      +          "description": "Array of problems",
      +          "items": {
      +            "properties": {
      +              "contestId": {
      +                "description": "Contest ID",
      +                "type": "number"
      +              },
      +              "index": {
      +                "description": "Problem index",
      +                "type": "string"
      +              },
      +              "name": {
      +                "description": "Problem name",
      +                "type": "string"
      +              },
      +              "points": {
      +                "description": "Points",
      +                "type": "number"
      +              },
      +              "problemsetName": {
      +                "description": "Problemset name",
      +                "type": "string"
      +              },
      +              "rating": {
      +                "description": "Difficulty rating",
      +                "type": "number"
      +              },
      +              "tags": {
      +                "description": "Problem tags",
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              },
      +              "type": {
      +                "description": "Problem type",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "status": {
      +      "description": "Response status (OK or FAILED)",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "status"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already indicate readOnly and idempotent. The description adds that it returns per-problem submission counts and accepts an optional tag filter, which is transparent but minimal. No disclosure of performance or edge cases.

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?

Single sentence that is front-loaded with the main action and includes the key features. No redundant words.

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

Completeness3/5

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

While an output schema exists and reduces the need to explain return values, the description lacks context about what 'problemset' refers to (e.g., from a specific platform) or how it relates to other tools. Adequate but not thorough.

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

Parameters4/5

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

Schema coverage is 100% with descriptions for both parameters. The description adds the phrase 'Optional tag filter' to clarify the tags parameter and labels problemset_name as 'rarely used', providing additional nuance beyond the schema.

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 clearly states it retrieves a problemset with per-problem submission counts and optional tag filtering. The verb is implied but clear from context. It distinguishes from siblings like contest_list or contest_standings by focusing on a problemset with submission counts.

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?

No guidance on when to use this tool versus alternatives like contest_standings or recent_actions. No mention of prerequisites, limitations, or scenarios where this tool is preferred.

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.