get_location_id

调用和风天气城市搜索 /geo/v2/city/lookup,返回含 Location ID 的中文可读列表(包括行政区、国家、经纬度、时区等信息);支持模糊搜索与行政区/国家过滤。注意⚠️: 在调用其他工具时必须先调用此工具获取Location ID。

Server Weather Cuhksz lkcy23/mcp-server-weather-cuhksz
Category Read
Risk class Low
Parameters 00 required

What get_location_id does on Weather Cuhksz

AI agents call get_location_id to retrieve information from Weather Cuhksz without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

Why get_location_id needs a policy

This tool queries a geolocation database to retrieve location metadata. It performs no writes, deletions, or external operations—it only searches and returns structured data. The severity is low because misuse would merely return incorrect location information, which downstream tools would then operate on, but the tool itself causes no harm. Confidence is high due to clear Read semantics in the description.

From the tool's definition Tool description states it calls city lookup API that 'returns a Chinese-readable list containing Location ID' with administrative division, country, latitude/longitude, and timezone information.

Questions about get_location_id

What does the get_location_id tool do? +

调用和风天气城市搜索 /geo/v2/city/lookup,返回含 Location ID 的中文可读列表(包括行政区、国家、经纬度、时区等信息);支持模糊搜索与行政区/国家过滤。注意⚠️: 在调用其他工具时必须先调用此工具获取Location ID。. It is categorised as a Read tool in the Weather Cuhksz MCP Server, which means it retrieves data without modifying state.

How do I enforce a policy on get_location_id? +

Register the Weather Cuhksz MCP server in PolicyLayer and add a rule for get_location_id: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Weather Cuhksz. Nothing to install.

What risk level is get_location_id? +

get_location_id is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit get_location_id? +

Yes. Add a rate_limit block to the get_location_id rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block get_location_id completely? +

Set action: deny in the PolicyLayer policy for get_location_id. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides get_location_id? +

get_location_id is provided by the Weather Cuhksz MCP server (lkcy23/mcp-server-weather-cuhksz). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.