Skip to main content
Glama
malkreide

swiss-efv-mcp

by malkreide

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoBind host (SSE only). Loopback by default; set 0.0.0.0 only in a container127.0.0.1
PORTNoBind port (SSE only)8000
TRANSPORTNoTransport: stdio (Claude Desktop) or sse / streamable-http (cloud)stdio
EFV_MCP_LOG_LEVELNostructlog level (JSON to stderr)INFO
EFV_MCP_CORS_ORIGINSNoSSE only: explicit allowed browser origins (default-deny; comma-separated or JSON)[]
EFV_MCP_OTEL_ENABLEDNoEnable OpenTelemetry tracing (requires the otel extra); standard OTEL_* env vars configure exportfalse

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
fiscal_headlineA

Headline fiscal time series: revenue, expenditure, balance and debt ratios from 1990 to the latest year the EFV publishes, actuals and forward-looking years alike. Read is_projection per point to tell them apart; not every household carries forward years.

Use case: track how a federal aggregate evolved over time — e.g. "how did the Bund balance develop since the 2022 rate turnaround?". variable e.g. 'saldo', 'einnahmen', 'ausgaben', 'bruttoschuldenquote'. household: bund|ktn|gdn|staat|sv. model: fs|gfs. Every point flags is_projection. Call fiscal_list_dimensions first to discover valid values; an empty result carries a note with guidance.

fiscal_budget_breakdownA

Hierarchical federal-budget breakdown for one topic and year.

Use case: see where the money goes — e.g. "which task areas absorbed the spending growth?". topic e.g. 'Ausgaben nach Aufgabengebiet', 'Ausgaben nach Art', 'Einnahmen'. level is the hierarchy depth (1 = total, 2 = first breakdown …); 'contains' filters the path substring for drill-down. An empty result carries a note suggesting a different level or topic.

fiscal_by_institutionA

Federal spending by department / administrative unit since 2007.

Use case: compare personnel, IT or external-services spending across departments — e.g. "IT spending of the Finanzdepartement since 2010?". variable one of: 'Personalausgaben', 'Informatik', 'Beratung und externe Dienstleistungen', 'Anzahl Vollzeitstellen'. An empty result carries a note with guidance.

fiscal_list_dimensionsA

List the valid dimension values across all datasets (variables, households, models, budget topics, departments).

Use case: call this first to build correct parameters for the other tools — it turns free-text guesses into exact filter values. Loads all three dumps, so it may take a moment on a cold cache.

fiscal_statusA

Report cache freshness and upstream health per dataset.

Use case: check whether the data is fresh, cached or degraded before trusting a figure — the health endpoint of this server. Never returns empty silently; used for graceful degradation.

dump_statusA

DEPRECATED — use fiscal_status. Kept as an alias for backward compatibility; will be removed in a future minor release.

Reports cache freshness and upstream health per dataset (SEC-022: every tool now shares the fiscal_ server-identity namespace).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.4/5.0

Scored across 6 tools

Disambiguation5/5

Each tool targets a distinct aspect of the fiscal data: time series, budget breakdown, institutional spending, dimension discovery, and health status. The only potential overlap (fiscal_status vs. dump_status) is explicitly resolved by deprecating the latter, so agents can clearly distinguish them.

Naming Consistency5/5

All tools follow the `fiscal_` prefix with a descriptive noun (headline, budget_breakdown, by_institution, list_dimensions, status). The deprecated alias `dump_status` breaks the pattern but is clearly marked as temporary, so the overall convention remains highly consistent.

Tool Count5/5

Six tools cover the core operations for a read-only fiscal data server: querying aggregates, hierarchical breakdowns, institutional comparisons, dimension discovery, and health checks. This is well-scoped without unnecessary bloat or gaps.

Completeness5/5

The surface covers the primary data access patterns for the domain: time-series aggregates, budget hierarchies, departmental spending, and metadata discovery. The status tool ensures graceful degradation, and the deprecated alias is a minor artifact that does not affect completeness.

Maintenance

ActivityActive
ResponsivenessResponsive