Skip to main content
Glama

Taiwan Weather

Get the weather forecast

get_forecast
Read-onlyIdempotent

Weather forecast for a Taiwan county or township up to 7 days ahead: weather, temperature, feels-like temperature, chance of rain, humidity and wind. 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:

  • weatherForecast (Weather forecast for a county or district in Taiwan): Forecast issued by the Central Weather Administration for a Taiwan county, city or district: weather description, temperature, apparent temperature, chance of rain, humidity, wind and comfort for each period. 1 to 3 days use 3-hour periods; 4 to 7 days use 12-hour periods. Also includes the 36-hour county outlook. Times are Taiwan time (UTC+8). Args: location (required): 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; days: Number of days from today (Taiwan time), 1 to 7, default 2. 1 to 3 give 3-hour periods, 4 to 7 give 12-hour periods.

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_forecast"
  }
}

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

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true and destructiveHint=false, so safety and idempotency are covered structurally. The description adds real context beyond that: the external data source is CubeLV's Taiwan open data service, unknown location names return 404 with closest matches, and all times are Taiwan time (UTC+8). It does not describe pagination behavior in prose, leaving that to the offset/nextOffset schema.

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 lead sentence front-loads the resource, scope, and payload fields, and the method block is clearly delimited with named arguments. There is visible duplication: the header sentence and the weatherForecast bullet re-enumerate the same data elements and re-describe the county/district scope. It stays readable but could shed the repeated field list.

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 a single method, nested args, no output schema, and rich annotations, the description covers what an agent needs: forecast horizon, period granularity, timezone, accepted location formats, error behavior, and defaults. The only material gap is that the interaction between the location's language and the lang label parameter is not addressed, and pagination is left entirely to the schema.

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% at the top level and already documents lang and offset, so the baseline applies. The description does add meaningful detail for the nested args object, which the schema only describes as 'Arguments of the method, as listed in the tool description' — the location field's accepted languages and the days range/default are spelled out here. That nested clarification lifts it slightly above baseline, but it remains documentation-by-reference rather than self-contained parameter explanation.

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 resource and scope: 'Weather forecast for a Taiwan county or township up to 7 days ahead', then enumerates the returned fields. That is far more than a restatement of the title. It doesn't explicitly name the sibling it contrasts with (get_current_weather for present conditions), so differentiation is left implicit through the 'up to 7 days ahead' framing.

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 definition gives clear operating context: Taiwan county/city or district, 1-7 days, with the explicit rule that 1-3 days give 3-hour periods and 4-7 days give 12-hour periods, plus a stated default of 2 days. The failure mode for bad locations (404 with closest matches) is documented. It stops short of stating outright when to use another tool instead, so there is no exclusion clause.

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