Skip to main content
Glama

Recent earthquakes

earthquakes
Read-only

Find recent earthquakes worldwide or near a location using USGS data, filterable by minimum magnitude, days back, and radius. Returns magnitude, place, time, depth, tsunami flag, and alert level.

Instructions

Recent earthquakes worldwide or near a location from the USGS: magnitude, place, time, depth, tsunami flag and alert level. Filter by minimum magnitude, days back and radius around a point. Costs $0.001 per call.

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

Input Schema

NameRequiredDescriptionDefault
latNoCenter latitude for a radius search.
lonNoCenter longitude for a radius search.
daysNoHow many days back. Default 7.
limitNoMost recent N. Default 20.
radius_kmNoRadius around lat/lon in km. Default 500 when lat/lon are given.
min_magnitudeNoSmallest magnitude to include. Default 4.5.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true, so safety is covered; the description adds genuinely new behavior in the form of the USGS data source and an explicit per-call price of $0.001. It stops short of covering result-set size, ordering, or what happens when no earthquakes match, which are the remaining behavioral gaps.

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?

Three short sentences, front-loaded with what the tool returns, followed by how to narrow it and what it costs. No filler and nothing repeated.

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 no output schema, the description usefully compensates by naming the returned fields, and it covers the source, cost, and filtering model for a six-parameter read-only tool. Minor gaps remain around default result ordering and empty-result behavior, but nothing an agent needs in order to call it.

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 100%, so the schema already documents bounds and defaults for all six parameters. The description restates three of them in prose (min magnitude, days back, radius) without adding format or interaction detail, and never mentions lat/lon or limit, so it earns the baseline rather than more.

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?

States a specific verb and resource — recent earthquakes from the USGS — and enumerates the fields returned (magnitude, place, time, depth, tsunami flag, alert level), which makes the tool's scope unambiguous. It also distinguishes the two search modes (worldwide vs. near a location) up front.

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 gives the filtering axes (minimum magnitude, days back, radius around a point) but never says when to prefer this tool over an alternative, nor any exclusions or prerequisites. Usage is implied by the parameter listing rather than stated as guidance.

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