Skip to main content
Glama
GeoSphere MCP Server

GeoSphere MCP Server

by Singh-Akesh

get_earthquakes

Retrieve recent earthquake events from the USGS network, filtered by magnitude, time range, and optional location radius for monitoring or analysis.

Instructions

    Retrieve recent earthquake events from the USGS global seismic network.

    Args:
        min_magnitude: Minimum Richter magnitude to include (default 4.0).
                       Use 2.5 for local quakes, 6.0 for major events only.
        days_back:     How many days back to search (default 7, max 365).
        latitude:      Optional center latitude for a radius search.
                       If omitted, returns global results.
        longitude:     Optional center longitude for a radius search.
        radius_km:     Search radius in kilometers around the lat/lon point (default 500 km).
                       Only used when latitude and longitude are provided.
        limit:         Maximum number of results to return (default 20, max 100).

    Returns:
        List of earthquakes with magnitude, location, depth, time, and USGS event link.
    

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
limitNo
latitudeNo
days_backNo
longitudeNo
radius_kmNo
min_magnitudeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses the upstream source, default and maximum values (days_back max 365, limit max 100), the default 500 km radius, and the conditional lat/lon logic that would otherwise be invisible. It omits safety/auth notes (a public read API, so minor), result ordering, and error behavior, which are the remaining gaps.

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 purpose is front-loaded in one sentence, followed by a tightly aligned Args/Returns block where each line adds distinct information. The docstring formatting is slightly verbose for a tool description, but no sentence is wasted.

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?

For a six-parameter, zero-annotation tool with no output schema, the definition covers query semantics, defaults, limits, conditional logic, and even the fields returned (magnitude, location, depth, time, event link). Only ordering and pagination beyond the limit cap are left unspecified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, yet the description documents all six parameters with defaults, bounds, units (kilometers, Richter magnitude), and inter-parameter conditions. This is exactly the compensation needed for a schema that only supplies titles and defaults.

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 (retrieve), resource (recent earthquake events) and data source (USGS global seismic network) in the opening line. The resource is distinct from every sibling (weather, air quality, exchange rates), so an agent has no ambiguity about which tool handles seismic events.

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?

Gives actionable configuration guidance such as 'Use 2.5 for local quakes, 6.0 for major events only' and explains the conditional rule that radius_km is 'Only used when latitude and longitude are provided,' plus the 'If omitted, returns global results' behavior. It stops short of naming when to prefer a different tool or any explicit exclusions, which keeps it at 4.

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