Skip to main content
Glama

fudan_classroom_availability

Read-onlyIdempotent

Check which classrooms are free or scheduled for a given date, building, and optional room, using period ranges or Beijing start/end times.

Instructions

查在线课表中指定日期和楼栋的排课。可选教室。提供节次范围或北京时间起止,返回无课、排课和未知教室。

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": {
      "day": "<day>",
      "building": "<building>"
    },
    "name": "fudan_classroom_availability"
  }
}

Input Schema

NameRequiredDescriptionDefault
dayYes
roomNo
buildingYes
end_timeNo
end_periodNo
start_timeNo
start_periodNo

Output Schema

NameRequiredDescriptionDefault
dayNo
sourceNo复旦在线课表 · 教室排课
statusYes
messageYes
periodsNo
buildingNo
timezoneNoAsia/Shanghai
fetched_atNo
free_roomsNo
source_urlNohttp://10.64.130.6/
unknown_roomsNo
occupied_roomsNo
available_buildingsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered structurally. The description adds the source ('online timetable') and that results are bucketed into no-class, scheduled, and unknown classrooms, which is helpful behavior context. It says nothing about auth needs, rate limits, or what happens when conflicting time arguments are supplied.

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 with the core scope first, then optionality, then argument modes and return categories. No filler or repetition. It is telegraphic to the point of terseness but every clause carries information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 7 parameters, 0% schema coverage, and an output schema that covers return values, the description should resolve the argument-mode question more fully. It handles the period-vs-time alternative and return categories, but leaves default behavior (no time range supplied), date format, and building/room expectations unstated. Adequate but with clear gaps for a 7-parameter tool.

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 parameter burden, and it partially does: it maps day, building, optional room, and explains that start/end period and Beijing-time start/end are two alternative ways to bound the query. That mutual-exclusivity hint is real added meaning the schema does not convey. It stops short of documenting the date format, the 1–30 period bounds, or default behavior when neither range is given.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource: query the schedule in the online timetable for a given date and building, returning classroom availability. This distinguishes it from sibling schedule tools like fudan_weekly_timetable (personal timetable) or fudan_library_seats, though it never names an alternative explicitly. The scope (date + building + optional room) is concrete enough for an agent to choose it.

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

Usage Guidelines3/5

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

It implies usage by stating that room is optional and that the caller may supply either a period range or a Beijing-time start/end, which is genuinely useful selection advice. However, there is no explicit when-to-use vs. when-not guidance, no mention of prerequisites (e.g., semester/term selection), and no pointer to a sibling tool for personal timetables.

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