Skip to main content
Glama

sg_rainfall

Retrieve NEA rainfall readings by station from Singapore open data; filter by SGT date/time or omit the date for current readings.

Instructions

Rainfall readings per station. [NEA via data.gov.sg; updates every 5 min; cache 300s]

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_rainfall"
  }
}

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.4/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 burden, and it does disclose genuinely useful operational behavior: data provenance (NEA via data.gov.sg), a 5-minute refresh cadence, and a 300s cache — the latter telling an agent that repeat calls within 5 minutes return identical data. It does not confirm read-only semantics, units (mm), station identification, or the shape of results, so the mutation-safety and return-behavior picture remains incomplete.

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 short, front-loaded fragments with zero filler; the resource type comes first and the bracketed metadata is clearly demoted to secondary context. The telegraphic style borders on under-specification rather than verbosity, so it is efficient but not maximally informative.

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

Completeness3/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, freshness and caching but leaves the actual payload unexplained — no mention of units, station identifiers, or whether readings are point-in-time or aggregated. Adequate to invoke, but an agent cannot predict what it will receive.

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?

Schema coverage is 100% and the single date parameter is fully documented in the schema, including the acceptable formats and the "omit for latest" default. The description adds nothing beyond that, which is the expected baseline when the schema does the heavy lifting.

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?

States the specific resource — rainfall readings — and the granularity (per station), which clearly separates it from sg_pm25, sg_psi, sg_wind_speed and other metric siblings. It stops short of a verb ("reads" / "lists") and does not explicitly distinguish itself from the other weather-measurement tools, but the resource noun is unambiguous.

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?

Usage is only implied: an agent can infer it should call this when it wants rainfall data, and the schema's date parameter carries the "omit for latest" guidance. Nothing states when NOT to use it, whether it overlaps with sg_weather_forecast_2hr, or what to do about historical vs real-time queries.

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