Skip to main content
Glama
GeoSphere MCP Server

GeoSphere MCP Server

by Singh-Akesh

get_weather

Fetch current conditions and a 7-day forecast for any location using latitude and longitude, with optional Celsius or Fahrenheit output.

Instructions

    Get current weather conditions and a 7-day daily forecast for any location on Earth.

    Args:
        latitude:         Decimal degrees latitude  (use the geocode tool if you only have an address).
        longitude:        Decimal degrees longitude.
        temperature_unit: "celsius" (default) or "fahrenheit".

    Returns:
        Current conditions (temperature, wind, humidity, weather description) plus
        a 7-day daily forecast with high/low temps, precipitation, and sunrise/sunset times.
    

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

Input Schema

NameRequiredDescriptionDefault
latitudeYes
longitudeYes
temperature_unitNocelsius

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It does disclose the return payload (current temperature, wind, humidity, description plus a 7-day forecast with highs/lows, precipitation, sunrise/sunset), which is valuable given there is no output schema. It says nothing about coverage limits, forecast reliability, rate limits, or error behavior for invalid coordinates.

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?

Purpose is front-loaded in one sentence, followed by compact Args/Returns blocks where every line adds information an agent cannot get from the schema. No filler or redundant restatement of the tool name.

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 3-parameter tool with no annotations and no output schema, the description covers purpose, input formats, unit options, and the shape of the returned data. Minor gaps remain around units of other returned values (wind speed, precipitation) and behavior on invalid or out-of-range coordinates.

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 coverage is 0%, and the description fully compensates: it specifies that latitude/longitude are decimal degrees (a format the schema does not state) and that address-only input should be geocoded first. It also documents temperature_unit's accepted values ('celsius' default or 'fahrenheit'), supplying an enum the schema lacks.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb+resource ('Get current weather conditions and a 7-day daily forecast') and scopes it to 'any location on Earth'. The words 'current' and 'forecast' implicitly separate it from history/air-quality siblings, but no sibling is named, so differentiation is left to inference.

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?

It gives clear usage context and an explicit routing rule: use the geocode tool if you only have an address, which is the main input pitfall for this tool. It stops short of stating exclusions or when to prefer get_weather_history or get_air_quality instead.

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