Skip to main content
Glama
Earthcast MCP Server

Earthcast MCP Server

by ec-will

get_forecast

Retrieve future weather forecasts for any location with daily or hourly detail, including temperature, precipitation, wind, conditions, and sunrise/sunset times.

Instructions

Get future weather forecast for a location (global coverage). Use this for upcoming weather predictions (e.g., "tomorrow", "this week", "next 7 days", "hourly forecast"). Returns forecast data including temperature, precipitation, wind, conditions, and sunrise/sunset times. Supports both daily and hourly granularity. Automatically selects best data source: NOAA for US locations (more detailed), Open-Meteo for international locations. For current weather, use get_current_conditions. For past weather, use get_historical_weather. Can use either coordinates OR a saved location name (e.g., location_name="home"). 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

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_forecast"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoNumber of days to include in forecast (1-16 for global, 1-7 for US NOAA, default: 7)
sourceNoData source: "auto" (default, selects NOAA for US or Open-Meteo for international), "noaa" (US only), or "openmeteo" (global)auto
latitudeNoLatitude of the location (-90 to 90). Not required if location_name is provided.
longitudeNoLongitude of the location (-180 to 180). Not required if location_name is provided.
granularityNoForecast granularity: "daily" for day/night periods or "hourly" for hour-by-hour detail (default: "daily")daily
location_nameNoName of a saved location (e.g., "home", "cabin"). Use this instead of latitude/longitude to reference a saved location. List saved locations with list_saved_locations.
include_normalsNoInclude climate normals (30-year averages) for comparison with forecasted temperatures (default: false, daily forecasts only). Shows normal high/low and departure from normal for the first forecast day.
include_severe_weatherNoInclude severe weather probabilities such as thunderstorm chance, wind gust probabilities, and tropical storm/hurricane risks (default: false, US/NOAA only)
include_precipitation_probabilityNoInclude precipitation probability in the forecast output (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 burden and does well: it discloses the automatic data-source routing (NOAA for US, Open-Meteo internationally), the returned fields, and the error-handling path to the status page and check_service_status. It omits lower-level traits such as units and rate limits, which is why it stops short of 5.

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-loaded with purpose and usage, followed by return contents, source selection, alternatives, and error handling in a logical order. Every sentence carries information, though the block is longer than strictly necessary given how much the schema already states.

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 nine-parameter read tool with no output schema and no annotations, the description covers return contents, source routing, the location_name alternative, and failure handling. Only minor gaps remain recurring across sources, like units or how day limits differ per source, and those are partially in the schema.

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 nine parameters are already documented, including day limits, source enum, and granularity. The description adds little beyond restating that coordinates OR a saved location name may be used, so the baseline 3 applies.

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+resource ("Get future weather forecast for a location") with explicit scope (global coverage, daily or hourly). It distinguishes itself from siblings by naming get_current_conditions and get_historical_weather with the conditions that select each.

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 concrete triggering examples ("tomorrow", "this week", "next 7 days", "hourly forecast") plus explicit exclusions routed to named alternatives for current and past weather. It also tells the agent to fall back to check_service_status on errors, so there is no ambiguity about when to use it.

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