Skip to main content
Glama

颱風或天災時查詢台灣各縣市是否停班停課

get_work_school_closures
Read-onlyIdempotent

颱風或天災時查詢台灣各縣市是否停班停課(行政院人事行政總處公告)。使用者問「明天要上班嗎」「高雄停班停課」時使用。

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

Input Schema

NameRequiredDescriptionDefault
countyNo縣市,例如 高雄市;不填為全台

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so safety is covered. The description adds real value beyond them by naming the official announcement source, implying the data is an authoritative government notice rather than a derived calendar; it does not disclose refresh cadence or whether stale/not-yet-announced results are possible.

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 sentences: the first front-loads purpose, scope and source; the second gives invocation triggers. No filler, and the most decision-relevant information comes first.

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 one-parameter read-only lookup this is nearly complete, and annotations carry the safety profile. With no output schema, however, the description never indicates what a result looks like (per-county 停班/停課 status, announcement time, or a 'not yet announced' state), which is the one thing an agent cannot infer from structured fields.

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 coverage is 100% and the single county parameter is fully documented there, including the '不填為全台' default. The description reinforces the per-county scope with the 高雄停班停課 example but adds no new semantics such as accepted naming variants or how an unrecognized county is handled.

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 (查詢) plus a precisely scoped resource (台灣各縣市是否停班停課), and even names the authoritative source (行政院人事行政總處公告). The domain — disaster-driven work/school closure — is concrete enough that an agent can separate it from the holiday and utility-lookup siblings without opening a schema.

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 explicit trigger phrasing (「明天要上班嗎」「高雄停班停課」), which is exactly the kind of cue an agent needs to route a user utterance here. It stops short of exclusions — nothing says when to prefer this over is_holiday or get_holidays for an overlapping 'do I work tomorrow' question.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources