Skip to main content
Glama
DongDong1997

Weather MCP Server

by DongDong1997

get_forecast

Retrieve weather forecasts for Chinese cities. Specify location as city name, coordinates, or ID, and set forecast duration from 3 to 30 days.

Instructions

获取指定城市的天气预报。

Args:
    location: 城市名称、经纬度("lng,lat")或 Location ID。
    days: 预报天数,支持 3 / 7 / 10 / 15 / 30 天,默认 7 天。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNo
locationYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

The description omits behavioral details such as rate limits, data freshness, or error handling. With no annotations, the agent is left unaware of potential side effects or restrictions beyond the basic input-output expectation.

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 extremely concise, using two sentences to cover both the purpose and parameter semantics. It is efficiently front-loaded, with every word adding value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

While the description adequately explains the input parameters and an output schema exists, it lacks context about the forecast's temporal coverage (e.g., daily breakdown) and does not highlight differences from sibling tools. It meets minimum viability but leaves gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but the description compensates well by explaining that location accepts city names, coordinates, or IDs, and that days must be one of 3/7/10/15/30. This adds essential meaning beyond the bare type definitions.

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 clearly states it retrieves a weather forecast for a specified city, effectively communicating the core function. However, it does not explicitly distinguish this tool from siblings like get_current_weather or get_warnings, relying on the tool name and implicit context.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus its siblings (e.g., for short-term conditions vs. warnings). The description only lists parameters without suggesting appropriate contexts or alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DongDong1997/weather'

If you have feedback or need assistance with the MCP directory API, please join our Discord server