Skip to main content
Glama

Latest earthquakes from BMKG

nusa_earthquake_latest
Read-onlyIdempotent

Retrieve BMKG earthquake data for a single recent event, recent M5.0+ earthquakes, or felt reports, with Indonesian or English text and a configurable result limit.

Instructions

Gempa bumi from BMKG: the single latest event, the recent M5.0+ list, or the recent felt (dirasakan) list. Lists are short recent windows, not a historical catalog.

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": "nusa_earthquake_latest"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNolatest
langNoLanguage of the human-readable text block: id (Indonesian) or en (English).id
limitNo

Output Schema

NameRequiredDescriptionDefault
dataYes
cacheYesnone = not cached (local data).
sourceYesSource id, e.g. bmkg, bps, region.
derivedNoTrue when computed locally from source data.
dataAsOfNoISO 8601 time the source says the data is current as of.
warningsYes
sourceUrlYesCanonical URL of the data source.
termsNoteYesShort terms caveat for this source.
attributionYesAttribution wording the provider requires. Show it to users.
retrievedAtYesISO 8601 time with offset when data was fetched by this server.
cacheAgeSecondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0-rc.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds genuinely non-structured context: the data windows are short and recent, not a historical archive, which affects how an agent should interpret empty or sparse results. It stops short of describing freshness lag or refresh cadence.

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 tight sentences with zero filler: the enumeration of modes comes first and the scope caveat immediately after. Every clause carries information the agent needs.

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 present, the description need not explain return values, and with strong annotations the behavioral burden is lighter. For a three-parameter, all-optional tool this is nearly complete; only the 'limit' semantics and data recency expectations are left implicit.

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 description coverage is only 33%, yet the description compensates well for the most important parameter by expanding the three 'kind' enum values into concrete result sets. The 'lang' parameter is already documented in the schema. The 'limit' parameter (default 5, max 15) receives no explanation of what it limits or how it interacts with each kind, leaving part of the coverage gap unaddressed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the specific source (BMKG), the resource (earthquake data), and the three distinct result shapes: the single latest event, the M5.0+ list, and the felt (dirasakan) list. It also bounds the tool by stating the lists are short recent windows rather than a historical catalog, which separates it from an archive-style tool. It does not explicitly contrast with a sibling like nusa_earthquake_nearby, but the purpose is still unambiguous.

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?

The description implicitly tells the agent which mode yields which output, and it sets a clear negative boundary ('not a historical catalog'). However, it gives no explicit when-to-use-vs-alternative guidance, such as when to prefer nearby-quake lookup or region tools over this one. Usage is inferable but not stated.

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