Skip to main content
Glama
sushobhitrajan

My Learning MCP Server

get_weather

Retrieve current weather for any city, including temperature, humidity, and conditions. Use this data to plan your day or travel.

Instructions

Get the current weather for a city. Returns temperature, humidity, and conditions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cityYesName of the city to get weather for
unitNoTemperature unit (default: celsius)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden and does disclose the return payload and that the data is current. However, it does not mention behavior for invalid or ambiguous city names, data freshness, or the default unit behavior beyond what the schema already says.

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 sentence with no filler; the core action, target, and return values are all front-loaded. Every clause earns its place.

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-only tool, the combination of description and schema is largely sufficient: required city, optional unit, and the returned fields are all covered. Missing only minor operational considerations such as error handling, which is acceptable for this level of complexity.

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%, so the input schema already fully documents city and unit, including the default temperature unit. The description adds no parameter-level detail beyond what the schema provides, which meets the baseline but does not exceed it.

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 uses a specific verb ('get'), a clear resource ('current weather'), and a target ('a city'), and explicitly lists the returned data (temperature, humidity, conditions). This makes it easily distinguishable from the only sibling tool, calculator.

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 phrase 'current weather for a city' clearly signals the intended use case: when real-time weather data is needed. There are no similar sibling tools that require exclusion, though no explicit when-not-to-use guidance is provided.

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