Skip to main content
Glama
malkreide

swiss-snb-mcp

by malkreide

πŸ‡¨πŸ‡­ Part of the Swiss Public Data MCP Portfolio

🏦 swiss-snb-mcp

Version License: MIT Python 3.11+ MCP Data Source CI

MCP server for the Swiss National Bank (SNB) data portal β€” exchange rates, balance sheet, interest rates, SARON, monetary aggregates, banking statistics, and balance of payments.

πŸ‡©πŸ‡ͺ Deutsche Version


Overview

swiss-snb-mcp connects AI models to the official Swiss National Bank data portal at data.snb.ch via the Model Context Protocol (MCP). It provides structured access to SNB's public REST API β€” no authentication required.

The server covers three tiers of datasets, all confirmed against the live API:

Phase 1 β€” Dedicated tools:

  • Exchange rates (monthly averages, month-end rates, annual averages) for the 28 currency series devkum publishes against CHF β€” including two USD forward rates, which are labelled as such

  • SNB balance sheet (Bilanz): gold reserves, foreign exchange investments, banknotes in circulation, sight deposits, and totals

Phase 2 β€” Via generic cube tools (snb_get_cube_data + snb_get_cube_metadata):

  • SNB policy rate (Leitzins) and SARON daily fixing, emergency facility rate, sight deposit rates

  • SARON compound rates: Overnight, 1M, 3M, 6M

  • International money market rates: SARON (CH), SOFR (USA), TONA (JP), SONIA (UK), €STR/EURIBOR (EZ)

  • Official central bank rates: SNB, Fed, ECB, Bank of England, Bank of Japan

  • Monetary aggregates M1, M2, M3: stock levels and year-on-year changes

Phase 3 β€” Warehouse API (banking statistics) and balance of payments:

  • Banking balance sheets (BSTA BIL): total assets and liabilities by bank group β€” annual and monthly

  • Banking income statements (BSTA EFR): operating income, expenses, taxes by bank group β€” annual

  • Balance of payments: current account, capital account, financial account (quarterly)

  • International investment position: components by investment type (quarterly)

  • Generic warehouse access: raw access to any SNB Warehouse cube by ID

Anchor demo query: "What was the EUR/CHF exchange rate during the 2015 Franc shock, and where does the SNB policy rate stand today compared to the Fed and ECB?"


Related MCP server: Norges Bank MCP Server

Features

  • πŸ’± Exchange rates β€” monthly CHF rates for EUR, USD, JPY, GBP, CNY and 23 more series

  • πŸ“… Annual averages β€” year-by-year rates from 1980 onwards

  • πŸ›οΈ SNB balance sheet β€” gold, foreign exchange investments, banknotes, sight deposits (monthly)

  • πŸ”„ Currency conversion β€” convert any amount to CHF using official SNB rates

  • πŸ“ˆ Policy rate & SARON β€” daily fixing, Leitzins, compound rates (1M/3M/6M)

  • 🌍 International rate comparison β€” SNB, Fed, ECB, Bank of England, Bank of Japan side by side

  • πŸ’° Monetary aggregates β€” M1, M2, M3 stock levels and year-on-year growth

  • 🏦 Banking statistics β€” balance sheets and income statements by bank group (12 groups)

  • πŸ“Š Balance of payments β€” current account, IIP, and international investment position

  • πŸ” Generic cube access β€” query any SNB data cube or Warehouse cube by ID

  • πŸ”“ No authentication required β€” fully public SNB data portal


Prerequisites

  • Python 3.11+

  • uv or pip

  • MCP-compatible client (Claude Desktop, Claude Code, or any MCP host)


Installation

Via uvx (recommended β€” no permanent installation needed):

uvx swiss-snb-mcp

Via pip:

pip install swiss-snb-mcp

From source:

git clone https://github.com/malkreide/swiss-snb-mcp.git
cd swiss-snb-mcp
pip install -e .

Usage / Quickstart

Claude Desktop β€” add to claude_desktop_config.json:

{
  "mcpServers": {
    "swiss-snb-mcp": {
      "command": "uvx",
      "args": ["swiss-snb-mcp"]
    }
  }
}

Config file locations:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Try it immediately in Claude Desktop:

"What is the current EUR/CHF exchange rate according to the SNB?" "Show me the SNB balance sheet for the last 12 months β€” gold and foreign reserves."


Configuration

No API key or authentication required. The SNB data portal is fully public.

Optional environment variable:

Variable

Default

Description

SNB_TIMEOUT

15

HTTP request timeout in seconds


Available Tools

Phase 1 β€” Dedicated Tools

Tool

Description

snb_get_exchange_rates

Monthly CHF rates for EUR, USD, JPY, GBP, CNY and 22 more currencies

