Skip to main content
Glama

Trợ lý luyện thi kỳ thi đánh giá năng lực quốc gia

Tài liệu và bản ghi buổi học

list_class_materials
Read-onlyIdempotent

Dùng khi: học viên xin tài liệu hoặc bản ghi (video) của buổi học. Câu ví dụ: "Gửi mình tài liệu buổi 12", "Có bản ghi buổi hôm qua không?". Không dùng khi: hỏi đề thi, bài làm (không có). Trả TÊN tài liệu, bản ghi và đường dẫn tới trang trong cổng học viên (người học mở bằng tài khoản của mình); không có nội dung tệp, không đường tải. Tham số sessionNo: chỉ lấy của buổi số này (0 = mọi buổi).

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

Input Schema

NameRequiredDescriptionDefault
sessionNoNo

Output Schema

NameRequiredDescriptionDefault
noteYes
answerYes
nextStepYes
materialsYes
untrustedYes
updatedAtYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Beyond the read-only/idempotent annotations, the description discloses that results are names plus portal-page links that the learner opens with their own account, and that no file contents or download links are provided — meaningful limits for an agent to relay. It does not discuss volume, pagination, or what happens with sessions that lack materials, but the annotations and the existing output schema already carry much of that.

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?

Ordered and front-loaded: trigger, examples, exclusion, return shape, then parameter. Dense but each block earns its place; the two quoted utterances are slightly redundant with the trigger sentence, keeping it just short of maximal.

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 single-optional-parameter read tool with an output schema already published, everything an agent needs is present: when to call, when not to, what comes back, that access requires the learner's own account, and what the only parameter means.

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 the description must carry the parameter alone — and it does: "sessionNo: chỉ lấy của buổi số này (0 = mọi buổi)" explains both the filter semantics and the meaning of the default value 0. That fully compensates for the undocumented 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?

"học viên xin tài liệu hoặc bản ghi (video) của buổi học" states a specific verb+resource plus the scope (per-session materials and recordings), and the exclusion of exam/homework content separates it from siblings like get_class_announcements. An agent knows exactly what this returns without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit "Dùng khi" / "Không dùng khi" structure, reinforced by two realistic learner utterances ("Gửi mình tài liệu buổi 12", "Có bản ghi buổi hôm qua không?"). The negative case is stated directly, so an agent won't route exam-paper requests here; no sibling alternative is named, but the guidance itself leaves nothing ambiguous.

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.

Resources