Skip to main content
Glama

Weather forecast

blackwood_weather_forecast
Read-onlyIdempotent

Use when you need a weather forecast, the current weather, temperature, rain or wind for the next hours or days at given coordinates. Do not use for historical weather, severe weather alerts or places given only by name (geocode first). Returns JSON with the weather forecast for a latitude and longitude: hourly temperature, rain and precipitation, wind, humidity and cloud cover for the next days, from MET Norway for 0.003 USDC per call. Typical response time 1500 ms (p95). Category: Data.

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": "blackwood_weather_forecast"
  }
}

Input Schema

NameRequiredDescriptionDefault
hoursNoHow many hours ahead to return (1-240, 48 when omitted); hourly at first, then every 6 hours
latitudeYesLatitude in decimal degrees (WGS84), e.g. 59.9139 for Oslo, rounded to 4 decimals
longitudeYesLongitude in decimal degrees (WGS84), e.g. 10.7522 for Oslo, rounded to 4 decimals
response_formatNoconcise (the default when omitted) keeps the JSON short: long fields such as base64 images or audio come back as separate image/audio content blocks and other long strings are cut with a marker; detailed returns the full JSON

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "altitudeM": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "attribution": {
      -        "type": "string"
      -      },
      -      "hours": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "cloudPct": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "humidityPct": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "precipitationHours": {
      -              "anyOf": [
      -                {
      -                  "anyOf": [
      -                    {
      -                      "const": 1,
      -                      "type": "number"
      -                    },
      -                    {
      -                      "const": 6,
      -                      "type": "number"
      -                    }
      -                  ]
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "precipitationMm": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "pressureHpa": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "symbol": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "temperatureC": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "time": {
      -              "type": "string"
      -            },
      -            "windFromDeg": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "windSpeedMs": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            }
      -          },
      -          "required": [
      -            "time",
      -            "temperatureC",
      -            "precipitationMm",
      -            "precipitationHours",
      -            "windSpeedMs",
      -            "windFromDeg",
      -            "humidityPct",
      -            "cloudPct",
      -            "pressureHpa",
      -            "symbol"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "latitude": {
      -        "type": "number"
      -      },
      -      "longitude": {
      -        "type": "number"
      -      },
      -      "updatedAt": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "latitude",
      -      "longitude",
      -      "altitudeM",
      -      "updatedAt",
      -      "hours",
      -      "attribution"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "x402 PaymentRequired (returned with isError when payment is needed)",
      -    "properties": {
      -      "accepts": {
      -        "items": {
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "error": {
      -        "type": "string"
      -      },
      -      "extensions": {
      -        "type": "object"
      -      },
      -      "resource": {
      -        "type": "object"
      -      },
      -      "x402Version": {
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "x402Version",
      -      "accepts"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "altitudeM": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "attribution": {
      +        "type": "string"
      +      },
      +      "hours": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "cloudPct": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "humidityPct": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "precipitationHours": {
      +              "anyOf": [
      +                {
      +                  "anyOf": [
      +                    {
      +                      "const": 1,
      +                      "type": "number"
      +                    },
      +                    {
      +                      "const": 6,
      +                      "type": "number"
      +                    }
      +                  ]
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "precipitationMm": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "pressureHpa": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "symbol": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "temperatureC": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "time": {
      +              "type": "string"
      +            },
      +            "windFromDeg": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "windSpeedMs": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "time",
      +            "temperatureC",
      +            "precipitationMm",
      +            "precipitationHours",
      +            "windSpeedMs",
      +            "windFromDeg",
      +            "humidityPct",
      +            "cloudPct",
      +            "pressureHpa",
      +            "symbol"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "latitude": {
      +        "type": "number"
      +      },
      +      "longitude": {
      +        "type": "number"
      +      },
      +      "next": {
      +        "additionalProperties": false,
      +        "description": "Suggested next paid call in the same family (call it in a loop when the task continues)",
      +        "properties": {
      +          "method": {
      +            "enum": [
      +              "GET",
      +              "POST"
      +            ],
      +            "type": "string"
      +          },
      +          "sample": {
      +            "description": "Free fixed sample of the whole family",
      +            "type": "string"
      +          },
      +          "service": {
      +            "description": "Service id of the suggested next paid call",
      +            "type": "string"
      +          },
      +          "tool": {
      +            "description": "MCP tool name of the same call",
      +            "type": "string"
      +          },
      +          "url": {
      +            "description": "Paid route of the next call",
      +            "type": "string"
      +          },
      +          "useWhen": {
      +            "description": "When the next call is the right one",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "service",
      +          "tool",
      +          "method",
      +          "url",
      +          "useWhen",
      +          "sample"
      +        ],
      +        "type": "object"
      +      },
      +      "updatedAt": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "latitude",
      +      "longitude",
      +      "altitudeM",
      +      "updatedAt",
      +      "hours",
      +      "attribution"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "x402 PaymentRequired (returned with isError when payment is needed)",
      +    "properties": {
      +      "accepts": {
      +        "items": {
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "error": {
      +        "type": "string"
      +      },
      +      "extensions": {
      +        "type": "object"
      +      },
      +      "resource": {
      +        "type": "object"
      +      },
      +      "x402Version": {
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "x402Version",
      +      "accepts"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, open-world, non-destructive, but the description adds genuinely new behavioral facts: the upstream provider (MET Norway), cost (0.003 USDC per call), and latency (1500 ms p95). These are exactly the operational details annotations cannot express and that an agent weighing cost/latency tradeoffs needs.

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 usage, then exclusions, then return shape, cost and latency — a sensible priority order with no filler sentences. Minor redundancy ('rain or wind' in the usage clause vs 'rain and precipitation' in the return clause) and a trailing 'Category: Data' metadata tag slightly dilute density but do not obscure the content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be detailed, yet the description still conveys cost, latency, provider and exclusion boundaries — enough for an agent to invoke correctly and to judge whether the call is worth it. Nothing material is missing for a 4-parameter, fully-documented read tool.

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, hours and response_format are already fully documented in the schema, including the 1-240 range and the concise/detailed semantics. The description adds only the return granularity context ('hourly temperature, rain and precipitation, wind...'), which does not meaningfully extend the parameters beyond the schema. 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 and resource — retrieve a weather forecast at given coordinates — and enumerates the data returned (temperature, rain, wind, humidity, cloud cover). It also carves out adjacent-but-different tasks (historical weather, severe alerts, place-name lookups) so an agent can tell it apart from a geocoding or alerts tool.

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?

Explicit when-to-use ('need a weather forecast, current weather, ... for the next hours or days at given coordinates') and explicit when-not-to-use ('not for historical weather, severe weather alerts or places given only by name (geocode first)'). The prerequisite (geocode first) is stated outright, leaving nothing to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources