Skip to main content
Glama

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

Chuyên cần của các con

get_family_absences
Read-onlyIdempotent

Dùng khi: phụ huynh hỏi con vắng mấy buổi, có vắng liên tiếp hay bất thường không. Câu ví dụ: "Con vắng mấy buổi?". Không dùng khi: hỏi lịch sắp tới (dùng get_family_overview). Khi chưa đủ buổi điểm danh thì answer nói rõ là chưa đủ để kết luận: KHÔNG nói "con không vắng buổi nào". Không nhận tham số.

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_family_absences"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
noteYes
answerYes
childrenYes
nextStepYes
untrustedYes
updatedAtYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive behavior, so the description is free to add the genuinely useful part: the insufficient-data rule (when there are too few attendance records, say so rather than claiming zero absences). That is a real behavioral constraint an agent could not infer. It stops short of describing what the payload contains or which children/period are covered, so it is strong but not exhaustive.

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?

Three short, front-loaded sentences organized by use-case, exclusion, and edge-case handling; the example question aids routing. The final sentence about answer phrasing drifts slightly toward output formatting rather than tool behavior, costing a perfect score.

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?

The tool is simple (no parameters, annotations present, output schema exists), and the description covers the one thing structured fields cannot: how to respond when attendance evidence is too thin. Nothing needed to call it correctly is missing, though the applicable time window or child scope is left unstated.

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?

The tool takes zero parameters and the description confirms this ("Không nhận tham số"), matching the empty schema with 100% coverage. There is no parameter meaning to add, so the baseline applies; the explicit confirmation slightly reduces the risk of an agent inventing filter arguments.

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 names a specific resource and scope: children's absence/attendance counts for a parent, with a concrete example question ("Con vắng mấy buổi?"). It explicitly contrasts with get_family_overview for upcoming schedules, so the agent can route without inspecting the 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" (when to use) and "Không dùng khi" (when not to use) sections, with the alternative tool named for the excluded case. Nothing is left to inference.

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