getWeather
Get real-time weather conditions for any city by specifying the city name.
Instructions
Get the weather for a city
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes |
Get real-time weather conditions for any city by specifying the city name.
Get the weather for a city
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
There are no annotations, so the description carries the full burden of disclosing behavioral traits. It only states 'Get the weather' and does not mention return format, units, timezone, rate limits, or any side effects. This is minimal and lacks essential behavioral context.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, clear sentence with no redundant words or unnecessary details. It is appropriately sized for a simple tool and front-loads the core intent effectively.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the simple nature of the tool (one parameter, no output schema), the description is fairly adequate, but it leaves out important context such as what the returned weather data includes (e.g., temperature, conditions). The lack of annotations and output schema means the description should provide more detail to be fully complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema has one string parameter 'city' with 0% description coverage. The description mentions 'for a city', which aligns with the parameter name but adds no extra detail about expected format (e.g., 'London' vs 'London, UK') or examples. It provides only marginal value beyond the schema itself.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb 'Get' and clearly identifies the resource as 'weather for a city'. It is unambiguous and completely conveys the tool's function, even without sibling tools to differentiate from.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no information on when to use this tool versus alternatives, nor any context about prerequisites or exclusions. There is no guidance on when not to use it, leaving the agent to infer usage solely from the name and schema.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/thuong204/mcp-weather'
If you have feedback or need assistance with the MCP directory API, please join our Discord server