Skip to main content
Glama

weather_malaysia

Read-only

Malaysia weather forecast (MET Malaysia) — Official 7-day general forecast from MET Malaysia (Malaysian Meteorological Department) for 440 Malaysian towns, districts, states, divisions and recreation centres: daily summary, morning/afternoon/night outlook, timing, min/max temperature C, thunderstorm and wet-day counts. Malay wording translated to English with MET Malaysia's published value list (original kept). place= town, district or state name (e.g. Kuala Lumpur, Georgetown, Johor Bahru, Kota Kinabalu, Kuching, Cameron Highlands) or location id (Tn079); days=1-7 optional; omit place for a 16-state national summary of the next day. Source data.gov.my Weather API, CC BY 4.0, cached with a last-good copy (stale flag). Price: $0.003 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": {
      "place": "<place>"
    },
    "name": "weather_malaysia"
  }
}

Input Schema

NameRequiredDescriptionDefault
placeYesKuala Lumpur

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/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. The description adds genuinely useful context beyond that — upstream source (data.gov.my Weather API), CC BY 4.0 attribution, last-good cached copy with a stale flag, and a per-call price of $0.003 USDC via x402 — which is notable because a paid call is invisible in the annotations. It does not describe response shape or how staleness surfaces, so it stops short of rich disclosure.

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?

Front-loaded with the core statement (source, scope, forecast type) before coverage, parameter forms, data provenance and pricing. It is dense — one long block mixing forecast fields, parameter syntax, licensing and payment — but nearly every clause carries decision-relevant information; the enumeration of forecast contents is the most expendable part.

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?

Covers data provenance, geographic coverage, caching behavior and pricing, which is substantial for a single-parameter read tool with no output schema. But the definition is internally inconsistent with its own schema (required `place` said to be omittable; undocumented `days` parameter offered), and it never routes the agent to the alerts sibling, leaving two gaps an agent must resolve by trial.

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%, but the schema's own parameter description is only the placeholder 'Kuala Lumpur', so the description carries real weight by explaining accepted formats (town/district/state name or location id like Tn079). That value is partly undercut by documenting a `days=1-7` parameter that is absent from the schema and by stating `place` can be omitted when it is marked required, which will confuse an agent about what to actually send.

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 verb and resource — official 7-day general forecast from MET Malaysia — with concrete scope (440 towns/districts/states, daily summary, morning/afternoon/night outlook, temperatures, thunderstorm counts). An agent can tell this is a forecast lookup rather than an alert feed, though the sibling weather_malaysia_alerts is never named, so differentiation is implied by 'general forecast' rather than explicit.

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?

Gives concrete usage examples for `place` (Kuala Lumpur, Georgetown, Johor Bahru, Kuching, Cameron Highlands, or id format 'Tn079') and describes the national-summary mode, which is real guidance. However it never states when to pick this over weather_malaysia_alerts or other weather siblings, and its two usage instructions actively conflict with the schema: it says `place` may be omitted for a national summary although the schema marks it required, and it documents a `days` parameter that does not exist in the schema.

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