Skip to main content
Glama

JMA Active Weather Warnings

jma-bosai.weather.warnings
Read-onlyIdempotent

Get all currently active weather warnings and advisories issued by the Japan Meteorological Agency (JMA) for a specified area. Returns warning codes, statuses (issued / continuing / lifted), and a headline summary. Warning code meanings: 02=Wind, 03=Wave, 04=Thunderstorm, 05=Heavy Rain, 06=Windstorm, 10=Tsunami, 12=Snow, 14=Avalanche, 15=Flood, 20=High Wave, etc. Pass a 6-digit JMA area code (e.g. 130000 for Tokyo). Data: JMA official warnings — Japanese Government open data, no auth required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
area_codeNoJMA 6-digit area (office) code. Use jma-bosai.reference.areas to look up valid codes. Common codes: 130000 (Tokyo), 270000 (Osaka), 230000 (Aichi/Nagoya), 400000 (Fukuoka).130000

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent only when the call failed. Includes error code, message, request_id, and any provider-specific extras.
resultNoTool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false. The description adds useful behavioral context beyond that: no auth is required, data is JMA official open data, and the response includes statuses and warning-code meanings. This aligns with and augments the annotations without contradicting them.

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?

The description is front-loaded with the core purpose, then efficiently covers return contents, parameter format, and data provenance. The warning-code mapping is long but earns its place because it directly helps interpret the returned codes. No filler or redundant restatement.

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 simple read-only lookup with one optional parameter and an existing output schema, the description is complete: it explains the input, the data source, authentication needs, return elements, and how to obtain valid area codes. An agent has everything needed to invoke the tool correctly.

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?

The input schema already provides full documentation: pattern, default, common example codes, and a pointer to jma-bosai.reference.areas. The description repeats the 6-digit format and Tokyo example but adds no significant meaning beyond the schema, so the baseline of 3 applies.

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 clearly states the verb ('Get'), the resource ('all currently active weather warnings and advisories issued by the JMA'), and the scope ('for a specified area'). It also names the key output elements (warning codes, statuses, headline summary), making it easy to distinguish from sibling tools like jma-bosai.weather.forecast, jma-bosai.weather.overview, and jma-bosai.seismic.recent.

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 establishes clear context: use this when you need current JMA warnings/advisories for a specific area. It does not explicitly name alternatives or exclusion conditions, but the scope is precise enough that an agent should not confuse it with forecasting or seismic tools.

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.