Skip to main content
Glama

STRATA & TrashPan B2A Public Data, 5.86M JP KYB, 44.2k Domains, EDINET, LEI, OFAC & Golf EV MCP

query_seismic_hazards

Read-onlyIdempotent

Read-only, idempotent spatial query of GSI 1m elevation, J-SHIS hazard, PLATEAU 3D models, and POIs in 47 prefectures (API key or x402; daily). Pass areaOrStation or lat/lon (default radiusKm=10, limit=30, offset=0); returns spatial records ordered by distance ascending. Note: For auctions, use query_court_foreclosures instead.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
latNoOptional latitude in decimal degrees across Japan (20.0 to 46.0, e.g. 35.6812).
lonNoOptional longitude in decimal degrees across Japan (122.0 to 154.0, e.g. 139.7671).
limitNoMaximum spatial POI records to return (1 to 200).
offsetNoZero-based pagination offset (0..10000, default 0). Combine with limit to page through large result sets deterministically.
keywordNoOptional keyword filter across facilities, corporations, and datasets.
categoryNoPOI category filter ("location_seismic_elevation", "hospitals_medical", "corporate_procurement", "court_auctions", "plateau_3d_gtfs", or "all").all
radiusKmNoHaversine search radius in kilometers for nearby facilities (0.1 to 100, default: 10 km).
areaOrStationNoJapanese address, municipality, or railway station across any of all 47 prefectures (e.g. "東京都千代田区丸の内", "札幌駅", "大阪市北区", "博多駅").東京都千代田区丸の内

Output Schema

NameRequiredDescriptionDefault
itemsYesSpatial records combining GSI 1m elevation, J-SHIS seismic hazard, PLATEAU 3D urban models, and area POIs ordered by Haversine distance ascending.
statsYesExecution telemetry including itemCount, durationMs, and upstream breakdown.
offsetYesZero-based pagination offset applied to the matched record slice.
successYesTrue when the read-only query completed without upstream or validation failure.
streamIdYesUnderlying B2A data stream identifier that fulfilled the query.
toolNameYesExecuted MCP tool name for deterministic audit correlation.
sealStatusYesTAPP Sigstore Rekor cryptographic Merkle seal status of the dataset.
generated_atYesISO-8601 UTC timestamp when this response payload was generated.
sha256DigestYesDeterministic 64-character hex SHA-256 provenance digest of the returned items.
partialResultNoTrue only if a live upstream sub-source returned partial coverage.
returnedCountYesNumber of structured records returned in items for this page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, so the description is not obligated to restate safety, yet it adds real behavioral context beyond them: auth modes (API key or x402; daily) and result ordering (distance ascending). It does not state rate limits or error behavior, keeping it short of full disclosure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two dense sentences plus a short routing note, with scope and access model front-loaded and the sibling pointer last. Almost every clause carries new information; the only waste is repeating annotation-backed read-only/idempotent claims.

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 an output schema, full annotation coverage, and 100% parameter descriptions, the description only needs to cover invocation shape, auth, and ordering, which it does. The only gap is the unreconciled "court_auctions" category versus the instruction to use query_court_foreclosures for auctions.

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%, so the baseline is 3, but the description adds meaning the schema cannot express: that areaOrStation and lat/lon are alternatives rather than all-optional free fields, and that results come back distance-ordered so offset/limit behave predictably. The restated defaults (radiusKm=10, limit=30, offset=0) are duplicative of 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?

Names a specific verb plus an enumerated resource set (GSI 1m elevation, J-SHIS hazard, PLATEAU 3D models, POIs) scoped to 47 prefectures, which is far more specific than any sibling like query_court_foreclosures or query_medical_facilities. An agent can tell exactly what domain this covers 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 a concrete invocation rule ("Pass areaOrStation or lat/lon") plus defaults, and routes one case explicitly to a sibling: "For auctions, use query_court_foreclosures instead." That leaves a minor unresolved tension, since the category enum still accepts "court_auctions", so it is clear context but not exhaustive when/when-not guidance.

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.