Skip to main content
Glama

Lookup Kit

weather

Read-only

Weather forecast API, current weather by city name or coordinates, worldwide. Current weather and forecast for any city (e.g. city=London or city=Portland, OR) or any latitude and longitude: temperature, feels, wind, humidity, precipitation and conditions now, the next 12 hours, and daily highs, lows and rain for up to 9 days. Worldwide from MET Norway (CC BY 4.0); source=nws uses the US National Weather Service for US locations. Metric with US units added. Price: $0.002 per call (x402, USDC on Base).

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

Input Schema

NameRequiredDescriptionDefault
latNo
lonNo
cityNo
sourceNomet
countryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so safety is covered; the description adds value beyond that with the upstream data source and licensing (MET Norway, CC BY 4.0), unit behavior (metric with US units added), and a per-call price ("$0.002 per call (x402, USDC on Base)") that matters for invocation decisions. It does not say what happens on unknown cities or unreachable upstream services, which is the main remaining behavioral gap.

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?

The description is one dense paragraph front-loaded with purpose and lookup modes, followed by data fields, sourcing, units, and pricing – a sensible order. The mid-sentence enumeration of weather variables is slightly list-heavy but each item tells the agent what it can retrieve, so little is wasted.

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 five-parameter, no-required-parameter read tool with no output schema, the description covers data source, units, scope, and provider selection well. The missing pieces are the meaning of `country` and what the default call (no parameters) returns, which matters given that nothing is required.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry the load. It explains the meaning of `city`, `lat`/`lon`, and the `source` enum values, plus the practical choice between them. The `country` parameter is never mentioned, and no numeric bounds, formats, or default behavior are conveyed, leaving one of five parameters undocumented.

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?

The description opens with a specific verb and resource ("Weather forecast API"), states the two lookup modes (city name or coordinates), and enumerates exactly what data comes back (temperature, wind, humidity, precipitation, 12-hour and up-to-9-day ranges). An agent can distinguish this from generic sibling utilities without opening the schema.

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 concrete routing conditions: use `city=London` or `city=Portland, OR` for a place name, or latitude/longitude for coordinates, and use `source=nws` when the target is a US location. It does not address edge cases such as supplying both city and coordinates, or calling with no parameters at all (the schema marks nothing required), so the guidance is clear but not exhaustive.

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