snb_get_annual_exchange_rates

Annual average rates, data from 1980

snb_get_balance_sheet

SNB Bilanz positions in millions CHF (monthly)

snb_convert_currency

Convert any amount to CHF using official SNB rates

Phase 2 β€” Generic Cube Tools

Tool

Description

snb_get_cube_data

Generic access to any SNB cube by ID

snb_get_cube_metadata

Inspect dimensions and filter values of any cube

Phase 3 β€” Warehouse API (Banking Statistics) and Balance of Payments

Tool

Description

snb_get_banking_balance_sheet

Banking balance sheets by bank group (monthly/annual, assets/liabilities)

snb_get_banking_income

Banking income statements by bank group (annual)

snb_get_balance_of_payments

Balance of payments and international investment position (quarterly)

snb_get_warehouse_data

Generic access to any SNB Warehouse cube by ID

snb_get_warehouse_metadata

Inspect dimensions and last update of a Warehouse cube

Resources (static catalogs)

Discovery aids served as MCP resources rather than tools so they don't crowd the tool manifest:

URI

Description

data://snb/currencies

All 28 currency IDs with labels and units

data://snb/balance-sheet-positions

Asset and liability position IDs

data://snb/cubes

All verified Cube-API IDs (Phase 1–2) + discovery guide

data://snb/warehouse-cubes

Available Warehouse cube IDs (BSTA)

data://snb/bank-groups

All 12 bank group IDs with labels

Example Use Cases

Query

Tool

"What is the current EUR/CHF rate?"

snb_get_exchange_rates

"Convert CHF 10,000 to USD"

snb_convert_currency

"Show SNB gold reserves over the last year"

snb_get_balance_sheet

"What is the current SNB policy rate?"

snb_get_cube_data (cube: snbgwdzid)

"How do SNB, Fed and ECB rates compare?"

snb_get_cube_data (cube: snboffzisa)

"What is the SARON 3M compound rate?"

snb_get_cube_data (cube: zirepo)

"How fast is M3 money supply growing?"

snb_get_cube_data (cube: snbmonagg)

"Total assets of all Swiss banks?"

snb_get_banking_balance_sheet

"Income statement of cantonal banks?"

snb_get_banking_income (bank_group: G10)

"Switzerland's balance of payments?"

snb_get_balance_of_payments

"Which cubes are available?"

resource data://snb/cubes

β†’ More use cases by audience β†’


Safety & Limits

Aspect

Details

Access

Read-only (readOnlyHint: true) β€” the server cannot modify or delete any data

Personal data

No personal data β€” all sources are aggregated, public macroeconomic statistics

Rate limits

SNB Warehouse API has WAF protection (HTTP 503 after ~100 rapid requests); the server retries automatically with exponential backoff (max 3 retries, delays 2/4/8s)

Timeout

15 seconds per API call

Authentication

No API keys required β€” both APIs (/api/cube/ and /api/warehouse/cube/) are publicly accessible

Data source

Swiss National Bank β€” data.snb.ch

Terms of Service

Subject to SNB's Terms of Use and Copyright; data is free for non-commercial use with source attribution


Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   Claude / AI   │────▢│     Swiss SNB MCP         │────▢│     data.snb.ch      β”‚
β”‚   (MCP Host)    │◀────│     (MCP Server)          │◀────│                      β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β”‚                           β”‚     β”‚  /api/cube/ (JSON)   β”‚
                        β”‚  11 Tools Β· 5 Resources   β”‚     β”‚  /api/warehouse/     β”‚
                        β”‚  Stdio | SSE              β”‚     β”‚  Public Β· No Auth    β”‚
                        β”‚                           β”‚     β”‚                      β”‚
                        β”‚  Phase 1: dedicated tools β”‚     β”‚  Exchange rates      β”‚
                        β”‚  Phase 2: generic cubes   β”‚     β”‚  Balance sheet       β”‚
                        β”‚  Phase 3: warehouse +     β”‚     β”‚  Interest rates      β”‚
                        β”‚           banking stats   β”‚     β”‚  Banking statistics  β”‚
                        β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β”‚  Balance of payments β”‚
                                                          β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Cube Discovery Pattern

The SNB API follows a consistent cube-based structure. Read the data://snb/cubes resource to explore verified cube IDs, then snb_get_cube_metadata to inspect dimensions before querying with snb_get_cube_data. Phase 3 adds the Warehouse API (/api/warehouse/cube/) for granular banking statistics β€” start from the data://snb/warehouse-cubes and data://snb/bank-groups resources.


Project Structure

swiss-snb-mcp/
β”œβ”€β”€ src/
β”‚   └── swiss_snb_mcp/
β”‚       β”œβ”€β”€ __init__.py
β”‚       β”œβ”€β”€ server.py       # Core tools and FastMCP server (Phase 1–2 + BoP)
β”‚       └── warehouse.py    # Warehouse API tools (Phase 3: banking statistics)
β”œβ”€β”€ scripts/
β”‚   └── record_fixtures.py          # records tests/fixtures/* from data.snb.ch
β”œβ”€β”€ tests/
β”‚   β”œβ”€β”€ fixtures/                   # recorded responses + PROVENANCE.md (date, rule, SHA-256)
β”‚   β”œβ”€β”€ fixture_data.py             # loader β€” a missing name is an error, not an empty dict
β”‚   β”œβ”€β”€ test_unit.py                # respx-mocked unit tests (run in CI)
β”‚   β”œβ”€β”€ test_live_scenarios.py      # 20 live scenarios for Phase 1–2 (nightly)
β”‚   └── test_live_warehouse.py      # 20 live scenarios for Phase 3 (nightly)
β”œβ”€β”€ pyproject.toml          # Build configuration (hatchling)
β”œβ”€β”€ CHANGELOG.md
β”œβ”€β”€ CONTRIBUTING.md         # Contribution guidelines (English)
β”œβ”€β”€ CONTRIBUTING.de.md      # German version
β”œβ”€β”€ SECURITY.md             # Security policy & posture (English)
β”œβ”€β”€ SECURITY.de.md          # German version
β”œβ”€β”€ LICENSE
β”œβ”€β”€ README.md               # This file (English)
└── README.de.md            # German version

Known Limitations

  • Exchange rates: Monthly averages only β€” no intraday or daily rates available via this API

  • Balance sheet: Monthly data; some positions may have a publication lag of 1–2 months

  • Cube access: Cube IDs are not officially documented by the SNB β€” read the data://snb/cubes resource for verified IDs

  • Historical depth: Coverage varies by series; exchange rates go back to 1980, some interest rate series start later

  • No forecasts: All data is historical/realised β€” SNB does not publish forecasts via this API


MCP Protocol Version

This server speaks two protocol eras over the same endpoint. The client's first request on a connection decides which one applies; a later claim from the other era is refused.

Era

Revision

Who reaches it

initialize handshake

2024-11-05 … 2025-11-25

What today's clients speak. The server answers with the revision asked for, or with the 2025-11-25 ceiling when the request asks for something newer.

Per-request envelope

2026-07-28

A request carrying the 2026-07-28 _meta envelope opens a modern connection.

Both revisions are pinned in tests/test_protocol_version.py and asserted against the installed SDK, so a Dependabot bump of mcp cannot move either one silently. This server builds no ASGI app to send an initialize through, so the gate asserts the SDK constants rather than a measured response β€” the weaker form, named rather than left unsaid.

Note that the SDK's LATEST_PROTOCOL_VERSION is an alias for the modern era, not for the handshake era β€” pinning against it alone would leave the era that current clients actually negotiate free to drift.

Update policy. When the gate fails, do not edit the constant blindly: read the spec changelog between the two revisions, verify the server still behaves, then move the constant, this section, README.de.md and CHANGELOG.md together.


Testing

# Unit tests (no API key required)
PYTHONPATH=src pytest tests/ -m "not live"

# Integration tests (live SNB API)
PYTHONPATH=src pytest tests/ -m "live"

# Re-record the fixtures from data.snb.ch (writes tests/fixtures/PROVENANCE.md)
python scripts/record_fixtures.py

The unit-test payloads are recorded, not invented. Source, retrieval date, selection rule and SHA-256 per file are in tests/fixtures/PROVENANCE.md. A hand-written mock encodes its author's assumption and can therefore never refute it β€” production code and fixture come from the same head, so where both are wrong, both are wrong together and the suite stays green. Each file keeps every series and only shortens the value lists: the code reasons about the dimensions and merely displays the values, so cutting "the first N series" would have hidden exactly what three of the findings depended on.


Changelog

See CHANGELOG.md


Contributing

See CONTRIBUTING.md for guidelines on reporting issues, suggesting new SNB cube IDs, and contributing code.


Security

This server is read-only, processes no personal data, and talks only to data.snb.ch. See SECURITY.md for the full security posture, audit results, and how to report a vulnerability.


License

MIT License β€” see LICENSE


Author

Hayal Oezkan Β· github.com/malkreide


Installation

Run via uv's uvx β€” no clone or manual install needed. Add to your MCP client config (mcpServers for Claude Desktop, Cursor and Windsurf; use a top-level servers key for VS Code in .vscode/mcp.json):

{
  "mcpServers": {
    "swiss-snb-mcp": {
      "command": "uvx",
      "args": [
        "swiss-snb-mcp"
      ]
    }
  }
}

