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 spatial query of GSI 1m elevation, J-SHIS hazard, PLATEAU 3D models, and POIs in 47 prefectures. Pass areaOrStation or lat/lon (default radiusKm=10, limit=30, offset=0); returns items ordered by distance. Note: For BIT, 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
latNoWGS84 latitude.
lonNoWGS84 longitude.
limitNoMax rows returned.
offsetNoPagination offset.
radiusKmNoSearch radius (km).
areaOrStationNoArea or station name.東京都千代田区丸の内

Output Schema

NameRequiredDescriptionDefault
itemsNoGSI & PLATEAU 3D items.
successNoExecution status.
streamIdNoB2A stream slug.
sha256DigestNoSHA-256 hex digest.
returnedCountNoReturned rows.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed21 schema fields changed
    • changedInput schema / properties / areaOrStation / description
      Previous value: -"Japanese address, municipality, or railway station across any of all 47 prefectures (e.g. \"東京都千代田区丸の内\", \"札幌駅\", \"大阪市北区\", \"博多駅\")."New value: +"Area or station name."
    • removedInput schema / properties / category
      Removed value: -{
      -  "default": "all",
      -  "description": "POI category filter (\"location_seismic_elevation\", \"hospitals_medical\", \"corporate_procurement\", \"court_auctions\", \"plateau_3d_gtfs\", or \"all\").",
      -  "enum": [
      -    "all",
      -    "location_seismic_elevation",
      -    "hospitals_medical",
      -    "corporate_procurement",
      -    "court_auctions",
      -    "plateau_3d_gtfs"
      -  ],
      -  "type": "string"
      -}
    • removedInput schema / properties / keyword
      Removed value: -{
      -  "description": "Optional keyword filter across facilities, corporations, and datasets.",
      -  "maxLength": 120,
      -  "type": "string"
      -}
    • changedInput schema / properties / lat / description
      Previous value: -"Optional latitude in decimal degrees across Japan (20.0 to 46.0, e.g. 35.6812)."New value: +"WGS84 latitude."
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum spatial POI records to return (1 to 200)."New value: +"Max rows returned."
    • changedInput schema / properties / lon / description
      Previous value: -"Optional longitude in decimal degrees across Japan (122.0 to 154.0, e.g. 139.7671)."New value: +"WGS84 longitude."
    • changedInput schema / properties / offset / description
      Previous value: -"Zero-based pagination offset (0..10000, default 0). Combine with limit to page through large result sets deterministically."New value: +"Pagination offset."
    • changedInput schema / properties / radiusKm / description
      Previous value: -"Haversine search radius in kilometers for nearby facilities (0.1 to 100, default: 10 km)."New value: +"Search radius (km)."
    • removedOutput schema / properties / generated_at
      Removed value: -{
      -  "description": "ISO-8601 UTC timestamp when this response payload was generated.",
      -  "type": "string"
      -}
    • changedOutput schema / properties / items / description
      Previous value: -"Spatial records combining GSI 1m elevation, J-SHIS seismic hazard, PLATEAU 3D urban models, and area POIs ordered by Haversine distance ascending."New value: +"GSI & PLATEAU 3D items."
    • removedOutput schema / properties / items / items
      Removed value: -{
      -  "type": "object"
      -}
    • removedOutput schema / properties / offset
      Removed value: -{
      -  "description": "Zero-based pagination offset applied to the matched record slice.",
      -  "type": "integer"
      -}
    • removedOutput schema / properties / partialResult
      Removed value: -{
      -  "description": "True only if a live upstream sub-source returned partial coverage.",
      -  "type": "boolean"
      -}
    • changedOutput schema / properties / returnedCount / description
      Previous value: -"Number of structured records returned in items for this page."New value: +"Returned rows."
    • removedOutput schema / properties / sealStatus
      Removed value: -{
      -  "description": "TAPP Sigstore Rekor cryptographic Merkle seal status of the dataset.",
      -  "type": "string"
      -}
    • changedOutput schema / properties / sha256Digest / description
      Previous value: -"Deterministic 64-character hex SHA-256 provenance digest of the returned items."New value: +"SHA-256 hex digest."
    • removedOutput schema / properties / stats
      Removed value: -{
      -  "description": "Execution telemetry including itemCount, durationMs, and upstream breakdown.",
      -  "type": "object"
      -}
    • changedOutput schema / properties / streamId / description
      Previous value: -"Underlying B2A data stream identifier that fulfilled the query."New value: +"B2A stream slug."
    • changedOutput schema / properties / success / description
      Previous value: -"True when the read-only query completed without upstream or validation failure."New value: +"Execution status."
    • removedOutput schema / properties / toolName
      Removed value: -{
      -  "description": "Executed MCP tool name for deterministic audit correlation.",
      -  "type": "string"
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "toolName",
      -  "streamId",
      -  "success",
      -  "offset",
      -  "returnedCount",
      -  "sealStatus",
      -  "sha256Digest",
      -  "generated_at",
      -  "items",
      -  "stats"
      -]
  2. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description still adds real behavior beyond that: results are ordered by distance, and the default radius/limit/offset establish the result-set shape. It does not mention coverage gaps or whether all four data sources are returned together per item, which would have pushed this higher.

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?

Three dense sentences, front-loaded with the dataset scope and followed by invocation mechanics and an exclusion. Minor waste from repeating default values already present in the schema, and the trailing 'BIT' note is an unearned sentence given how opaque it is.

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 a 100%-covered schema, rich annotations, and an output schema that carries return shape, the description only needs to cover scope, input modes, and ordering — all present. The remaining gap is edge-case behavior when both or neither location parameter is provided, which an agent would have to guess.

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 the baseline is 3, and the description largely restates schema defaults (radiusKm=10, limit=30, offset=0) rather than adding meaning. Its one genuine contribution is clarifying that areaOrStation and lat/lon are alternative location modes, a relationship the schema does not encode.

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 states a specific verb (spatial query) and enumerates the actual resources covered — GSI 1m elevation, J-SHIS hazard, PLATEAU 3D models, and POIs — plus the geographic scope of 47 prefectures. This is valuable because the tool name mentions only seismic hazards, so the description correctly signals the broader dataset coverage an agent would otherwise miss.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives invocation guidance (use areaOrStation OR lat/lon) and one exclusion routing to query_court_foreclosures, but that note is cryptic — 'BIT' is never defined and the target sibling is unrelated to spatial data, so the guidance is more confusing than helpful. There is no guidance on when to prefer this over other geospatial options or what to do when both/neither location input is supplied.

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.