Malaysia Open Data Dataset
malaysiagov.statistics.get_datasetRetrieve specific Malaysian government open dataset records by ID from data.gov.my or OpenDOSM using filters, date ranges, sorting, and limits.
Instructions
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
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Dataset ID from data.gov.my catalogue (e.g. "fuelprice", "cpi_headline") | |
| sort | No | Comma-separated columns to sort by; prefix "-" for descending (e.g. "-date") | |
| limit | No | Maximum number of records to return (1-100, default 20) | |
| filter | No | Exact-match filter in "value@column" form (e.g. "overall@division") | |
| source | No | Dataset source: "data-catalogue" (default) or "opendosm" (Dept. of Statistics) | |
| contains | No | Partial-match filter in "value@column" form (e.g. "kuala@state") | |
| date_end | No | End date filter, YYYY-MM-DD | |
| date_start | No | Start date filter, YYYY-MM-DD |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool 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. |