Skip to main content
Glama
Earthcast MCP Server

Earthcast MCP Server

by ec-will

get_alerts

Retrieve active weather alerts, watches, warnings, and advisories for a US location to assess safety and severe weather risk, including severity, urgency, timing, and affected areas.

Instructions

Get active weather alerts, watches, warnings, and advisories for a location (US only). Use this for safety-critical weather information when asked about "any alerts?", "weather warnings?", "is it safe?", "dangerous weather?", or "weather watches?". Returns severity, urgency, certainty, effective/expiration times, and affected areas. For forecast data, use get_forecast instead. If this tool returns an error, check the error message for status page links and consider using check_service_status to verify API availability.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "latitude": "<latitude>",
      "longitude": "<longitude>"
    },
    "name": "get_alerts"
  }
}

Input Schema

NameRequiredDescriptionDefault
latitudeYesLatitude of the location (-90 to 90)
longitudeYesLongitude of the location (-180 to 180)
active_onlyNoWhether to show only active alerts (default: true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/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 largely meets it: it discloses the geographic restriction (US only), enumerates returned fields (severity, urgency, certainty, effective/expiration times, affected areas), and describes error behavior including status-page links. It stops short of stating auth requirements or rate limits, which is a modest gap for a public read-style lookup.

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?

Front-loads the purpose, then usage triggers, then return shape, then alternative and error handling – a logical progression with no filler. The quoted example-phrase list is slightly dense but each item genuinely aids trigger matching.

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?

No output schema exists, so the field enumeration is necessary and provided; the US-only boundary and error path round out the operation. A minor residual gap is that setting active_only=false (returning non-active alerts) is left to the schema alone, creating slight tension with the description's "active alerts" framing.

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 latitude, longitude, and active_only are already documented with ranges and a default. The description adds no syntax or format detail beyond the schema baseline, which is acceptable but not additive.

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 and resource ("Get active weather alerts, watches, warnings, and advisories") and bounds scope explicitly with "(US only)". It also names the sibling it is not for ("For forecast data, use get_forecast instead"), so an agent can distinguish it from get_forecast and get_current_conditions without opening a schema.

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

Usage Guidelines5/5

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

Gives explicit use conditions with concrete user phrasings ("any alerts?", "weather warnings?", "is it safe?", "dangerous weather?"), names the alternative for forecast data, and adds an escalation path (check_service_status) for API failures. Nothing about when to reach for this tool is left to inference.

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