Skip to main content
Glama

Taiwan Weather

Get air quality

get_air_quality
Read-onlyIdempotent

Air quality index (AQI) readings at monitoring stations with the main pollutant, PM2.5, PM10 and ozone, county summaries with the change over 24 hours, and air quality forecasts. Data comes from CubeLV's Taiwan open data service (https://cubelv.com/en/mcp/taiwan-weather/): each call names a method and passes its arguments in args.

Methods:

  • airQuality (Air quality index in Taiwan): Hourly air quality index (AQI) from the Ministry of Environment for each monitoring station: level, main pollutant, PM2.5, PM10, ozone and other concentrations, activity advice and the change from 24 hours earlier. Also county summaries: average AQI, level, the worst station and the change from 24 hours earlier. Args: location: County, district (narrowed to its county) or monitoring station name. Taiwan county or city, optionally with a district or township, in Traditional or Simplified Chinese, English (Taipei, Xinyi District, Taipei City), Japanese, Korean or Vietnamese. Unknown names return 404 with the closest matches. Omit for all stations.

  • airQualityForecast (Air quality forecast for Taiwan): Latest air quality forecast from the Ministry of Environment for each air quality area: AQI, level and main pollutants for the coming days (whole day, and morning and afternoon for today), with the forecast text in Chinese. Args: area: Air quality area (Northern, Hsinchu-Miaoli, Central, Yunlin-Chiayi-Tainan, Kaohsiung-Pingtung, Yilan, Hualien-Taitung, Penghu, Kinmen, Matsu, or the Chinese names), or a county or district to use its area. Omit for all areas.

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": {
      "method": "<method>"
    },
    "name": "get_air_quality"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsNoArguments of the method, as listed in the tool description
langNoLanguage for data labels (industries, statement items, categories) and links: en, ja, ko or vi; default en
methodYesMethod from the list in the tool description
offsetNoPosition in the longest list of the response to start from. A response whose list is longer than fits carries page.nextOffset for the next part; default 0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, and non-destructive behavior. The description adds useful operational context beyond annotations, including the CubeLV data source, the method-plus-args invocation pattern, and that unknown location names return 404 with closest matches. It does not cover rate limits, authentication, or response pagination behavior, so a 4 is appropriate.

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

Conciseness4/5

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

The description is long but well organized: a front-loaded summary, a short data-source note, and then method-by-method details. Some field names and ministry references are repeated across the two method entries, but the length is largely justified by the need to document two distinct methods.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-method tool with no output schema and a generic args object, the description provides enough detail to invoke both methods correctly. It explains what each method returns, what each argument accepts, and how unknown names behave, while the schema covers lang and offset.

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

Parameters5/5

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

The schema's args property is only a generic object, so the description carries the real parameter semantics. It specifies that location accepts county, district, or station names in multiple languages, that area accepts named air quality areas or a county/district, and that omitting either returns all results.

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?

The description opens with a specific verb-and-resource statement: AQI readings at monitoring stations, county summaries, and forecasts. It clearly differentiates the two supported methods, airQuality and airQualityForecast, so an agent can distinguish this tool from weather or earthquake siblings.

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?

The description gives clear method-level context: airQuality for current station and county readings, airQualityForecast for coming-day forecasts. It does not explicitly state when to prefer a sibling tool or when not to use this one, but the domain is distinct enough that the guidance is still strong.

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