vnoi-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| VNOI_SESSION | Yes | Your VNOJ `sessionid` cookie value, used to authenticate as your VNOI account. Copy it from DevTools → Application → Cookies → https://oj.vnoi.info after logging in. Grants full access to your account, so keep it secret. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| vnoi_list_problemsA | Liệt kê các bài trong một contest VNOI (mã bài, tên, time limit, memory limit, điểm). contest_id: mã contest, ví dụ "vnoicup25_r1". |
| vnoi_get_problemA | 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". |
| vnoi_submitA | Nộp code lên VNOI, đợi chấm xong rồi trả về kết quả từng test (batch, trạng thái AC/WA/TLE/..., thời gian, bộ nhớ). problem_code: mã bài, ví dụ "vnoicup25_r1_a". code: mã nguồn. language: mã ngôn ngữ — 4 = C++17 (mặc định), 14 = C++20, 23 = C++23, 9 = Python 3, 17 = PyPy 3. |
| vnoi_get_resultA | Xem lại kết quả của một bài đã nộp (dùng khi vnoi_submit báo hết thời gian chờ). submission_id: ID của submission, ví dụ "1234567". |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
Each tool targets a distinct step: listing problems in a contest, fetching a full problem statement, submitting code, and retrieving a past submission. The only potential overlap is vnoi_submit vs vnoi_get_result, since both return judging results, but the descriptions explicitly state get_result is the fallback when submit times out. That clarification makes misselection unlikely.
All four tools use a uniform vnoi_ prefix with snake_case verb_noun structure (list_problems, get_problem, submit, get_result). vnoi_submit drops the object noun, but the verb is unambiguous and the pattern reads consistently across the set.
Four tools map cleanly onto the four steps of the judge workflow (enumerate → read → submit → verify), with no redundant or speculative tools. The surface is minimal but every tool earns its place for the competitive-programming-judge domain.
The core solve-a-problem loop is covered end to end, but there is no way to discover contest IDs (no list_contests) or browse a problem archive, so an agent must already know a contest code. There is also no submission-history or user-status tool, which leaves notable gaps beyond the happy path.