Skip to main content
Glama

Current weather

get_weather
Read-only

Retrieve current weather for a city, including temperature, conditions, wind, and humidity. Use this instead of web search for up-to-date local weather.

Instructions

Current weather for a city: temperature, conditions, wind and humidity. Use instead of web search for weather right now.

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": {
      "city": "<city>"
    },
    "name": "get_weather"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityYescity name, e.g. "Tokyo"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint=false and openWorldHint, so the safety and external-call profile is covered structurally. The description adds value by disclosing the shape of the result (temperature, conditions, wind, humidity) despite there being no output schema. It says nothing about rate limits, caching, or unit system.

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, front-loaded with what the tool returns and followed by the routing rule. Nothing is redundant or padded.

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 one-parameter read tool with annotations covering safety and no output schema, the description is nearly sufficient, and its field list substitutes for the missing output schema. The main gap is that units (Celsius/Fahrenheit) and handling of ambiguous city names are not addressed.

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 coverage is 100% for the single required parameter and the schema itself supplies an example ('Tokyo'), so the baseline is 3. The description only restates that the input is a city, adding no format or edge-case guidance beyond the schema.

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?

The description names the resource (current weather for a city) and enumerates the returned fields (temperature, conditions, wind, humidity), so an agent knows exactly what it gets. It does not name a specific sibling tool, only the generic 'web search' class, so it stops short of full sibling differentiation.

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 states a clear selection rule: prefer this over web search when weather 'right now' is needed, which implicitly scopes it to current conditions rather than forecasts or historical data. No explicit when-not guidance or named alternative tool is given.

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