Skip to main content
Glama
malkreide

swiss-statistics-mcp

by malkreide

bfs_construction_investment

Read-onlyIdempotent

Retrieve annual building investment and work-on-hand figures for any Swiss region, canton, or commune. This leading indicator helps forecast next year's construction activity.

Instructions

Yearly building investment and Arbeitsvorrat for a region/canton/commune.

Returns building investment (Bauinvestitionen, current year) alongside the Arbeitsvorrat (work on hand for the following year) from BFS STAT-TAB px-x-0904010000_205, as a per-year series from since_year. The Arbeitsvorrat is the monetary leading indicator: it signals next year's construction volume before it is realised.

Args: params (ConstructionInvestmentInput): - level (str): 'grossregion', 'kanton', or 'gemeinde' - code (str): region/canton/commune code matching level - since_year (int): earliest year, inclusive (default 2015)

Returns: ConstructionInvestmentResult with a years series (investment, work_on_hand) in 1000 CHF. On error, error/hint are set.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeNo
hintNo
noteNo
unitNo
errorNo
levelNo
yearsNo
sourceNoBundesamt für Statistik (BFS), STAT-TAB — https://www.pxweb.bfs.admin.ch. Open Government Data, freie Weiterverwendung.
table_idNo
provenanceNo
since_yearNo
region_nameNo
Behavior4/5

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

Annotations already convey read-only, idempotent, non-destructive behavior. The description adds valuable context: output units in 1000 CHF, the per-year series format, the leading-indicator meaning, and error/hint fields. No contradictions 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.

Conciseness4/5

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

The description is structured with logical sections (overview, args, returns) and every sentence contributes meaning. It is slightly wordy but not bloated, earning a high but not perfect score for conciseness.

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?

The description covers the data source, return series, units, and error behavior. Since an output schema exists, it need not explain returns in detail, but doing so adds completeness. Overall, the tool is fully contextualized for an agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Even though the schema has detailed descriptions, the tool description includes an Args section covering all parameters (level, code, since_year) with examples and default value. This fully compensates for the low reported schema description coverage and gives clear guidance on how each parameter should be used.

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 returns yearly building investment and Arbeitsvorrat for a region/canton/commune, naming the specific BFS STAT-TAB data source. This specific verb+resource combination distinguishes it from siblings like bfs_get_data or bfs_construction_activity.

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 explains the purpose and highlights the Arbeitsvorrat as a leading indicator, giving a clear context for when the tool is useful. However, it does not explicitly mention when not to use it or name alternative sibling tools.

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