Skip to main content
Glama

Get Weather (BrightSky)

get_weather
Read-only

Fetch hourly weather observations from BrightSky API for a latitude, longitude, and UTC date (YYYY-MM-DD); returns raw weather[] and sources[] data.

Instructions

Fetch hourly weather observations from BrightSky API for a given latitude, longitude, and date (YYYY-MM-DD). Returns the raw BrightSky response (weather[] and sources[]).

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": {
      "lat": "<lat>",
      "lon": "<lon>",
      "date": "<date>"
    },
    "name": "get_weather"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYesLatitude in degrees (e.g., 52).
lonYesLongitude in degrees (e.g., 7.6).
dateYesDate in UTC (YYYY-MM-DD).

Output Schema

NameRequiredDescriptionDefault
dataNo
sourcesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

The readOnlyHint annotation already establishes this is a safe read, and the description adds that the result is the raw BrightSky payload with 'weather[]' and 'sources[]'. It stops short of disclosing upstream constraints that matter operationally, such as rate limits, whether an API key/endpoint configuration is required, or coverage limits of the source data.

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?

Two tight sentences: the first front-loads the action, source, and inputs; the second states the return shape. Nothing is padded or redundant, and the reader gets the essentials in the opening clause.

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 100% schema coverage, a readOnly annotation, and an output schema present, the description only needs to frame the source and result, which it does. The minor remaining gap is that it does not mention data availability or upstream API prerequisites, though neither is strictly required to invoke the tool correctly.

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 lat, lon, and date are already documented with ranges, patterns, and examples. The description only restates the parameter set and repeats the YYYY-MM-DD date format, adding no new semantic detail such as how coordinates are rounded or how date boundaries are interpreted.

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 ('Fetch hourly weather observations from BrightSky API') plus the exact three inputs that scope it. No sibling tool deals with weather, so an agent can immediately tell this is the meteorological-data tool rather than one of the travel-logistics siblings.

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

Usage Guidelines3/5

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

Usage is implied by the required lat/lon/date triple, so an agent can infer when the tool applies. However, there is no explicit guidance on when to use it versus other data sources, no note on data availability windows (how far back BrightSky hourly observations go), and no statement about what to do for future dates.

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