Available Tools

11 tools
snb_convert_currencyA
Read-onlyIdempotent

Convert a foreign currency amount to CHF using official SNB exchange rates.

Uses the monthly average rate (Monatsmittel) from the SNB data portal. Suitable for budget calculations, cost estimations, and financial planning.

Args: params (ConvertCurrencyInput): - amount: Amount in foreign currency to convert. - currency_id: SNB currency ID (e.g. 'EUR1', 'USD1', 'JPY100'). - reference_month: Month YYYY-MM for the rate. Default: most recent.

Returns: str: CHF equivalent, exchange rate used, and reference date.

Example: amount=45000, currency_id='USD1' β†’ CHF equivalent of USD 45,000 amount=100, currency_id='JPY100' β†’ CHF equivalent of JPY 100

ParametersJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and idempotentHint=true, which are consistent with a non-mutating conversion. The description adds that it uses the monthly average rate from SNB and returns CHF equivalent, rate, and date, providing additional context beyond 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 well-structured with separate sections for purpose, args, returns, and examples. It is not overly verbose, but could be slightly more concise without losing clarity. Every part adds value.

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?

Given the input schema, output schema existence, and annotations, the description provides all necessary context: the source of rates, parameter defaults, return format, and example usage. There are no gaps in understanding how to use the tool.

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?

Although the input schema provides descriptions for all parameters (amount, currency_id, reference_month), the description reinforces their meanings with examples (e.g., 'amount=45000, currency_id=USD1') and clarifies defaults. This adds practical value beyond the schema alone.

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 converts foreign currency to CHF using SNB official exchange rates. It specifies the exact rate type (monthly average) and distinguishes from sibling tools that retrieve exchange rates rather than performing conversions.

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 indicates suitability for budget calculations, cost estimations, and financial planning, providing clear use cases. It does not explicitly state when to avoid this tool or mention alternative tools, but the context of sibling tools implies that this is a conversion tool while others are retrieval tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

snb_get_annual_exchange_ratesA
Read-onlyIdempotent

Retrieve annual average CHF exchange rates from the SNB (cube 'devkua').

Returns yearly average exchange rates for all major currencies against CHF. Useful for multi-year trend analysis, budget planning, and financial reporting. Data goes back to 1980 for most currencies.

Args: params (AnnualExchangeRatesInput): - currencies: List of currency IDs (e.g. ['EUR1', 'USD1']). Default: all. - from_year: Start year, e.g. '2015'. Default: 5 years ago. - to_year: End year, e.g. '2025'. Default: current year. - lang: Response language. Default: de.

Returns: str: Markdown summary and JSON data with annual exchange rates.

ParametersJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, so the description's burden is lower. It adds value by stating data goes back to 1980, returns Markdown and JSON, and explains default year range. No contradictions.

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 concise opening sentence, a brief usage context paragraph, and clearly labeled Args/Returns sections. Every sentence adds value; no 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?

Given the tool's complexity (annual rates, multiple currencies, year range), the description covers purpose, source, return format, and appropriate use cases. It mentions the cube name and gives defaults. The output schema exists, so return format details are sufficient.

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 schema already has descriptions for all parameters (currencies, from_year, to_year, lang). The description's Args section largely repeats these, adding slight context like example currency IDs and default year calculation. Since schema coverage is high, the description adds little new parameter meaning.

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 retrieves annual average CHF exchange rates from SNB, specifying the cube name and that it returns yearly averages for all major currencies. It distinguishes from sibling tools like snb_get_exchange_rates (likely daily) by highlighting 'annual average' and multi-year use.

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 explicit use cases: multi-year trend analysis, budget planning, financial reporting. However, it does not mention when not to use this tool or explicitly name alternative tools (e.g., snb_get_exchange_rates for daily rates).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

snb_get_balance_of_paymentsA
Read-onlyIdempotent

Retrieve balance-of-payments or international investment position data.

Categories:

  • overview: Zahlungsbilanz β€” Übersicht (cube bopoverq)

  • iip: AuslandvermΓΆgen β€” Komponenten (cube auvekomq)

Args: params (BalanceOfPaymentsInput): - category: 'overview' or 'iip'. - from_date: Start date, e.g. '2020-Q1' or '2020'. - to_date: End date. - lang: Response language (de/en/fr).

Returns: str: Markdown summary with JSON data.

ParametersJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, so the tool is known to be safe. The description adds that the return is a 'Markdown summary with JSON data', and details the category options with cube names. However, it does not disclose any other behavioral traits like auth requirements or rate limits, leaving some gaps beyond annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

