Skip to main content
Glama

Jma Forecast

jma_forecast
Read-onlyIdempotent

Weather forecast for a Japanese region from the Japan Meteorological Agency (JMA), covering a 3-day short-term outlook (weather, precipitation probability, temperature per sub-area) and a 7-day weekly outlook (weather, precipitation probability, reliability, min/max temperature with confidence range). Sourced from www.jma.go.jp/bosai/forecast/data/forecast/.json. Accepts a place name in English or Japanese ("Tokyo", "Sapporo", "大阪") or a JMA office code directly, resolved the same way as jma_resolve_area. Weather text is native Japanese; an English gloss is included for JMA's fixed weatherCode set (weatherEn), derived from a static translation table, not machine-translated on the fly.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "area": "Tokyo"
    },
    "name": "jma_forecast"
  }
}

Input Schema

NameRequiredDescriptionDefault
areaYesPlace name or JMA area/office code, e.g. "Tokyo", "Fukuoka", "130000".

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 readOnly, idempotent, open-world, non-destructive, so the safety profile is covered. The description adds genuinely non-obvious behavior: the upstream JSON endpoint, that weather text is native Japanese, and that weatherEn is a static translation table rather than live machine translation — the last point materially affects how an agent should interpret the output.

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?

Content is front-loaded: what is returned comes first, then the data source, then input handling, then the language caveat. The prose is dense but every clause carries information; only the explicit source URL is arguably redundant for an agent that cannot fetch it directly.

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 no output schema, the description carries the burden of describing return values, and it does so by enumerating both outlook sections and their fields (precipitation probability, reliability, temperature confidence range). Minor gaps remain — no mention of units, timezone, or behavior for an unrecognized area — but nothing essential to invocation is missing.

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% for the single `area` parameter, so baseline would be 3. The description adds value beyond the schema by stating that names may be given in English or Japanese script ("大阪") and that resolution follows the jma_resolve_area path — information the schema's own example list does not convey.

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 names a specific verb and resource ("Weather forecast ... from the Japan Meteorological Agency") and enumerates the two products returned: a 3-day short-term outlook and a 7-day weekly outlook with named fields. It also implicitly distinguishes itself from jma_past_daily and jma_climate_normals by framing the output as a forward-looking forecast with reliability/confidence ranges.

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?

Usage context is clear: the tool takes a place name or office code and returns forecast data, and the description tells the agent that resolution behaves identically to jma_resolve_area, which is useful routing information. It stops short of explicit exclusions (e.g., "use jma_past_daily for observed history"), so the when-not guidance is left to inference from the tool's own name.

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.