Skip to main content
Glama

jma_get_earthquake

Retrieve the full Japan Meteorological Agency earthquake report—hypocenter, magnitude, tsunami assessment, and seismic intensity by prefecture, region, and municipality—using a detail_id or event_id.

Instructions

Full Japan Meteorological Agency (JMA) report for one earthquake: hypocenter (name, latitude/longitude, depth in km), JMA magnitude, JMA's tsunami assessment in Japanese and English (e.g. 'This earthquake poses no tsunami risk.'), and observed seismic intensity (震度) by prefecture → region → municipality, strongest first. Set include_stations to also get each seismometer's reading and coordinates (large quakes have hundreds). Identify the quake with detail_id from jma_list_earthquakes, or with its 14-digit event_id.

Input Schema

NameRequiredDescriptionDefault
event_idNoJMA event ID (origin time as YYYYMMDDhhmmss JST), e.g. '20261008041355'.
detail_idNoThe detail_id from jma_list_earthquakes, e.g. '20261008041755_20261008041355_VXSE5k_1.json'.
include_stationsNoInclude per-station intensities with coordinates (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose the response shape, bilingual tsunami text, sort ordering (strongest first), and the cost of include_stations. It does not state what happens if both identifiers are given or if neither is supplied — notable since required parameters = 0.

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?

One dense paragraph, front-loaded with what is returned, then how to identify the quake. The field enumeration is long but each item maps to something an agent needs; nothing is redundant.

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?

No output schema exists, so the description must describe returns — and it does so in detail, including ordering and the optional station payload. The remaining gap is the precedence/fallback behavior when zero or two identifiers are provided.

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

Parameters3/5

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

Schema coverage is 100%, so both identifiers and the boolean are already documented in the schema. The description adds only marginal meaning: provenance of detail_id and the volume implication of include_stations. Baseline 3 is appropriate when the schema does the heavy lifting.

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?

Specific verb+resource ('Full JMA report for one earthquake') followed by an enumeration of the returned fields: hypocenter, magnitude, tsunami assessment, intensity by prefecture/region/municipality. It is clearly distinguishable from jma_list_earthquakes, which is named as the source of the detail_id.

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?

It tells the agent how to obtain the identifier (detail_id from jma_list_earthquakes, or the 14-digit event_id) and when to set include_stations ('large quakes have hundreds' of stations). It stops short of an explicit 'use jma_list_earthquakes instead when you have no ID' exclusion, but the routing is clear enough in practice.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.