Skip to main content
Glama

ryes

Retrieve solar radiation, ambient temperature, and other weather parameters for a specified date and station from the Hong Kong Observatory.

Instructions

Weather and Radiation Level Report (RYES) API Request

Parameters:

  • date: Date of report (YYYYMMDD format)

  • lang: 'en', 'tc', or 'sc' (Language option, default: en)

  • station: Station code (refer to documentation for full list)

Request Example: https://data.weather.gov.hk/weatherAPI/opendata/opendata.php?dataType=RYES&date=20250101&lang=en&station=HKO

Response Keys:

  • type: Data type ("data")

  • SolarData: Solar radiation data with unit and period-value pairs

  • AmbientTemp: Ambient temperature data with unit and period-value pairs

  • Other parameters: Additional weather parameters

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYesDate of report (YYYYMMDD format)
langNoLanguage for the response: 'en' (English), 'tc' (Traditional Chinese), 'sc' (Simplified Chinese)en
stationYesStation code (refer to documentation for full list)
Behavior4/5

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

No annotations are provided, so the description bears the full load. It is transparent about being an API request and details the response structure (type, SolarData, AmbientTemp). However, it does not mention any behavioral aspects like rate limits or authentication requirements, but the read-only nature is implied.

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 well-structured with clear sections (Parameters, Request Example, Response Keys) and is front-loaded with the title. It is not overly verbose, though the example URL could be considered redundant with schema descriptions.

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

Completeness5/5

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

Given the lack of output schema, the description compensates by listing response keys. All parameters are covered, and the tool's function as a data retrieval for a specific station and date is fully explained. It is complete for a read-only API tool.

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 100%, so the schema already documents parameters. The description adds value by providing a request example, clarifying the 'lang' default, specifying date format, and directing to documentation for station codes.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it's a 'Weather and Radiation Level Report (RYES) API Request', specifying the verb (retrieval) and resource. It distinguishes from siblings like 'hhhot' or 'hourlyrainfall' by mentioning solar radiation data and specific response keys (SolarData, AmbientTemp).

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

Usage Guidelines3/5

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

The description provides a request example and parameter details but does not explicitly state when to use this tool versus alternatives like 'rhrread' or 'srs'. The example implies usage for solar radiation, but no when-not or exclusions are mentioned.

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