Skip to main content
Glama
VasimHayat

mcp-weather-service

by VasimHayat

get_forecast

Avoid weather surprises by retrieving a 5-day forecast for any location worldwide using city name or coordinates.

Instructions

Get a 5-day weather forecast for any location worldwide, by city name or coordinates

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
unitsNometric = °C and m/s (default), imperial = °F and mph
latitudeNoLatitude, used only when no location name is given
locationNoCity name, optionally with country/state code. Examples: "Tokyo", "Paris,FR", "Springfield,US-IL". Preferred over coordinates.
longitudeNoLongitude, used only when no location name is given
Behavior3/5

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

With no annotations, the description carries the burden of behavioral disclosure. It states the output is a 5-day forecast and supports city/coordinate input, but does not disclose unit defaults, precedence rules, or potential errors; the schema fills some gaps, so a 3 is a fair baseline.

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?

The description is a single 12-word sentence that is entirely information-bearing, with no filler. It front-loads the action and outcome, making it maximally concise.

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?

The tool is simple enough that this one-sentence description plus a well-described schema is adequate. It does not explain return data structure, but an output schema is not present and the forecast format is likely conventional. Sibling differentiation is absent but not critical here.

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?

The input schema covers 100% of parameters with detailed descriptions including defaults and constraints, so the description adds little beyond naming the two lookup modes. The baseline of 3 is appropriate because the schema already does the heavy lifting.

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 clearly states the tool returns a 5-day weather forecast using the verb 'get' and resource 'forecast', and specifies both the geographic scope ('any location worldwide') and input methods ('by city name or coordinates'). This distinguishes it from sibling tools like get_current_weather and get_alerts.

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?

The description implies the tool is for multi-day forecasting, and the sibling names suggest alternatives for current conditions and alerts. However, it does not explicitly state when to prefer this tool over others or mention exclusions, so a 4 is appropriate.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/VasimHayat/mcp-weather-service'

If you have feedback or need assistance with the MCP directory API, please join our Discord server