The description is moderately concise but includes a redundant 'Args' section that largely duplicates the input schema. This adds unnecessary length. The structure is clear with categories and a list, but could be trimmed to essential information.

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

Completeness4/5

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

The output schema exists, so the description need not explain return values. Annotations cover safety. The description provides category options with cube names, date format examples, and language hints. It is reasonably complete for a read-only tool, though it lacks details on error handling or default ranges beyond the schema.

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 0%, meaning the description does not add substantial new meaning beyond the schema's own parameter descriptions. The description lists parameters in an 'Args' block but merely repeats schema info like types and examples. The schema already provides detailed descriptions for each field, so the description adds minimal value. Baseline 3 is appropriate given the schema richness.

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?

Description clearly states 'Retrieve balance-of-payments or international investment position data', with specific verb and resource. It distinguishes from sibling tools like exchange rates or balance sheets by naming the specific data type. The two categories are also clearly separated, making the tool's purpose unambiguous.

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

Usage Guidelines3/5

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

No explicit guidance on when to use this tool versus alternatives. While the name and description imply its domain, there is no mention of when not to use it or references to sibling tools. The tool's specificity somewhat compensates, but the dimension requires more direct guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

snb_get_balance_sheetA
Read-onlyIdempotent

Retrieve SNB balance sheet (Bilanz) data from the data portal (cube 'snbbipo').

Returns monthly balance sheet positions of the Swiss National Bank in millions of CHF. Covers assets (gold, foreign exchange reserves, repos) and liabilities (banknotes in circulation, sight deposits of domestic banks, government deposits).

Key positions:

  • GFG: Gold und Forderungen aus GoldgeschΓ€ften

  • D: Devisenanlagen (foreign exchange reserves β€” the world's largest relative to GDP)

  • N: Notenumlauf (banknotes in circulation)

  • GB: Girokonten inlΓ€ndischer Banken (sight deposits)

  • T0/T1: Total Aktiven / Total Passiven

Args: params (BalanceSheetInput): - positions: List of position IDs. Default: key positions (GFG, D, N, GB, T0, T1). - from_date: Start month YYYY-MM. Default: 24 months ago. - to_date: End month YYYY-MM. Default: latest available. - lang: Response language. Default: de.

Returns: str: Markdown summary and JSON data in millions CHF.

ParametersJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true. The description adds context about return format (Markdown + JSON in millions CHF), data source, and default date range, which is useful beyond annotations. No contradictions.

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: concise purpose statement, followed by return details, key positions list, and clear Args section. Every sentence adds value with no 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?

Given the tool's complexity (multiple optional params, date range, language, many positions), the description covers all necessary aspects: purpose, parameters, defaults, return format, and even provides a curated list of important positions. No gaps.

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?

Schema description coverage is 0%, so the description carries full burden. It provides detailed explanations of each parameter, including defaults, example values, and a key list of position IDs with meanings (GFG, D, N, GB, T0/T1), adding significant value beyond the schema.

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 retrieves SNB balance sheet data, specifies the cube 'snbbipo', and lists covered positions (assets, liabilities). It distinguishes from sibling tools by explicitly naming the cube and data type (balance sheet vs. banking balance sheet).

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

Usage Guidelines3/5

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

The description provides decent context but does not explicitly guide when to use this tool vs alternatives (e.g., snb_get_banking_balance_sheet, snb_get_cube_data). It mentions using snb_list_balance_sheet_positions for available IDs, but lacks when-not-to-use or comparative guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

snb_get_banking_balance_sheetA
Read-onlyIdempotent

Retrieve banking balance sheet data from SNB Warehouse (BSTA BIL cubes).

Returns total assets and/or liabilities for selected bank groups from the Swiss banking statistics. Values are converted to millions of CHF.

Args: params (BankingBalanceSheetInput): - side: 'assets', 'liabilities', or 'both'. - bank_groups: Bank group IDs (default: ['A30'] = all banks). - frequency: 'annual' or 'monthly'. - currency: Currency filter (default: 'T' = Total). - from_date / to_date: Date range. - lang: Response language.

Returns: str: Markdown summary with values in Millionen CHF, plus JSON data.

ParametersJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is clear. The description adds behavioral details: values are in millions of CHF, returns Markdown summary with JSON data, and lists parameter constraints.

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 concise with front-loaded purpose and a bulleted parameter list. No redundant sentences, but the bullet list could be slightly more compact.

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

Completeness4/5

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

Given rich schema, output schema exists, and annotations covering safety, the description is adequately complete. It explains data source, return format, and parameter defaults. Missing guidance on tool relationships, but overall sufficient.

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 has detailed descriptions for all parameters, so the description's 'Args' section adds little beyond summarizing defaults and grouping. Baseline 3 applies as schema coverage is high, though the description does provide a quick overview.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool retrieves banking balance sheet data from SNB Warehouse (BSTA BIL cubes) and returns total assets/liabilities. However, it does not distinguish from sibling tools like snb_get_balance_sheet, which may cause confusion.

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

Usage Guidelines2/5

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

No explicit guidance on when to use this tool vs alternatives. No conditions or exclusions are provided, leaving the agent without context for tool selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

snb_get_banking_incomeA
Read-onlyIdempotent

Retrieve banking income statement data from SNB Warehouse (BSTA EFR cubes).

Returns key income statement positions (GeschΓ€ftsertrag, GeschΓ€ftsaufwand, etc.) for selected bank groups. Values are converted to millions of CHF.

Args: params (BankingIncomeInput): - bank_groups: Bank group IDs (default: ['A30'] = all banks). - from_year / to_year: Year range (YYYY). - lang: Response language.

Returns: str: Markdown summary with values in Millionen CHF, plus JSON data.

ParametersJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already indicate readOnly, destructive, and idempotent hints. The description adds that values are in millions of CHF and returns both markdown and JSON, providing useful behavioral context beyond 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?

The description is concise (6 lines), front-loaded with a clear summary, and uses a well-organized 'Args' section. No unnecessary content.

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

Completeness4/5

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

Given the tool's complexity (1 nested parameter), annotations, and output schema existence, the description provides sufficient context: return format (markdown+JSON), unit conversion, and reference to sibling tool for bank groups. Minor gap: no mention of date range defaults beyond schema.

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?

The input schema has detailed parameter descriptions (e.g., bank_groups default, year format), and the description summarizes the args and notes default behavior. Together they cover semantics well, with the description adding overall return format.

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 uses specific verbs ('Retrieve') and resources ('banking income statement data from SNB Warehouse (BSTA EFR cubes)'), clearly distinguishing it from sibling tools like snb_get_balance_sheet.

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

Usage Guidelines3/5

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

The description implies usage for retrieving income statement data and mentions default bank groups, but does not provide explicit when/why to use this tool versus alternatives or when not to use it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

snb_get_cube_dataA
Read-onlyIdempotent

Retrieve raw data from any SNB data cube by ID.

Generic tool for accessing SNB cubes beyond the dedicated tools. Use snb_get_cube_metadata first to understand the cube structure. Browse https://data.snb.ch to discover cube IDs from the URL pattern: data.snb.ch/de/topics/{topic}/cube/{cubeId}

Args: params (CubeDataInput): - cube_id: SNB cube identifier (lowercase), e.g. 'devkum', 'snbbipo'. - from_date: Start date (YYYY-MM for monthly, YYYY for annual). - to_date: End date. - lang: Response language (de/en/fr).

Returns: str: Raw timeseries data from the cube as JSON.

ParametersJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.6/5.0
Behavior4/5

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

Annotations declare readOnlyHint=true and idempotentHint=true, covering safety. The description adds that return is raw JSON timeseries data, but does not discuss potential errors or performance. With strong annotations, this is adequate.

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 fairly concise but includes a redundant Args section that mostly restates the schema. It is front-loaded with the main purpose and usage guidance, but the Args section could be trimmed.

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?

Given the tool's generic nature, the description covers purpose, prerequisites, parameter source, and return format. With an output schema present, it does not need to detail the response structure, making it complete for the use case.

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?

The schema has detailed descriptions for all parameters, so schema coverage is effectively high. The description adds a URL for discovering cube IDs and briefly lists parameter names, adding limited but useful context beyond the schema.

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 retrieves raw data from any SNB cube by ID and explicitly differentiates itself as a generic fallback beyond dedicated tools, making its purpose very clear.

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?

It advises using snb_get_cube_metadata first and provides a URL to discover cube IDs, offering clear when-to-use and prerequisite guidance. The mention of 'beyond the dedicated tools' implicitly conveys when to use this generic tool over specialized ones.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

snb_get_cube_metadataA
Read-onlyIdempotent

Get metadata and dimension structure for any SNB data cube.

Retrieves the cube's dimension definitions, available filter values, and structure. Use this before querying snb_get_cube_data to understand what parameters and filters are available.

Args: params (CubeMetadataInput): - cube_id: SNB cube identifier, e.g. 'devkum', 'snbbipo'. - lang: Language for labels (de/en/fr).

Returns: str: Cube ID, dimensions, and all available dimension item IDs with labels.

ParametersJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare read-only, non-destructive, idempotent behavior. The description adds context that it retrieves metadata for subsequent data queries, but does not provide additional behavioral details like rate limits or error cases. This is adequate given annotation coverage.

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 and well-structured: a one-line summary, a usage explanation, an Args section with parameter details, and a 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.

Completeness4/5

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

The description covers input, output, usage order, and annotations provide safety information. However, it does not detail the output format or error conditions, which would be useful for a complete understanding. Overall, it is sufficient for the tool's simplicity.

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?

Schema descriptions are sparse (0% coverage per context), but the tool description fully compensates by explaining both parameters with examples and purpose: cube_id (e.g., 'devkum', 'snbbipo') and lang (de/en/fr with effect on labels). This adds significant meaning beyond the schema.

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 that the tool retrieves metadata and dimension structure for SNB data cubes, using specific verbs and resources. It distinguishes itself from sibling tools, notably snb_get_cube_data, by stating this tool is for metadata and should be used before querying data.

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 advises to use this tool before querying snb_get_cube_data to understand available parameters and filters, providing clear when-to-use guidance and differentiating from data retrieval tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

snb_get_exchange_ratesA
Read-onlyIdempotent

Retrieve monthly CHF exchange rates from the Swiss National Bank (data.snb.ch).

Returns monthly average rates (and optionally month-end rates) for all major currencies against the Swiss Franc (CHF). Data source: SNB cube 'devkum'. Rates are expressed as the CHF value of the stated foreign currency unit (e.g. EUR1: 1 EUR = 0.9416 CHF; JPY100: 100 JPY = 0.58 CHF).

Args: params (ExchangeRatesInput): - currencies: List of currency IDs (e.g. ['EUR1', 'USD1']). Default: all. - from_date: Start month YYYY-MM. Default: 12 months ago. - to_date: End month YYYY-MM. Default: current month. - include_month_end: Also include month-end rates. Default: False. - lang: Response language (de/en/fr). Default: de.

Returns: str: Markdown table with dates and CHF exchange rates per currency. Includes publication date and data source metadata.

Schema: { "cube_id": "devkum", "publishing_date": "YYYY-MM-DD HH:MM", "currencies_returned": int, "timeseries": [ { "currency": str, "type": "Monatsmittel" | "Monatsende", "unit": str, "values": [{"date": "YYYY-MM", "value": float}] } ] }

ParametersJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint, and idempotentHint, so the description does not need to repeat these. It adds value by detailing the data source (SNB cube 'devkum'), the expression of rates (CHF per foreign currency unit with examples), and the optional month-end rates. It also specifies the return format (Markdown table with metadata), enriching the 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 opening, a bulleted argument list, and a return format section including a JSON schema. It is slightly verbose but front-loaded with the main purpose. The organization aids readability.

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 all essential aspects: data source, parameter details with defaults, return format (Markdown table), and an output schema. Combined with comprehensive annotations and no missing critical information, it is fully adequate for an agent to use the tool correctly.

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?

Although the input schema has descriptions for each sub-property, the tool description adds a concise summary with examples and defaults (e.g., 'Default: 12 months ago'). It explains the meaning of the rates and references snb_list_currencies for currency IDs, enhancing understanding beyond the schema.

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 retrieves monthly CHF exchange rates from the Swiss National Bank, using a specific verb ('Retrieve') and precise resource ('monthly CHF exchange rates'). It distinguishes itself from sibling tools like snb_get_annual_exchange_rates by focusing on monthly data.

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

Usage Guidelines3/5

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

The description implies when to use (for monthly exchange rates) but does not explicitly provide when-not-to-use or alternatives. Sibling tools exist for annual rates or conversion, but no guidance is given on choosing between them. This is adequate but lacks explicit direction.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

snb_get_warehouse_dataA
Read-onlyIdempotent

Retrieve raw data from any SNB Warehouse cube by ID.

Generic tool for accessing SNB Warehouse cubes (BSTA banking statistics). Use snb_get_warehouse_metadata first to understand the cube structure. Use snb_list_warehouse_cubes to discover available cube IDs.

Args: params (WarehouseDataInput): - cube_id: SNB Warehouse cube ID (uppercase, dot-separated). - from_date: Start date (YYYY for annual, YYYY-MM for monthly). - to_date: End date. - lang: Response language (de/en/fr).

Returns: str: Timeseries data from the warehouse cube as Markdown + JSON.

ParametersJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

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, destructiveHint=false, idempotentHint=true. Description adds that the tool returns 'Timeseries data from the warehouse cube as Markdown + JSON,' which is useful behavioral context beyond annotations. No contradictions.

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?

Description is well-structured: first sentence states purpose, then contextual sentence, then sibling guidance, then Args/Returns sections. No wasted words; every sentence adds value.

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?

Given the tool's simplicity (one object param, no output schema), the description covers purpose, usage prerequisites, return format, and domain context (SNB Warehouse cubes, BSTA banking statistics). With rich annotations, it is complete.

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 effectively high (all parameters have descriptions in schema). The description adds minimal extra parameter info beyond restating schema details, so baseline of 3 is appropriate.

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?

Description clearly states 'Retrieve raw data from any SNB Warehouse cube by ID.' It specifies the verb (retrieve), resource (SNB Warehouse cube data), and distinguishes from siblings like snb_get_warehouse_metadata (which gets structure) and snb_list_warehouse_cubes (which discovers cube IDs).

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 instructs to use snb_get_warehouse_metadata first to understand cube structure and snb_list_warehouse_cubes to discover available cube IDs, providing clear when-to-use guidance and alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

snb_get_warehouse_metadataA
Read-onlyIdempotent

Get metadata and dimension structure for any SNB Warehouse cube.

Retrieves the cube's dimension definitions and last update date. Use this before querying snb_get_warehouse_data to understand what dimensions and filter values are available.

Args: params (WarehouseMetadataInput): - cube_id: SNB Warehouse cube ID to inspect. - lang: Language for labels (de/en/fr).

Returns: str: Cube ID, edition date, dimensions and their items.

ParametersJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already provide readOnlyHint=true, idempotentHint=true, destructiveHint=false. The description adds value by explaining the return value (cube ID, edition date, dimensions) and that it is safe and idempotent. No contradictions.

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 concise (three sentences plus args/returns) and well-structured with clear sections. It could be slightly shorter by omitting the args/returns that mirror the schema, but overall no unnecessary content.

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

Completeness4/5

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

Given the presence of an output schema (not shown) and annotations, the description adequately covers the purpose, usage context, and return format. It does not describe pagination or error cases, but for metadata retrieval this is sufficient.

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 cube_id and lang (with enum). The description repeats this information without adding new semantics. With schema description coverage apparently 0% (though schema does have one description), the description provides marginal additional interpretation. Score is 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 the tool retrieves metadata and dimension structure for SNB Warehouse cubes, using the verb 'Get' and specifying the resource. It differentiates from sibling tools like snb_get_warehouse_data by explicitly stating it should be used before querying data, and it is distinct from snb_get_cube_metadata since it targets warehouse cubes.

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 explicitly states 'Use this before querying snb_get_warehouse_data,' providing clear guidance on when to use the tool. However, it does not mention when not to use it or differentiate it from snb_get_cube_metadata, which is a similar metadata tool for other cubes.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 11 tool updatesv0.4.4
    • First observedsnb_convert_currency
    • First observedsnb_get_annual_exchange_rates
    • First observedsnb_get_balance_of_payments
    • First observedsnb_get_balance_sheet
    • First observedsnb_get_banking_balance_sheet
    • First observedsnb_get_banking_income
    • First observedsnb_get_cube_data
    • First observedsnb_get_cube_metadata
    • First observedsnb_get_exchange_rates
    • First observedsnb_get_warehouse_data
    • First observedsnb_get_warehouse_metadata

TDQS

A4.1/5.0
Disambiguation5/5

Each tool targets a specific, distinct data type or operation: currency conversion, monthly/annual exchange rates, balance sheet, balance of payments, banking statistics, and generic cube/warehouse access. There is no overlap that would confuse an agent; even the exchange rate tools are clearly differentiated by frequency and purpose.

Naming Consistency4/5

All tools follow the 'snb_' prefix and snake_case convention. Most are 'snb_get_' except for 'snb_convert_currency', which uses a different verb. This minor inconsistency is justified by the distinct action (conversion vs. retrieval), but it breaks the otherwise uniform pattern.

Tool Count5/5

With 11 tools, the server covers the core SNB data domains (exchange rates, balance sheet, banking statistics) plus generic cube access without being overwhelming. The count is well-scoped for its purpose.

Completeness4/5

The tool set covers major SNB data categories: exchange rates, conversion, balance of payments, SNB balance sheet, banking balance sheet, and banking income. The generic cube and warehouse tools fill gaps for other SNB data. A minor gap is the lack of a dedicated tool for daily exchange rates, but monthly and annual are covered.

Maintenance

ActivityActive
ResponsivenessUnresponsive

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables LLMs to search, access, and retrieve official Swedish statistics from Statistics Sweden (SCB), providing access to 1,200+ tables covering demographics, economy, environment, labor market, and education with 75+ years of historical data.
    7
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to query Norges Bank's open data API for exchange rates, policy rates, government securities, money market data, bank liquidity, and regional network survey data.
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Provides AI-native access to Swiss Federal Statistical Office datasets through 9 tools for querying education, population, and cross-cantonal comparisons without authentication.
    15
    2
    MIT

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-snb-mcp'

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