Skip to main content
Glama

sg_pm25

Fetch Singapore PM2.5 one-hourly readings by region (national, north, south, east, west, central) for a specified date or the latest update.

Instructions

PM2.5 one-hourly readings by region (national, north, south, east, west, central). [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_pm25"
  }
}

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.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does meaningful work: it discloses the upstream source (NEA via data.gov.sg), the hourly update cadence, and a 1800s cache TTL, which tells the agent how fresh results can be. It stops short of stating units or whether values are averages versus instantaneous readings, which matters for a pollutant measurement.

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?

One sentence with the resource and region scope front-loaded, followed by a compact bracketed provenance/caching note; no filler. Slightly telegraphic, but every clause carries information an agent can use.

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?

There is no output schema, so the description should say what the response contains (regional keys, units, reading structure), and it does not. Source, cadence, and cache are covered, making it adequate for a simple one-parameter read tool but with a real gap around return values.

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 description coverage is 100% and the single optional date parameter is fully documented in the schema, including the accepted formats and the omit-for-latest rule. The description adds nothing 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 (PM2.5 one-hourly readings) and its scope (five regions plus national), which is enough to tell it apart from siblings like sg_psi or sg_air_temperature. It reads as a noun phrase rather than a verb+resource statement, but the resource and granularity are 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: the region list signals the tool's scope, and the parenthetical gives update cadence and cache lifetime, but there is no explicit when-to-use versus sg_psi (which also reports PM2.5) or when-not-to-use guidance. An agent must infer the choice between this and the other air-quality tools.

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