Skip to main content
Glama

fudan_canteen_crowd

Read-onlyIdempotent

Check real-time canteen crowd levels, capacity, and occupancy ratios by campus; reports when occupancy data is unavailable.

Instructions

查学校公布的食堂实时人数、容量与占用比例。未公布人数时报告数据不可用。

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": "fudan_canteen_crowd"
  }
}

Input Schema

NameRequiredDescriptionDefault
campusNo

Output Schema

NameRequiredDescriptionDefault
itemsNo
sourceNohttps://my.fudan.edu.cn/simple_list/stqk
statusYes
messageYes
availableNo
fetched_atNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare this as a safe, idempotent, read-only, open-world query, so the safety profile is covered. The description adds real value beyond that by disclosing that the data is school-published, is real-time, and may be unavailable, instructing the agent to report unavailability rather than infer or fabricate numbers. It does not discuss refresh cadence or staleness beyond 'real-time'.

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?

Two short sentences with zero filler, and the core capability is front-loaded before the edge-case caveat. Every sentence carries information the agent needs.

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 no explanation, and the tool is simple with one optional parameter. The description covers purpose and the important unavailability edge case. The remaining gap is the campus parameter's optionality and default behavior, which is left to the schema.

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

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the description never mentions the single 'campus' parameter, so it adds no meaning beyond the schema. The enum values (邯郸/枫林/江湾/张江) are self-explanatory, but the agent must infer what happens when campus is omitted (all campuses aggregated, or a default campus). The description should have compensated for the coverage gap and did not.

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 names a specific verb (查) and concrete resources: real-time canteen headcount, capacity, and occupancy ratio, plus the data source (school-published). It is clearly distinct from siblings like fudan_library_seats or fudan_classroom_availability in subject matter, though it never explicitly contrasts itself with them.

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?

Usage is only implied: an agent can infer it should call this when it needs canteen crowding information. There is no explicit when-to-use or when-not-to-use guidance, and no named alternative for related availability questions. The fallback instruction about unpublished headcount is the only conditional guidance offered.

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