Skip to main content
Glama

warnsum

Retrieve current weather warnings for Hong Kong, including names, codes, and issue times. Supports English, Traditional Chinese, and Simplified Chinese.

Instructions

Weather Warning Summary (warnsum) API Request

Parameters:

  • lang: 'en' (English), 'tc' (Traditional Chinese), 'sc' (Simplified Chinese)

Request Example: https://data.weather.gov.hk/weatherAPI/opendata/weather.php?dataType=warnsum&lang=en

Response Keys:

    • {Property name}: Warning Statement Code (WFIRE, WFROST, WHOT, etc.)

  • name: Warning Name

  • code: Warning Code

  • actionCode: Action Code (ISSUE, REISSUE, CANCEL, etc.)

  • issueTime: Issue Time (YYYY-MM-DD'T'hh:mm:ssZ)

  • updateTime: Update Time (YYYY-MM-DD'T'hh:mm:ssZ)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
langNochange the language of the resulten
Behavior3/5

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

No annotations provided, so the description carries the full burden. It discloses the return format and parameter behavior, but does not explicitly state whether the tool is read-only or has any side effects (likely safe read operation).

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

Conciseness3/5

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

The description is moderately structured with sections, but includes a full request URL and list of response keys, which is somewhat verbose for an agent. Could be more concise while retaining key information.

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

Completeness4/5

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

Given the tool has only one optional parameter, no output schema, and no annotations, the description covers the essential aspects: purpose, parameter details, request format, and response structure. It is sufficiently complete for a simple read-only API.

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?

Input schema has one parameter with description 'change the language of the result.' The description adds value by listing exact language codes (en, tc, sc) and providing a request example, going beyond the schema's description.

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 is a 'Weather Warning Summary' API request, indicating it retrieves weather warnings. It specifies parameters and response structure, but does not explicitly differentiate from sibling tools like warningInfo.

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 explicit guidance on when to use this tool versus alternatives. The description provides a request example but lacks context for optimal use cases or when not to use it.

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/louiscklaw/mcp-hko'

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