Skip to main content
Glama

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

life__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": "life__get_work_school_closures"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

With readOnlyHint, idempotentHint and openWorldHint already declaring the safety and liveness profile, the description adds real context by naming the government source and implying official-announcement coverage. It does not disclose what happens when no announcement exists yet (e.g., pre-typhoon or off-season), how current the data is, or what an empty result means — gaps that matter for a time-sensitive lookup.

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?

The substantive content is two tight sentences that front-load purpose then trigger. But the bracketed keyword string at the start is pure waste and, worse, points at lottery/invoice/fuel topics that belong to other tools, adding cognitive noise before the real description.

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 simple read-only lookup with one optional parameter and no output schema, the description covers purpose, source, scope, and invocation triggers adequately. Only the freshness and no-result behavior are left implicit, which is a minor rather than blocking omission.

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 100% and the single optional 'county' parameter is already documented with an example and the 'leave blank for all Taiwan' default. The description adds nothing beyond that, so the baseline 3 applies.

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 core sentence gives a specific verb and resource: query whether each Taiwan county/city has work or school closures during typhoons or natural disasters, and names the authoritative source (行政院人事行政總處). That is clearly distinguishable from siblings like get_holidays or is_holiday, which cover holidays rather than disaster closures. However, the leading tag '[台彩 發票 油價對獎]' (lottery/invoice/fuel-price) is unrelated noise that blurs what the tool actually does.

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?

It gives concrete user-query triggers — '明天要上班嗎' and '高雄停班停課' — which tells an agent exactly when to reach for it. It does not explicitly contrast with holiday-oriented siblings (is_holiday, get_holidays), but the disaster-closure context is clear enough to imply the boundary.

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