Skip to main content
Glama

Japan Agent API

Japan trip impact check (paid)

jp_trip_impact_check
Read-only

Check a Japan itinerary [{date, prefecture}] against JMA warnings/advisories in effect now. Per stop: matched_advisory (with severity), no_match_in_checked_sources (NOT a statement of no impact) or unknown (data missing, or date not today/tomorrow JST). Returns checked sources and areas, unchecked areas, issued_at, retrieved_at, and current JMA typhoon bulletins (listed, not matched). No forecast. Retrying with the same payment is not charged; use receipt_id with get_receipt.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itineraryYes1 to 14 stops {date, prefecture}, in travel order. Only stops dated today or tomorrow (Japan time) can be matched; others return unknown.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / itinerary / description
      Added value: +"1 to 14 stops {date, prefecture}, in travel order. Only stops dated today or tomorrow (Japan time) can be matched; others return unknown."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "anyOf": [
      +    {
      +      "additionalProperties": {},
      +      "properties": {
      +        "checked_at_jst_date": {
      +          "type": "string"
      +        },
      +        "disclaimer": {
      +          "type": "string"
      +        },
      +        "license_note": {
      +          "type": "string"
      +        },
      +        "not_covered": {},
      +        "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"
      +        },
      +        "receipt_id": {
      +          "description": "Receipt id of the settled paid call (\"rcpt_\" + 64 hex). Use with get_receipt.",
      +          "type": "string"
      +        },
      +        "related_bulletins": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "matched_against_stops": {
      +              "type": "boolean"
      +            },
      +            "typhoon_status": {
      +              "enum": [
      +                "bulletin_listed_not_matched",
      +                "no_bulletin_in_checked_sources",
      +                "not_checked",
      +                "unknown"
      +              ],
      +              "type": "string"
      +            },
      +            "typhoons": {
      +              "items": {
      +                "additionalProperties": {},
      +                "properties": {},
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "volcano_matched_against_stops": {
      +              "type": "boolean"
      +            },
      +            "volcano_status": {
      +              "enum": [
      +                "bulletin_listed_not_matched",
      +                "no_alert_in_checked_sources",
      +                "not_checked",
      +                "unknown"
      +              ],
      +              "type": "string"
      +            },
      +            "volcanoes": {
      +              "items": {
      +                "additionalProperties": {},
      +                "properties": {},
      +                "type": "object"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "typhoon_status",
      +            "typhoons",
      +            "matched_against_stops",
      +            "volcano_status",
      +            "volcanoes",
      +            "volcano_matched_against_stops"
      +          ],
      +          "type": "object"
      +        },
      +        "responded_at": {
      +          "type": "string"
      +        },
      +        "results": {
      +          "description": "One result per itinerary stop, in order.",
      +          "items": {
      +            "additionalProperties": {},
      +            "properties": {
      +              "checked_areas": {
      +                "items": {
      +                  "additionalProperties": {},
      +                  "properties": {},
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "checked_sources": {
      +                "items": {
      +                  "additionalProperties": {},
      +                  "properties": {},
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "date": {
      +                "type": "string"
      +              },
      +              "impact": {
      +                "description": "matched_advisory / no_match_in_checked_sources (NOT a statement of no impact) / unknown.",
      +                "enum": [
      +                  "matched_advisory",
      +                  "no_match_in_checked_sources",
      +                  "unknown"
      +                ],
      +                "type": "string"
      +              },
      +              "issued_at": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "prefecture": {
      +                "additionalProperties": {},
      +                "properties": {
      +                  "input": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "input"
      +                ],
      +                "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"
      +              },
      +              "retrieved_at": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "severity": {
      +                "anyOf": [
      +                  {
      +                    "enum": [
      +                      "emergency",
      +                      "warning",
      +                      "advisory"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "typhoon": {
      +                "enum": [
      +                  "bulletin_listed_not_matched",
      +                  "no_bulletin_in_checked_sources",
      +                  "not_checked",
      +                  "unknown"
      +                ],
      +                "type": "string"
      +              },
      +              "unchecked_areas": {
      +                "items": {
      +                  "additionalProperties": {},
      +                  "properties": {},
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              }
      +            },
      +            "required": [
      +              "date",
      +              "prefecture",
      +              "impact",
      +              "severity",
      +              "typhoon",
      +              "issued_at",
      +              "retrieved_at",
      +              "checked_sources",
      +              "checked_areas",
      +              "unchecked_areas",
      +              "provenance"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "retrieved_at": {
      +          "description": "When the upstream data was retrieved (ISO 8601).",
      +          "type": "string"
      +        },
      +        "rules": {},
      +        "source": {
      +          "description": "Data source and processor.",
      +          "type": "string"
      +        },
      +        "summary": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "matched_advisory": {
      +              "type": "number"
      +            },
      +            "no_match_in_checked_sources": {
      +              "type": "number"
      +            },
      +            "unknown": {
      +              "type": "number"
      +            }
      +          },
      +          "required": [
      +            "matched_advisory",
      +            "no_match_in_checked_sources",
      +            "unknown"
      +          ],
      +          "type": "object"
      +        },
      +        "terms": {
      +          "description": "URL of the terms of service.",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "receipt_id",
      +        "checked_at_jst_date",
      +        "summary",
      +        "results",
      +        "related_bulletins",
      +        "rules",
      +        "not_covered",
      +        "disclaimer",
      +        "provenance",
      +        "source",
      +        "retrieved_at",
      +        "responded_at",
      +        "license_note",
      +        "terms"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "additionalProperties": {},
      +      "description": "x402 PaymentRequired (returned with isError true when payment is required or was not accepted).",
      +      "properties": {
      +        "accepts": {
      +          "description": "Payment options (x402 v2 PaymentRequirements).",
      +          "items": {
      +            "additionalProperties": {},
      +            "properties": {
      +              "network": {
      +                "type": "string"
      +              },
      +              "scheme": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "scheme",
      +              "network"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "error": {
      +          "type": "string"
      +        },
      +        "resource": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "url": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "url"
      +          ],
      +          "type": "object"
      +        },
      +        "x402Version": {
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "x402Version",
      +        "accepts"
      +      ],
      +      "type": "object"
      +    }
      +  ],
      +  "description": "Either the paid result (with receipt_id) or, with isError true, the x402 PaymentRequired to pay and retry.",
      +  "properties": {},
      +  "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