Skip to main content
Glama
Tdh25

CBS Open Data MCP Server

by Tdh25

get_observations

Fetch observations from CBS datasets with automatic pagination, optional filtering, and human-readable labels for dimension and measure codes.

Instructions

Fetch observations with automatic pagination.

Automatically follows @odata.nextLink to retrieve all pages. With resolve_labels=True, dimension and measure codes are replaced with human-readable labels.

Args: catalog: Catalog identifier. dataset: Dataset identifier. filters: Dimension filters (key=dimension, value=code). paginate: Fetch all pages (True) or just one page (False). resolve_labels: Replace codes with labels (True) or keep raw codes (False, faster). limit: Maximum number of observations (safety limit).

Returns: dict[str, Any]: Observation result.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
catalogNoCBS
datasetNo
filtersNo
paginateNo
resolve_labelsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It transparently explains automatic pagination via @odata.nextLink, the effect of resolve_labels, and the safety limit parameter. It does not cover error handling or potential side effects, but for a read-only fetch operation, this is substantial transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured and concise. It leads with a one-sentence summary, then details key behaviors in a short paragraph, followed by a bulleted Args list and Returns line. Every sentence serves a purpose, with no fluff or repetition.

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?

The description covers the main behaviors and all parameters, and an output schema exists, so return structure is not fully explained. However, it lacks important usage context, such as when to use this tool over query_observations, how filters are combined, and potential error conditions. For a tool with six optional parameters and no annotations, this is a notable gap.

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?

The schema has 0% description coverage, so the description must compensate. It successfully does so by providing explicit meaning for all six parameters: catalog/dataset as identifiers, filters as dimension-key/value pairs, paginate toggling all pages vs. one, resolve_labels for code/label switching, and limit as a safety cap. The descriptions are concise and add significant value beyond the raw schema.

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 clearly states the tool fetches observations and highlights automatic pagination, which is a specific and useful function. However, it does not explicitly distinguish itself from the sibling tool query_observations, which likely also retrieves observations. Thus it is clear but lacks sibling differentiation.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives like query_observations. It gives usage hints for parameters (e.g., resolve_labels behavior) but does not state the intended context, prerequisites, or exclusions. There is no mention of alternative tools or scenarios where this tool is preferred.

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/Tdh25/cbs-open-data_mcp'

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