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

get_my_attendance
Read-onlyIdempotent

Dùng khi: học viên hỏi mình vắng mấy buổi, buổi nào chưa học, đã báo nghỉ chưa. Câu ví dụ: "Mình vắng mấy buổi rồi?", "Còn thiếu buổi nào?". Không dùng khi: hỏi lịch sắp tới (dùng get_my_schedule). Khi measured = false là trung tâm chưa có dữ liệu điểm danh: nói đúng như answer, KHÔNG nói "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_my_attendance"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
noteYes
answerYes
classesYes
measuredYes
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 declare this a read-only, idempotent, non-destructive lookup, so the safety profile is covered. The description adds genuinely non-obvious behavioral guidance: when the `measured` flag is false the center has no attendance data and the agent must relay the given answer verbatim instead of asserting 'no absences' — a real failure mode it prevents.

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?

It is front-loaded with the use trigger, then the exclusion, then the edge-case rule — a sensible order with no wasted preamble. The example utterances and the trailing 'takes no parameters' sentence are slightly redundant but cheap and aid routing.

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, return values need not be described, and the description correctly focuses on routing and the one ambiguous output state (`measured = false`). The reference to relaying 'answer' verbatim is a touch vague about which field it means, but nothing essential for correct invocation is missing.

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 has zero parameters, so the baseline is 4; the statement 'takes no parameters' merely confirms what the empty schema already shows. No additional meaning is needed or added.

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 (the student's own attendance) and enumerates the exact facts it answers: number of absences, which sessions were missed, whether absences were reported. It also distinguishes the tool from the sibling that handles upcoming schedules, so an agent can route without opening either 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?

It has explicit 'use when' triggers with spoken example questions and an explicit 'do not use when' clause that names get_my_schedule as the alternative. This is the full when/how-not/alternative pattern.

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