Skip to main content
Glama

Malaysia Open Data Dataset

malaysiagov.statistics.get_dataset
Read-onlyIdempotent

Query any Malaysian government open dataset by ID from the data.gov.my data catalogue or OpenDOSM (fuel prices, CPI, population, trade and more) with filters, date range, sort and limit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesDataset ID from data.gov.my catalogue (e.g. "fuelprice", "cpi_headline")
sortNoComma-separated columns to sort by; prefix "-" for descending (e.g. "-date")
limitNoMaximum number of records to return (1-100, default 20)
filterNoExact-match filter in "value@column" form (e.g. "overall@division")
sourceNoDataset source: "data-catalogue" (default) or "opendosm" (Dept. of Statistics)
containsNoPartial-match filter in "value@column" form (e.g. "kuala@state")
date_endNoEnd date filter, YYYY-MM-DD
date_startNoStart date filter, YYYY-MM-DD

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent only when the call failed. Includes error code, message, request_id, and any provider-specific extras.
resultNoTool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is fully covered. The description adds only a recap of query capabilities (filters, date range, sort, limit) and discloses nothing new such as rate limits, result-size caps, or source behavior; with annotations doing the heavy lifting, a 3 is appropriate.

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?

A single front-loaded sentence that leads with the verb and resource and packs the dataset scope efficiently. It is a long run-on clause, but every element (sources, examples, capabilities) earns its place.

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 an output schema present, return values need no description, and all 8 params are schema-documented. The description covers scope, sources, and examples, which is sufficient for an agent to call it correctly; only the source-selection nuance is left entirely to the schema.

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%, so every parameter including the id, sort, limit, filter/contains syntax, source enum, and date bounds is already documented. The description only echoes that filters/date-range/sort/limit exist and adds no syntax or format detail beyond the schema, matching the baseline 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (Query) and resource (any Malaysian government open dataset by ID), names both backing sources (data.gov.my catalogue, OpenDOSM), and gives concrete content examples (fuel prices, CPI, population, trade). An agent can distinguish this from the sibling hazards/weather tools without opening the schema.

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 opening clause conveys when the tool is applicable (querying Malaysian gov open datasets by ID), but it names no alternatives and gives no exclusions or conditions for choosing one source enum over the other beyond the schema. Usage is implied rather than explicitly routed.

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.