Skip to main content
Glama
aard-ai

Thailand NSO MCP Server

by aard-ai

get_data

Fetch observations from Thailand NSO dataflows as TSV tables. Filter by dimensions and specify a Buddhist Era year range to get targeted statistics.

Instructions

Fetch observations for a dataflow as a TSV table, with reproducible CSV/curl URLs. Supports dimension filtering and a time range. Omit dimensions from dimension_filters to get all their values; pass multiple codes per dimension as an array. If no period is given, the latest available year is returned. IMPORTANT: start_period/end_period are Buddhist Era years (e.g. 2567 = 2024).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
detailNofull
end_periodNoBuddhist-era end, e.g. '2567'.
dataflow_idYesDataflow id, e.g. 'DF_01DI_IND_AGING'.
start_periodNoBuddhist-era start, e.g. '2560'.
dimension_filtersNoMap of dimension id -> array of codes, e.g. {"CWT": ["10"], "SEX": ["_T"]}. May also be that object JSON-encoded as a string.
dimension_at_observationNo
Behavior3/5

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

With no annotations, the description carries full behavioral disclosure burden. It explains the output format and the effect of omitting periods/dimensions, but lacks details on error handling, permissions, rate limits, or the structure of the returned TSV/URLs. The disclosure is adequate but not comprehensive.

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?

The description is relatively concise with three sentences that front-load the main purpose. It uses clear structure and avoids redundancy, though a minor improvement could be to separate usage notes more clearly.

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?

Given the tool's complexity (6 parameters, nested objects, no output schema), the description covers key behaviors but omits details about the detail parameter, dimension_at_observation, and how the reproducible URLs are structured. It is sufficient but not fully comprehensive.

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 description coverage is 67%, so baseline is 3. The description adds value by clarifying that dimension_filters can be a string (JSON-encoded), the effect of omitting dimensions, and the Buddhist Era year format. This goes beyond the schema's descriptions.

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?

The description clearly states the verb 'fetch', the resource 'observations for a dataflow', and the output format 'TSV table'. It also mentions reproducible URLs, making the tool's purpose specific and distinguishable from sibling tools like discover_dataflows or get_structure.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit usage guidance: how to omit dimensions, pass multiple codes, and the default period behavior. It includes an important note about Buddhist Era years. However, it does not explicitly state when to avoid using this tool or suggest alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aard-ai/tnso-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server