Skip to main content
Glama

sg_psi

Fetches Singapore's 24-hour Pollutant Standards Index and sub-indices by region, with optional date filtering for historical readings.

Instructions

Pollutant Standards Index (24h and sub-indices) by region. [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_psi"
  }
}

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
Behavior3/5

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

No annotations exist, so the description carries the full burden. It does valuable work by naming the upstream source (NEA via data.gov.sg), the hourly update cadence, and a 1800s cache, which tells the agent data can be up to 30 minutes stale. It says nothing about return shape, regional coverage, or error behavior, leaving real gaps for a tool with zero annotation coverage.

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 dense fragments with zero waste: the resource and scope come first, followed by a bracketed metadata block covering source, freshness, and caching. Nothing is padded or restated.

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 and no annotations, the definition covers source, staleness, and the latest-vs-date behavior adequately. What is missing — the return structure and the set of regions — is partly implied by 'by region' but never made explicit.

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 already documented with formats and the 'omit for latest' behavior in the schema. The description adds only the 'by region' framing, which actually describes output rather than input, so it does not extend parameter meaning.

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 a specific resource (Pollutant Standards Index) plus scope details — 24h readings and sub-indices, broken down by region — which distinguishes it from the sibling sg_pm25 pollutant-specific tool. The retrieval verb is implied rather than stated, but an agent can tell what data comes back.

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 implied: it is an air-quality lookup, and the schema note 'Omit for latest' clarifies the two modes (latest vs historical by date). However, it never states when to prefer this over sg_pm25 or other air-quality siblings, and gives no exclusions.

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