Skip to main content
Glama

get_earthquakes_near

Get earthquakes near a specific geographic location.

Searches for earthquakes within a radius of the given coordinates.
Useful for assessing local seismic risk or investigating felt reports.

Args:
    latitude: Latitude of the center point (e.g. 37.7749 for San Francisco).
    longitude: Longitude of the center point (e.g. -122.4194 for San Francisco).
    radius_km: Search radius in kilometers (default 100, max 20001).
    min_magnitude: Minimum magnitude to include (default 1.0).
    days: Number of days to look back (default 30, max 365).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNo
latitudeYes
longitudeYes
radius_kmNo
min_magnitudeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses defaults and maximum values for radius_km and days, which is helpful. However, it omits behavioral details such as how results are ordered, any result limits, or the nature of the returned data (though output schema may cover return structure). It is not misleading but lacks depth, scoring a 3.

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 well-structured: two clear sentences of purpose, then a concise Args block. Every sentence earns its place, though the Args section could be more compact. It is not bloated and remains readable, so a 4 rather than a 5 for slight verbosity.

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 5 parameters, no annotations, and an output schema present, the description covers the parameters and use cases thoroughly. It does not describe return values, but the output schema handles that. It could mention result ordering or edge cases like 'no earthquakes found,' but overall it is complete enough for correct invocation, earning a 4.

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?

The description includes an Args section that explains every parameter: latitude/longitude with examples, radius_km with default and max, min_magnitude with default, and days with default and max. This adds substantial meaning beyond the input schema, which has no descriptions at all. The schema coverage signal is 0%, meaning the description fully compensates, so a 5 is appropriate.

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 clearly states the tool 'Get earthquakes near a specific geographic location' and 'Searches for earthquakes within a radius of the given coordinates.' This distinguishes it from siblings like get_earthquake_detail (specific event lookup) and get_recent_earthquakes (recent list, not location-scoped). The verb+resource+scope are specific and unambiguous.

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 provides explicit use cases: 'Useful for assessing local seismic risk or investigating felt reports.' This tells when to use the tool. However, it does not explicitly mention when not to use it or point to alternatives among siblings, so it misses exclusions. Clear context but no exclusions warrants a 4.

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.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: get_earthquake_detail retrieves specific event details by ID, get_earthquakes_near searches by geographic location with radius parameters, and get_recent_earthquakes fetches global recent events sorted by time. There is no overlap or ambiguity between these three functions.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern with 'get_' prefix and descriptive suffixes (detail, earthquakes_near, recent_earthquakes). The naming is uniform, predictable, and clearly indicates the action and target resource.

Tool Count4/5

Three tools are reasonable for a focused earthquake data server, covering key use cases: detail lookup, location-based search, and global monitoring. However, it feels slightly thin as it lacks tools for broader queries (e.g., by date range or magnitude range without location) or additional data like tsunami alerts, which might be expected in this domain.

Completeness4/5

The tool set covers essential earthquake data retrieval: specific event details, local searches, and global recent events. Minor gaps exist, such as no tools for historical data beyond recent days, filtering by region without coordinates, or accessing related data like tectonic plate information, but agents can work around these with the provided tools.

Resources