Skip to main content
Glama

sg_uv_index

Retrieve Singapore UV index readings by date or latest value from NEA data.gov.sg, so you can check current or historical sun exposure risk.

Instructions

UV index readings. [NEA via data.gov.sg; updates hourly; cache 1800s]

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "sg_uv_index"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoOptional SGT date filter: YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss. Omit for latest.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose genuinely useful context: the upstream source (NEA via data.gov.sg), hourly refresh cadence, and a 1800s cache TTL. However, it says nothing about whether readings are per-station or island-wide, what the values look like, or read-only semantics.

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?

Two compact fragments with the resource front-loaded and metadata bracketed out of the way; nothing is padded. It is slightly terse to the point of under-specification, but no sentence is wasted.

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?

For a one-optional-parameter read tool with no output schema, the description covers source, refresh rate, and caching, which is most of what an agent needs. Only the shape of returned readings and station coverage are left unstated.

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?

There is a single optional parameter with 100% schema description coverage, and the schema already explains the YYYY-MM-DD / datetime formats and the 'omit for latest' behavior. The description adds no meaning beyond that, so the baseline 3 applies.

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 names a specific resource, 'UV index readings', which is clearly distinguishable from siblings like sg_psi, sg_pm25, and sg_air_temperature by domain. It lacks an explicit verb ('get'/'fetch'), but the noun phrase unambiguously identifies a retrieval of UV readings.

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?

There is no when-to-use or when-not-to-use guidance and no reference to alternatives such as sg_psi or sg_pm25. The 'updates hourly; cache 1800s' note hints at freshness expectations but does not tell an agent when this tool is the right choice.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.