Skip to main content
Glama

get_current_weather

Fetch current weather conditions for a location using latitude and longitude; returns temperature, humidity, wind, precipitation, and conditions.

Instructions

Get current weather conditions for a location. Returns temperature, humidity, wind, precipitation, and conditions.

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>"
    },
    "name": "get_current_weather"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYesLatitude (-90 to 90)
lonYesLongitude (-180 to 180)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden. It does useful work by enumerating returned fields (temperature, humidity, wind, precipitation, conditions) in the absence of an output schema, but it omits units of measure, data freshness/latency, and error behavior for out-of-range or invalid coordinates.

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 short sentences, zero filler, with the core action front-loaded and the return fields following immediately. Nothing could be removed without losing information.

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 read tool with a fully documented schema and no output schema, the description is nearly complete because it lists the return fields. The main residual gap is measurement units, which an agent would want before presenting results.

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% — both lat and lon are documented with ranges — so the baseline is 3. The description adds nothing beyond the schema, not even that the two coordinates jointly identify the location or how precision affects results.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('get current weather conditions') and lists what is returned. The word 'current' implicitly separates it from get_historical_weather and the forecast siblings, but no alternative is named explicitly.

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 qualifier 'current' implies this is the tool for present conditions rather than forecasts or history, but the description never states when to use or avoid it, nor names a sibling alternative. Usage is inferable, not stated.

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