调用和风天气城市搜索 /geo/v2/city/lookup,返回含 Location ID 的中文可读列表(包括行政区、国家、经纬度、时区等信息);支持模糊搜索与行政区/国家过滤。注意⚠️: 在调用其他工具时必须先调用此工具获取Location ID。
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.
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.
Attacks that exploit this kind of access
调用和风天气城市搜索 /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.
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.
get_location_id is a Read tool with low risk. Read-only tools are generally safe to allow by default.
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.
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.
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.
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 →