Skip to main content
Glama

weather_japan

Read-only

Japan weather: official JMA 3-day + weekly forecast — Official Japan Meteorological Agency forecast for any prefecture or city in Japan (area=Tokyo, Osaka, Yokohama, Sapporo, Okinawa, or a 6-digit JMA office code): per-region 3-day weather (code, condition, official Japanese text plus an English gloss, wind, waves), 6-hour precipitation chances, station highs/lows, the 7-day outlook with reliability grades and temperature ranges, and climate normals. Fills the gap NWS and global models leave for Japan. 404 if the area is not in Japan. Price: $0.003 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"
  }
}

Input Schema

NameRequiredDescriptionDefault
areaYesTokyo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, and destructiveHint=false, so safety is covered. The description adds meaningful behavior beyond that: the 404 out-of-scope response and a concrete cost of $0.003 USDC on Base via x402, which matters for an agent deciding whether to invoke it. It does not discuss rate limits or response size, but the payment and error details are substantive additions.

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 core purpose and resource, then the payload contents, then the error and pricing caveats in a logical order. It is dense and list-heavy, but nearly every clause conveys a distinct fact; only the gloss/Japanese-text phrasing is slightly redundant.

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?

With no output schema, the description carries the full burden of describing return values and does so thoroughly, field group by field group. It also covers the input format, the failure case, and the cost, leaving nothing an agent needs in order to call it correctly.

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 alone only offers the bare example 'Tokyo' for area. The description explains the accepted forms — prefecture or city name with five concrete examples plus a 6-digit JMA office code — and the geographic boundary (must be in Japan), which is essential meaning not present in the schema.

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 and resource — official JMA 3-day plus weekly forecast for Japan — and enumerates exactly what is returned (weather codes, precipitation chances, station highs/lows, 7-day outlook with reliability grades, climate normals). It also positions itself against non-Japan sources (NWS and global models), so an agent can distinguish it from generic forecast siblings without opening the schema.

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?

Gives clear selection context: use it for Japan coverage because NWS and global models leave that gap, and scope the input to Japanese prefectures, cities, or a 6-digit JMA office code. It also states the failure condition (404 if the area is not in Japan), which tells the agent when not to call it. It stops short of explicitly naming an alternative tool for non-Japan locations.

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