Skip to main content
Glama
malkreide

SBB Open Data MCP Server

by malkreide

sbb_list_datasets

Read-onlyIdempotent

List all available SBB Open Data datasets with IDs, titles, record counts, update frequencies, and themes. Discover and review datasets on data.sbb.ch.

Instructions

Listet alle verfügbaren SBB Open Data Datensätze (data.sbb.ch) auf.

Gibt Dataset-ID, Titel, Anzahl Datensätze und Aktualisierungsfrequenz zurück. Nützlich zur Übersicht und Entdeckung neuer Datensätze.

Returns: str: Vollständige Liste aller SBB Open Data Datensätze. Schema: {dataset_id, title, records_count, update_frequency, themes}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations already cover safety (read-only, idempotent, non-destructive). The description adds value by specifying the return type ('str') and the schema of the returned list, including fields like dataset_id, title, records_count, update_frequency, and themes. This goes beyond annotations and helps the agent understand what to expect.

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 concise, with a clear structure: a brief purpose statement, a line about return fields, and a structured 'Returns' section. Every sentence adds value without redundancy.

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 no parameters and no output schema, the description is complete. It explains what the tool does, what it returns, and when to use it, fully covering the agent's needs.

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?

Since the tool has zero parameters, there is nothing to explain. The description correctly implies that no input is needed, and the baseline of 4 applies because the description does not obfuscate or add unnecessary parameter detail.

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 the tool lists all available SBB Open Data datasets from data.sbb.ch, using a specific verb ('listet') and resource ('Datensätze'). It also explicitly mentions the return fields, distinguishing it from sibling tools that fetch specific data types like passenger frequency or rail disruptions.

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 for use: 'Nützlich zur Übersicht und Entdeckung neuer Datensätze' (useful for overview and discovery). It does not explicitly list exclusions or alternatives, but the use case is evident enough to guide an agent.

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/sbb-opendata-mcp'

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