Skip to main content
Glama

sg_weather_forecast_2hr

Retrieve Singapore's 2-hour weather forecast by area, with an optional SGT date filter; omit the date for the current forecast.

Instructions

2-hour weather forecast by area. [NEA via data.gov.sg; updates every 30 min; 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_weather_forecast_2hr"
  }
}

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

A3.5/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 add real operational context: upstream source (NEA via data.gov.sg), a 30-minute refresh, and a 1800s cache TTL that tells the agent results may be stale. What it omits is the response shape — there is no output schema, so the agent cannot tell whether 'by area' means a list of area/forecast pairs, a map, or a single value.

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

Conciseness5/5

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

Two compact clauses, purpose first, operational metadata bracketed separately. Every element — cadence, source, refresh, cache — carries information an agent would otherwise have to guess.

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?

Source, update frequency, and cache TTL cover the operational side well for a tool with no annotations. However, with no output schema and no description of return values, an agent cannot anticipate the result structure or how areas are keyed, which is the main remaining gap for a forecast lookup.

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 optional 'date' parameter is fully documented in the schema with accepted formats and the 'omit for latest' default. The description adds nothing about the parameter, which is acceptable at this coverage level but earns no credit.

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?

Names a specific resource and granularity ('2-hour weather forecast by area'), which an agent can distinguish from the 24-hour sibling by cadence alone. It stops short of naming that sibling explicitly, so the differentiation is inferential rather than stated.

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 '2-hour' qualifier implies near-term/current conditions and the cache note implies a polling cadence, but there is no explicit statement of when to pick this over sg_weather_forecast_24hr. No exclusions or prerequisites are given.

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