Skip to main content
Glama

vnoi_get_problem

Retrieves a VNOI Online Judge problem by problem code as Markdown, including limits, I/O formats, subtasks, samples, and explanations for solving or submission.

Instructions

Lấy đề bài đầy đủ (bao gồm Points, Time limit, Memory limit, loại INPUT (stdin, file), kiểu OUTPUT (stdout, file), đề bài, định dạng Input, định dạng Output, subtask, test mẫu, giải thích) dạng Markdown. problem_code: mã bài, ví dụ "vnoicup25_r1_a".

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "problem_code": "<problem_code>"
    },
    "name": "vnoi_get_problem"
  }
}

Input Schema

NameRequiredDescriptionDefault
problem_codeYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose that the return is a comprehensive Markdown payload listing every section, which tells the agent to expect a large document rather than a summary. It says nothing about behavior for an invalid/unknown problem_code, permissions, or whether access is rate-limited, so disclosure remains partial.

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 core capability is front-loaded in the first line, with the long parenthetical enumeration of returned sections doing real work rather than padding. The second line cleanly handles the parameter. Slightly dense but no sentence is redundant.

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 description need not explain the response shape, yet it helpfully previews the sections returned. For a simple single-parameter read tool this is close to complete; the only gap is failure behavior for an unrecognized problem code.

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 description coverage is 0%, so the description must compensate, and it does: 'problem_code: mã bài, ví dụ "vnoicup25_r1_a"' gives both the meaning (problem code, not ID or slug) and a concrete format exemplar the agent can pattern-match. That is meaningful added value for a single required parameter.

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+resource ('Lấy đề bài đầy đủ' - fetch the full problem statement) and then enumerates exactly what that includes (points, limits, input/output types, statement, formats, subtasks, samples, explanation). The word 'đầy đủ' (full) implicitly distinguishes it from the list-style sibling, so an agent can tell what it retrieves without opening a schema.

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?

There is no explicit when-to-use statement, no prerequisites, and no named alternative (e.g. vnoi_list_problems for discovery vs. this tool for the full text). Usage is only implied by the resource name and the parameter, which is adequate but leaves the agent to infer that this comes after finding a problem code.

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