Skip to main content
Glama

academic_classrooms

Read-only

Find available classrooms for a given date and campus by checking whether all specified class slots are free.

Instructions

查询当天空教室。campus=01 西土城/04 沙河;slots=1–14,要求全部节次可用。 状态:implemented。

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

Input Schema

NameRequiredDescriptionDefault
slotsNo
campusNo04
buildingNo
target_dateNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/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 one real behavioral rule — that all requested slots must be simultaneously free (AND semantics, not OR) — which meaningfully changes how results should be interpreted, but it says nothing about date handling or result volume.

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

Conciseness3/5

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

It is short and front-loads the purpose, but the phrasing is dense and the trailing '状态:implemented' is meta-commentary that does not help an agent invoke the tool. The parameter hints are packed into one run-on clause rather than structured.

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-value explanation is not needed. For a 4-parameter, all-optional read tool the description covers the essential selection logic (campus, slots), though building and target_date remain unexplained.

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 compensate, and it does explain campus codes (01 西土城 / 04 沙河) and the 1–14 slot range with the all-slots-required rule. However, the building and target_date parameters get no explanation at all, leaving half the inputs ambiguous.

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 resource (查询…空教室), so an agent can tell this apart from academic_schedule or academic_exams immediately. The scope is limited to '当天' (today), which is clear but sits awkwardly next to the target_date parameter.

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

Usage Guidelines2/5

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

It implies the use case (finding free classrooms) but never states when to prefer this over sibling tools or when not to use it. No alternatives are named and no prerequisites are given.

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