Skip to main content
Glama
malkreide

swiss-statistics-mcp

by malkreide

bfs_list_themes

Read-onlyIdempotent

Retrieve the complete list of 21 Swiss federal statistical themes, each with a code and dataset count. Use these codes to filter datasets by theme.

Instructions

List all 21 BFS statistical themes with their codes and dataset counts.

Returns the complete taxonomy of Swiss federal statistics. Each theme has a 2-digit code used to filter datasets with bfs_list_tables_by_theme.

Args: params (ListThemesInput): - lang (str): Language code ('de', 'fr', 'it', 'en')

Returns: ListThemesResult with theme codes, names, dataset counts per theme. On error, error and hint are set and themes is None.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNo
hintNo
total_datasetsNo
themesNo
noteNo
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint, idempotentHint. The description adds beyond this: it details the return structure (theme codes, names, dataset counts) and error handling (error and hint fields). This is valuable behavioral context.

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 well-structured with a clear first sentence capturing the main purpose, followed by details on return and parameter. It is concise without being terse, though the second paragraph on returns could be slightly tightened.

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?

For a simple list tool with one parameter, the description is complete: it explains the output format, error handling, and connection to a sibling tool. No pagination or limits are needed since it returns all 21 themes.

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?

The input schema already describes the lang parameter with a description and pattern. The tool description only repeats 'Language code: de, fr, it, en' in the args section, adding no new meaning. Schema description coverage is 0% per context, so 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?

The description clearly states it lists all 21 BFS statistical themes with codes and dataset counts, and explicitly mentions it returns the complete taxonomy. It also distinguishes itself from sibling bfs_list_tables_by_theme by noting the theme codes are used to filter datasets.

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 gives clear context: use this tool to get the complete taxonomy, and the theme codes are used for filtering with bfs_list_tables_by_theme. It specifies the language parameter. While it lacks explicit 'when not to use' guidance, the context is sufficient.

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/malkreide/swiss-statistics-mcp'

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