Skip to main content
Glama

attendance_list

Read-only

Retrieve your own historical attendance records for a specific course, with pagination. Use it to review past class attendance without querying other users or current activity.

Instructions

按课程分页读取本人的历史考勤记录;不查询其他用户,不代表当前活动。 状态:implemented。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "course_id": "<course_id>"
    },
    "name": "attendance_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
course_idYes
page_sizeNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds genuinely useful behavior: results are scoped to the caller's own user and reflect history rather than live state, and reads are paginated.

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?

Two compact clauses, front-loaded with the core verb and resource, followed by the scope exclusions. The trailing '状态:implemented' is implementation metadata that offers no value to tool selection.

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?

An output schema exists, so return values need not be described, and annotations cover the safety profile. For a simple three-parameter read tool the description covers ownership scoping, historical vs current semantics, and pagination; only the parameter-level details are left to the bare schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/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 load; it does convey that course_id scopes the query and that pagination applies via page/page_size. It adds no detail on page numbering, the page_size default of 10, or the expected course_id format, so gaps remain for a zero-coverage 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?

States a specific verb and resource ('分页读取本人的历史考勤记录') plus the scope constraints (own records, per-course, paginated). The clause '不代表当前活动' distinguishes it from the sibling attendance_current without naming it, so an agent can route correctly.

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

Usage Guidelines4/5

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

Gives clear usage context: historical records only, never other users' data, and explicitly not for current activity. It stops short of naming the alternative tool (attendance_current) that should be used for present-state queries, so the exclusion is implied rather than routed.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.