Skip to main content
Glama

Japan Agent API

Japan weather warnings by prefecture (JMA)

jp_warnings
Read-only

Current Japan Meteorological Agency (JMA) weather emergency warnings, warnings and advisories for one prefecture, as structured JSON in English and Japanese (type, level, status, areas with JMA's English names, issued_at, source URL). Relay only; no independent forecast.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
prefectureYesJapanese prefecture: English name (e.g. "Tokyo", "Osaka", "Hokkaido"; "Tokyo-to" and "Osaka Prefecture" also work), Japanese name in kanji, or JIS code "01".."47".
include_municipalitiesNoAlso list every municipality (Japanese and English names) per warning. Default false.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
termsYesURL of the terms of service.
countsYes
regionYes
sourceYesData source and processor.
coverageYescomplete = every forecast area has a usable latest bulletin; partial = some missing; unknown = none.
warningsYesWarnings and advisories in effect (type, level, status, areas).
bulletinsYes
prefectureYes
provenanceYesFreshness receipts for every upstream source used.
license_noteYes
responded_atYes
retrieved_atYesWhen the upstream data was retrieved (ISO 8601).
danger_noticeYes
forecast_areasYes
missing_officesYes
lifted_in_latest_bulletinYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "bulletins": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {},
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "counts": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "advisory": {
      +          "type": "number"
      +        },
      +        "emergency": {
      +          "type": "number"
      +        },
      +        "warning": {
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "emergency",
      +        "warning",
      +        "advisory"
      +      ],
      +      "type": "object"
      +    },
      +    "coverage": {
      +      "description": "complete = every forecast area has a usable latest bulletin; partial = some missing; unknown = none.",
      +      "enum": [
      +        "complete",
      +        "partial",
      +        "unknown"
      +      ],
      +      "type": "string"
      +    },
      +    "danger_notice": {
      +      "type": "boolean"
      +    },
      +    "forecast_areas": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "code": {
      +            "type": "string"
      +          },
      +          "en": {
      +            "type": "string"
      +          },
      +          "ja": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "en",
      +          "ja"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "license_note": {
      +      "type": "string"
      +    },
      +    "lifted_in_latest_bulletin": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {},
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "missing_offices": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "office_code": {
      +            "type": "string"
      +          },
      +          "reason": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "office_code",
      +          "reason"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "prefecture": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "en": {
      +          "type": "string"
      +        },
      +        "ja": {
      +          "type": "string"
      +        },
      +        "jis": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "jis",
      +        "en",
      +        "ja"
      +      ],
      +      "type": "object"
      +    },
      +    "provenance": {
      +      "description": "Freshness receipts for every upstream source used.",
      +      "items": {
      +        "additionalProperties": {},
      +        "description": "Freshness receipt for one upstream source.",
      +        "properties": {
      +          "content_sha256": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "fetch_status": {
      +            "description": "found / empty / stale / unavailable / unsupported (see catalog fetch_status_values).",
      +            "enum": [
      +              "found",
      +              "empty",
      +              "stale",
      +              "unavailable",
      +              "unsupported"
      +            ],
      +            "type": "string"
      +          },
      +          "parser_version": {
      +            "type": "string"
      +          },
      +          "processed_by": {
      +            "type": "string"
      +          },
      +          "retrieved_at": {
      +            "description": "When this service retrieved the upstream data (null if unknown).",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "source": {
      +            "additionalProperties": {},
      +            "description": "Publisher and URL of the upstream document or dataset.",
      +            "properties": {
      +              "publisher": {
      +                "type": "string"
      +              },
      +              "url": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "publisher",
      +              "url"
      +            ],
      +            "type": "object"
      +          },
      +          "upstream_updated_at": {
      +            "description": "Update time stated by the upstream, or null when it states none.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "source",
      +          "upstream_updated_at",
      +          "retrieved_at",
      +          "content_sha256",
      +          "parser_version",
      +          "fetch_status",
      +          "processed_by"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "region": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {},
      +          "properties": {
      +            "code": {
      +              "type": "string"
      +            },
      +            "en": {
      +              "type": "string"
      +            },
      +            "ja": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "code",
      +            "en",
      +            "ja"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "responded_at": {
      +      "type": "string"
      +    },
      +    "retrieved_at": {
      +      "description": "When the upstream data was retrieved (ISO 8601).",
      +      "type": "string"
      +    },
      +    "source": {
      +      "description": "Data source and processor.",
      +      "type": "string"
      +    },
      +    "terms": {
      +      "description": "URL of the terms of service.",
      +      "type": "string"
      +    },
      +    "warnings": {
      +      "description": "Warnings and advisories in effect (type, level, status, areas).",
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "issued_at": {
      +            "type": "string"
      +          },
      +          "office_code": {
      +            "type": "string"
      +          },
      +          "source_url": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "office_code",
      +          "issued_at",
      +          "source_url"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "prefecture",
      +    "region",
      +    "forecast_areas",
      +    "coverage",
      +    "missing_offices",
      +    "counts",
      +    "danger_notice",
      +    "warnings",
      +    "lifted_in_latest_bulletin",
      +    "bulletins",
      +    "provenance",
      +    "source",
      +    "retrieved_at",
      +    "responded_at",
      +    "license_note",
      +    "terms"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources