Skip to main content
Glama

fudan_library_seats

Read-onlyIdempotent

Find available seats in Fudan libraries by date, filter by library and area, check open time slots, and retrieve selectable seat numbers using Beijing time.

Instructions

查图书馆普通座位。仅传日期可列出馆、楼层和区域 ID,library_name 可筛馆。加区域 ID 查开放时段,再传完整时段查可选座号。时刻使用北京时间。

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>"
    },
    "name": "fudan_library_seats"
  }
}

Input Schema

NameRequiredDescriptionDefault
dayYes
limitNo
area_idNo
end_timeNo
start_timeNo
library_nameNo

Output Schema

NameRequiredDescriptionDefault
areaNo
slotNo
areasNo
slotsNo
sourceNohttps://libsrs.fudan.edu.cn/h5/index.html#/home?
statusYes
messageYes
fetched_atNo
booked_seatNo
available_countNo
available_seatsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/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 fully covered elsewhere. The description adds the non-obvious tiered response behavior and states that times are Beijing time, which is genuinely useful. However, pagination and how the limit parameter interacts with each stage are not disclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four compact sentences, front-loaded with the purpose and then ordered exactly as the call sequence should be performed. Nothing is repeated from the schema and no sentence is filler.

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?

For a six-parameter, multi-stage query tool this is nearly complete: the staged workflow and the timezone are both covered, and an output schema exists so return values need not be explained. The only gap is the undocumented limit parameter and how many results each stage returns.

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 needs to compensate, and it does explain the roles of day, library_name, area_id, start_time and end_time as a dependent chain, plus the Beijing time convention. The limit parameter is never mentioned and no format hints are given, so half a point of meaning is still missing from the six-parameter surface.

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 (查图书馆普通座位) and immediately frames the tool as a progressive query over libraries, floors, areas and time slots. It is clearly distinct from the sibling tools, none of which deal with seat availability, though it never names an alternative explicitly.

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 lays out an explicit escalation path: date only to list libraries/floors/area IDs, add library_name to filter, add area_id to get open time slots, then supply a full time range to get available seat numbers. This tells the agent exactly which parameter combination produces which result and implicitly when not to pass the later parameters.

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