Skip to main content
Glama
malkreide

swiss-statistics-mcp

by malkreide

search_historical_series

Read-onlyIdempotent

Search Swiss historical time series by topic keyword to find matching tables with page links and stable XLSX download URLs for long-run 19th–20th century data.

Instructions

Search long-run historical time series (HSSO) by topic.

Historical Statistics of Switzerland provides long-run series (roughly 19th–20th century) as static XLSX tables. This tool searches the table catalogue by keyword and returns each match with its page and a stable XLSX download URL.

Licence: HSSO is CC BY-NC-SA 3.0 — attribution required, NonCommercial. Every response carries that notice in licence_note.

Args: params (SearchHistoricalSeriesInput): - topic (str): keyword(s); all must match the title - period (str): optional period hint (informational only)

Returns: SearchHistoricalSeriesResult with matching series (code, title, page URL, XLSX URL). On error, error and hint are set.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
hintNo
noteNo
errorNo
topicNo
periodNo
seriesNo
sourceNoHistorische Statistik der Schweiz (HSSO) — https://hsso.ch. Lizenz CC BY-NC-SA 3.0: Namensnennung erforderlich, keine kommerzielle Nutzung.
provenanceNo
licence_noteNo⚠️ HSSO-Daten stehen unter CC BY-NC-SA 3.0 (NonCommercial). Nur für nicht-kommerzielle Nutzung mit Quellenangabe.
total_matchesNo
Behavior5/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false. The description goes beyond this by disclosing the licence (CC BY-NC-SA 3.0), that every response includes a licence notice, and that the period parameter is informational only because HSSO does not support per-table filtering. It also notes the error/ hint fields, adding useful behavioral detail.

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 with a front-loaded purpose, a brief resource context, licence notice, and an Args/Returns layout. Every sentence contributes necessary information without redundancy or fluff.

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 provides complete context for a read-only search tool: resource, input semantics, output shape, error behavior, and licensing. Since an output schema exists, the return values need not be exhaustively described, and the description covers all other relevant aspects adequately.

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?

Context reports schema description coverage at 0%, so the description must compensate. It explains that topic is a keyword that all must match the title, and that period is optional and informational only. This is sufficient semantic guidance even though the nested schema actually contains detailed descriptions; the description adds compact, accessible meaning for the agent.

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 opens with a specific verb-resource-scope statement: 'Search long-run historical time series (HSSO) by topic.' It clearly distinguishes this tool from the BFS sibling tools by focusing on HSSO's static XLSX table catalogue, and it states what is returned (page and XLSX URL). No ambiguity about the tool's purpose.

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 clear context by explaining that this searches the HSSO catalogue of long-run 19th–20th century series, which distinguishes it from BFS-oriented siblings. It does not explicitly name alternatives or state when not to use it, but the resource scope ('Historical Statistics of Switzerland', 'HSSO') makes the usage context evident.

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