Skip to main content
Glama

weather_singapore_air

Read-only

Singapore air quality: PSI, PM2.5 and UV (NEA) — Official Singapore NEA air quality for a region (region=central, north, south, east or west): 24-hour PSI with band, 1-hour PM2.5 with NEA band, all pollutant concentrations and sub-indices, the latest UV index with band, PSI for all regions, and the NEA health advisory. Price: $0.002 USDC (Base, via x402).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "region": "<region>"
    },
    "name": "weather_singapore_air"
  }
}

Input Schema

NameRequiredDescriptionDefault
regionYescentral

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered and the description sensibly focuses on what annotations cannot express: the authoritative source (NEA), the exact payload contents, and — most valuably — that the call costs $0.002 USDC on Base via x402. That pricing disclosure is behaviorally significant for an agent deciding whether to call. It does not mention rate limits, failure modes, or whether results are cached/live-beyond-24h, keeping it from a 5.

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?

Everything is packed into one dense, front-loaded sentence that leads with the subject matter and ends with the price — no filler or restatement of the title. The long parenthetical enumerating return fields is close to a list dump, but each item is distinct data the agent needs given no output schema exists. Minor cost: the region enumeration is embedded mid-sentence rather than set apart.

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?

With no output schema, the description carries the burden of describing returns and does so thoroughly — PSI bands, PM2.5 bands, pollutant sub-indices, UV index, all-region PSI, health advisory. The single parameter's valid values and the per-call price are both disclosed, which covers the main decision points for invoking it. Missing only edge-case behavior (invalid region, stale data, payment failure) for full completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the schema's region description is only the bare token 'central', which conveys almost no meaning. The description compensates by spelling out the full accepted set of regions (central, north, south, east or west), which is genuinely new information beyond the structured field and prevents an invalid value. It still does not say what happens with an unrecognized region or a default.

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 the concrete resource and provider explicitly — 'Official Singapore NEA air quality for a region' — and enumerates the data returned (24-hour PSI with band, 1-hour PM2.5, pollutant sub-indices, UV index, all-region PSI, health advisory). An agent can distinguish this from generic siblings like weather_singapore or weather_current because the domain (air quality, NEA-sourced) is stated up front. It stops short of explicitly naming a sibling it is not, so 4 rather than 5.

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 rather than directed: an agent can infer this is the tool for Singapore air quality when a region is known, and the inline list 'region=central, north, south, east or west' effectively tells the caller what input shape is valid. However, there is no explicit when-to-use/when-not-to-use guidance, no mention of how it relates to the plain weather_singapore sibling, and no note that a call costs money before invoking it.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources