Skip to main content
Glama
narendrareddi

MCP Weather Agent

get_current_weather

Retrieve current weather conditions for any location using latitude and longitude coordinates. Get temperature, wind, and precipitation data immediately.

Instructions

Get current weather conditions for a coordinate pair.

Args: latitude: Latitude in decimal degrees (-90 to 90). longitude: Longitude in decimal degrees (-180 to 180).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latitudeYes
longitudeYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
latitudeYes
timezoneYes
longitudeYes
observed_atYes
weather_codeYes
temperature_cYes
wind_speed_kmhYes
precipitation_mmYes
apparent_temperature_cYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure, but it only restates the basic operation and input ranges. It does not mention data sources, freshness, units, errors, or any side effects, so an agent gets little behavioral context beyond the tool name.

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 very compact and front-loaded with the tool's purpose, followed by concise parameter details that add genuine value. There is no filler or redundant explanation.

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 simple two-parameter tool with an output schema, the parameter details are sufficient for correct invocation. The main gap is the absence of explicit guidance on when to choose this over sibling tools, though 'current' makes the intended context reasonably clear.

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?

The schema provides only bare type and title information, but the description adds meaningful semantics: latitude and longitude in decimal degrees with valid ranges. This fully compensates for the 0% schema description coverage.

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 retrieves current weather conditions for a coordinate pair, using a specific verb and resource. 'Current' differentiates it from the get_forecast sibling and 'coordinate pair' differentiates it from geocoding.

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?

The description implies when to use it: when current weather conditions at a latitude/longitude coordinate pair are needed. However, it does not explicitly mention alternatives like get_forecast for future conditions or geocode_location for converting addresses to coordinates.

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

Deploy Server

Other Tools