Skip to main content
Glama

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

Lịch học sắp tới

get_my_schedule
Read-onlyIdempotent

Dùng khi: học viên hỏi mình học buổi nào, mấy giờ, ở đâu, hôm nay hay ngày mai có học không, có buổi bị huỷ hay học bù không. Câu ví dụ: "Mai có học không?", "Tuần này học mấy buổi?". Không dùng khi: hỏi học phí, điểm, bài làm, đường vào phòng học (không có), hoặc người hỏi là phụ huynh (dùng get_family_overview). Tham số days: số ngày tính từ hôm nay (1–31, mặc định 7). Trả lời bằng answer có sẵn.

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

Input Schema

NameRequiredDescriptionDefault
daysNo

Output Schema

NameRequiredDescriptionDefault
noteYes
answerYes
lessonsYes
nextStepYes
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?

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so safety is covered. The description adds scope context the annotations cannot: results include cancelled sessions and make-up sessions, and the agent should answer using the provided answer field. It does not mention result size or what happens at the edge of the 31-day window, but for a read-only lookup that gap is minor.

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?

Front-loaded with the triggering conditions, then exclusions, then the parameter, then the answer convention — a logical order with no filler. The example questions are slightly redundant with the "Dùng khi" list but they serve intent matching, so the cost is small.

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-only tool with an output schema, everything an agent needs is present: what it answers, what it must not be used for, the routing alternative, the parameter range/default, and the instruction to reply from the answer field. Return-value format is rightly left to the output schema.

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 coverage is 0% and the schema only says {"days": integer, default 7}, so the description carries the whole burden — and it does: days means the number of days counted from today, valid range 1–31, default 7. An agent can populate the parameter correctly with no further information.

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?

The description enumerates exactly what the tool resolves: which sessions the student has, at what time, at which location, whether there is class today/tomorrow, and whether any session is cancelled or is a make-up. Combined with the title ("Lịch học sắp tới"), an agent can identify the resource without inference and can separate it from fee/grade/homework tools and from the parent-facing get_family_overview.

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?

It gives an explicit "Dùng khi" block with concrete sample utterances ("Mai có học không?", "Tuần này học mấy buổi?") and an explicit "Không dùng khi" block covering fees, grades, assignments, room directions, and parent askers, naming get_family_overview as the alternative for the last case. This is the when/when-not/alternative structure at full strength.

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