Skip to main content
Glama
lzinga

US Government Open Data MCP

by lzinga

usgs_earthquake_count

Read-onlyIdempotent

Count earthquakes matching filters like date, magnitude, and location to answer statistical questions without retrieving full event details.

Instructions

Count earthquakes matching criteria without fetching full details. Useful for statistics: 'How many M5+ earthquakes occurred in 2024?'

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endtimeNoEnd date: '2024-12-31'
latitudeNoCenter latitude for radius search
longitudeNoCenter longitude for radius search
starttimeNoStart date: '2024-01-01'
maxradiuskmNoSearch radius in km
maxmagnitudeNoMaximum magnitude
minmagnitudeNoMinimum magnitude

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2026.4.11
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv2026.3.9

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint. The description adds that it returns a count rather than full details, which is a behavioral trait beyond annotations. It does not contradict any annotation and gives an important expectation about the response type.

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?

The description is exactly two sentences with zero filler. It front-loads the core purpose ('Count earthquakes matching criteria') and then gives a practical example. No redundant or vague wording.

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 count tool with no output schema, the description conveys that it returns a count and gives a concrete usage scenario. It does not mention required parameter groups (e.g., date range vs. radius), but since all parameters are optional and the schema provides descriptions, this is not a critical omission. The tool is simple enough that this description suffices.

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 all 7 parameters are individually documented in the schema. The description adds a usage example (M5+) that references minmagnitude but does not clarify parameter combinations or constraints beyond the schema. Given high schema coverage, the baseline of 3 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 states a specific verb ('Count') and resource ('earthquakes'), and immediately differentiates from full-detail retrieval by noting it works 'without fetching full details.' This clearly distinguishes it from the sibling usgs_earthquakes, which presumably returns detailed records.

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 a concrete use case ('How many M5+ earthquakes occurred in 2024?') and implies a distinction from fetching full details. It does not explicitly name alternative tools or when not to use it, but the context and example make the intended usage clear.

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

Deploy Server

Other Tools