Skip to main content
Glama
ctermiii

HeFeng Weather MCP Server

by ctermiii

get_location_id

Retrieve precise location ID and detailed geographic data using city names (pinyin/English), coordinates, LocationID, or Adcode for accurate weather forecast integration.

Instructions

根据城市名称(拼音/英文)、经纬度、LocationID或Adcode获取其精确的位置ID和详细地理信息。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
city_nameYes需要查询地区的名称(拼音如'beijing')、以英文逗号分隔的经度,纬度坐标(例如 116.41,39.92)、LocationID或Adcode(仅限中国城市)。
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It describes what the tool does (retrieves location ID and geographic details) but lacks critical behavioral traits: it doesn't specify if this is a read-only operation, potential rate limits, authentication needs, error handling, or what '详细地理信息' (detailed geographic information) entails. For a tool with zero annotation coverage, this leaves significant gaps in understanding its behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that clearly states the tool's function and input options. It's front-loaded with the core purpose and avoids unnecessary words. However, it could be slightly more structured by separating input types for better readability, but overall, it's concise and well-sized for its purpose.

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?

Given the tool's moderate complexity (single parameter, no output schema, no annotations), the description is partially complete. It covers the purpose and input semantics adequately but lacks details on behavioral aspects (e.g., read-only status, error cases) and output specifics. Without an output schema, the description should ideally hint at what '详细地理信息' includes, but it doesn't, leaving room for improvement in contextual coverage.

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?

The description adds some meaning beyond the input schema by listing the types of inputs accepted (city name in pinyin/English, coordinates, LocationID, or Adcode), which aligns with the schema's description. However, with 100% schema description coverage, the schema already documents the parameter thoroughly ('需要查询地区的名称(拼音如'beijing')、以英文逗号分隔的经度,纬度坐标(例如 116.41,39.92)、LocationID或Adcode(仅限中国城市)'). The description doesn't provide additional syntax, format details, or constraints, so it meets the baseline for high schema coverage.

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 the tool's purpose: '获取其精确的位置ID和详细地理信息' (get precise location ID and detailed geographic information). It specifies the verb '获取' (get) and resource '位置ID和详细地理信息' (location ID and detailed geographic information), making the function unambiguous. However, it doesn't explicitly differentiate from sibling tools like get_datetime or get_weather, which prevents a perfect score.

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?

The description provides no guidance on when to use this tool versus alternatives. It lists input types (city name, coordinates, LocationID, or Adcode) but doesn't mention scenarios where this tool is preferred over siblings like get_weather for weather-related queries or get_datetime for time information. There's no explicit when-to-use or when-not-to-use context.

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

Related 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/ctermiii/hefeng-mcp-server'

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