Skip to main content
Glama

get_earthquakes

Read-onlyIdempotent

Recent earthquakes worldwide (USGS), by magnitude, hours and distance.

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

Input Schema

NameRequiredDescriptionDefault
sortNo
hoursNoDefault 24.
limitNoMax items.
latitudeNoCenter.
longitudeNoCenter.
radius_kmNoDefault 500.
min_magnitudeNoDefault 4.5.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed17 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / hours / maximum
      Removed value: -168
    • removedInput schema / properties / hours / minimum
      Removed value: -1
    • addedInput schema / properties / latitude / description
      Added value: +"Center."
    • removedInput schema / properties / latitude / maximum
      Removed value: -90
    • removedInput schema / properties / latitude / minimum
      Removed value: --90
    • addedInput schema / properties / limit / description
      Added value: +"Max items."
    • removedInput schema / properties / limit / maximum
      Removed value: -100
    • removedInput schema / properties / limit / minimum
      Removed value: -1
    • addedInput schema / properties / longitude / description
      Added value: +"Center."
    • removedInput schema / properties / longitude / maximum
      Removed value: -180
    • removedInput schema / properties / longitude / minimum
      Removed value: --180
    • removedInput schema / properties / min_magnitude / maximum
      Removed value: -10
    • removedInput schema / properties / min_magnitude / minimum
      Removed value: -0
    • removedInput schema / properties / radius_km / maximum
      Removed value: -20000
    • removedInput schema / properties / radius_km / minimum
      Removed value: -1
    • removedInput schema / required
      Removed value: -[]
  2. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered. The description adds useful context that the data comes from USGS and is global and recent, but says nothing about result volume, rate limits, or what happens when no events match.

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?

A single tightly packed fragment with no filler and the key scoping information front-loaded. The compression costs some clarity, since 'distance' is never anchored to a location and 'by' is ambiguous about whether those are filters or sort keys.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a seven-parameter query tool with no output schema, the description does not indicate the shape of the response (e.g. a list of events with magnitude/place/time) or what an empty result looks like. The schema and annotations carry most of the weight, leaving the description adequate but not 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 coverage is 86%, so the schema already documents six of seven parameters including defaults. The phrase 'by magnitude, hours and distance' loosely maps to sort/hours/radius_km and hints that distance is measured from a center point, but it does not clarify units, the role of latitude/longitude, or how sort interacts with min_magnitude.

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 a specific resource (earthquakes), its source (USGS), and its scope (recent, worldwide, filtered by magnitude/hours/distance), which is enough to distinguish it from sibling tools like get_weather or get_disaster_alerts. It stops short of an explicit verb and never contrasts itself with those siblings.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, and no mention of alternatives such as get_disaster_alerts, which could plausibly overlap for disaster-related queries. The agent must infer the intended use entirely from the title and parameters.

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.