Skip to main content
Glama

Was that an earthquake?

was_that_an_earthquake
Read-onlyIdempotent

Checks whether USGS has recorded an earthquake that someone who just felt shaking a few minutes ago could have felt: large and close enough for an estimated intensity of MMI 2+ at their location (Atkinson & Wald 2007, the equation USGS Did You Feel It? uses). Answers yes (with the event), not_yet_reported (nothing yet, but small quakes take minutes to be catalogued, so this is not a no), or no; smaller quakes recorded nearby are listed as too small to feel. The result links USGS Did You Feel It? for reporting shaking. Data: USGS, as held by QuakeIndex. Each result includes its source, when the data was last confirmed, and links to the QuakeIndex and USGS event pages. No predictions and no warnings: results name ShakeAlert and MyShake as the sources of earthquake early warning.

Input Schema

NameRequiredDescriptionDefault
zipNoUS 5-digit ZIP code, e.g. '93555'.
cityNoUS town or city, e.g. 'Ridgecrest'. Add state.
stateNoTwo-letter code or name, with city.
latitudeNoDecimal degrees. Give with longitude, OR use zip, OR city.
longitudeNo
radius_kmNo
minutes_agoNoRoughly how long ago the shaking was felt.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations, the description explains the intensity threshold, the Atkinson & Wald basis, the meaning of 'not_yet_reported', the handling of smaller nearby quakes, source provenance, last-confirmed timing, and links to USGS Did You Feel It? and event pages. It also explicitly disclaims predictions and warnings and names ShakeAlert and MyShake as warning sources.

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?

The description is front-loaded with the core purpose and answer states, then adds useful caveats and provenance. It is somewhat long and includes some repeated provenance/link information, but most sentences earn their place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 carries the burden of explaining return states and does so thoroughly: yes, not_yet_reported, no, too-small nearby events, source metadata, and safety disclaimers. For a seven-parameter read-only query tool, this is sufficiently complete.

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 71%, so most parameters are already documented in the input schema. The description adds context about 'a few minutes ago' and location-based intensity, but it does not add parameter-specific syntax or usage details beyond what the schema provides.

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 function: checking whether USGS has recorded an earthquake that could have caused recently felt shaking at a location. It clearly distinguishes this from sibling tools by framing the tool as a personal 'did I feel it?' check rather than a general earthquake search or detail lookup.

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?

The description gives a clear usage context: someone who felt shaking a few minutes ago and wants to know if an earthquake explains it. It does not explicitly name alternative sibling tools or say when not to use this one, but the intended scenario is unambiguous.

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.

Resources