Skip to main content
Glama

Swiss FSO Table Dimensions

swissfso.table.metadata
Read-onlyIdempotent

Get the variable dimensions and available filter values for any Swiss Federal Statistical Office (FSO/BFS) STAT-TAB dataset. Provide a database_id from catalog.list. Returns the table title, dimension codes, and all available value codes with German labels — needed to construct filters for table.query. Example: database_id "px-x-0304010000_201" returns year, region, industry, professional status, gender, and percentile dimensions for monthly gross wages. Data: Swiss OGD, no auth, commercial use permitted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
database_idYesBFS database identifier (e.g. "px-x-0304010000_201" for monthly wages, "px-x-0103010000_123" for 2023 population by canton). Obtain from catalog.list.

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. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds value beyond these: it discloses the return content ('table title, dimension codes, and all available value codes with German labels') and the data licensing/authorization posture ('Swiss OGD, no auth, commercial use permitted'). No contradiction with annotations.

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?

Four sentences, each earning its place: purpose, workflow, example, licensing. No filler or repetition of schema content. The most decision-relevant information (what it returns and where the input comes from) is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Complete for a single-parameter, read-only metadata lookup tool with an output schema present. The description covers purpose, input provenance, output shape, downstream use, a worked example, and licensing. Rate limits and pagination are not material for a dimension-metadata endpoint, so nothing an agent needs to invoke it correctly is missing.

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 the schema fully documents database_id with two concrete examples and the instruction to obtain it from catalog.list. The description reinforces this by saying 'Provide a database_id from catalog.list', which is useful but redundant. Baseline 3 is appropriate since the schema carries the semantic load.

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 and resource: 'Get the variable dimensions and available filter values for any Swiss Federal Statistical Office (FSO/BFS) STAT-TAB dataset.' Distinguishes itself from siblings by describing its role as the dimension/filter explorer, distinct from catalog.list (dataset discovery), table.query (data retrieval), and wages.monthly (specific dataset). The concrete example with 'px-x-0304010000_201' and its returned dimensions makes the purpose unmistakable.

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

Usage Guidelines5/5

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

Explicitly frames the tool's position in the workflow: 'Provide a database_id from catalog.list' establishes the upstream dependency, and 'needed to construct filters for table.query' names the downstream consumer. An agent knows exactly when to call this tool — after catalog.list and before table.query. No alternative routing is left to inference.

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.