Skip to main content
Glama

weather_japan_alerts

Read-only

Japan weather warnings and advisories (JMA) — Live Japan Meteorological Agency warnings for a prefecture or city (area=Tokyo, Osaka, Kawasaki...): highest level (EMERGENCY special warning / WARNING / ADVISORY / NONE), active warnings per forecast region with English names and status (issued, continuing, upgraded, downgraded), cancelled items, and the municipalities currently under an advisory or warning. 404 if the area is not in Japan. Price: $0.002 USDC (Base, via x402).

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": {
      "area": "<area>"
    },
    "name": "weather_japan_alerts"
  }
}

Input Schema

NameRequiredDescriptionDefault
areaYesTokyo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and non-destructive, but the description adds genuinely non-structured behavior: a payment requirement ($0.002 USDC on Base via x402) and a concrete error contract (404 when the area is outside Japan). It also enumerates what the response contains, which matters since no output schema exists. It stops short of rate limits, data freshness, or caching behavior.

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?

Front-loaded with the resource and scope, then packaged into one dense sentence with parenthetical detail; almost every clause carries information. Slightly overloaded — the example list and pricing sit mid-sentence — but there is no filler or repetition.

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 tool with no output schema, the description covers scope, return contents, error behavior, and cost, which is close to everything an agent needs. Minor gaps remain: whether Japanese-script area names are accepted and how frequently the warnings are refreshed.

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

Parameters4/5

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

Schema coverage is 100%, but the schema's own description is just the bare example 'Tokyo'. The description compensates by giving multiple concrete area values (Tokyo, Osaka, Kawasaki) and specifying that they are Japanese prefectures/cities, plus the failure semantics for out-of-scope areas, which meaningfully constrains what the single parameter accepts.

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+resource ('Live Japan Meteorological Agency warnings'), the geographic scope (prefecture or city such as Tokyo, Osaka, Kawasaki), and the exact payload domain (highest warning level, per-region active warnings, cancelled items, affected municipalities). The Japan/JMA scoping makes it immediately distinguishable from the generic weather_alerts siblings without needing to open either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the scope: use this for live Japanese warning status, and note that a non-Japanese area yields 404. There is no explicit when-to-use/when-not-to-use statement and no named alternative (e.g. weather_japan for forecasts vs weather_alerts for other countries), so the agent must infer routing from the geographic qualifier alone.

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