Skip to main content
Glama
malkreide

register-mcp

by malkreide

🇨🇭 Part of the Swiss Public Data MCP Portfolio

register-mcp

Version License: MIT Python 3.11+ MCP No Auth Required CI

MCP Server for the Swiss Federal Commercial Register (Zefix/Handelsregister), with a company-UID join to the official gazettes (SHAB + cantonal Amtsblätter)

🇩🇪 Deutsche Version


Overview

register-mcp provides AI-native access to two Swiss federal data sources, joined on the UID, all without authentication:

Source

Data

API

Zefix (Handelsregister)

Swiss companies, legal forms, registered-office data

ZefixREST v1

Amtsblattportal

Everything published about a specific company (by its UID): HR mutations, calls to creditors, bankruptcy

amtsblattportal.ch v1

The two sources share one key — the UID. The value is in the join: Zefix tells you whether a company exists; the gazette tells you what has been published about it.

The gazette access here is deliberately company-scoped only — keyed on a company UID or a specific publication id. There is no free-text / person-name gazette search in this server; that would be a profiling tool over the gazette's person-data rubrics (bankruptcy, debt-collection, inheritance). Broad Amtsblatt platform search (procurement, cantonal notices, full-text) is proposed as a separate amtsblatt-mcp — see docs/amtsblatt-mcp-proposal.md and the Data Protection & Scope section below.

Designed for Swiss public administration use cases: vendor verification, contract partner due diligence, and supplier onboarding — all via natural language queries.

Anchor demo query: "Before we sign a framework agreement with Lehrmittelverlag Zürich AG: is the company active in the commercial register, what is its UID and stated purpose — and, via that UID, what has the official gazette published about it (HR mutations, calls to creditors, any bankruptcy)?"

That single question walks the whole tool chain across both sources:

zefix_search_company  →  zefix_verify_company  →  gazette_company_publications(uid=…)  →  gazette_get_publication(id=…)

Related MCP server: mcp-server-zefix

Features

  • 🏛️ 9 tools across two sources — company search & verification (Zefix) + the company-scoped gazette join (SHAB/cantonal)

  • 🔗 gazette_company_publications — the UID join: everything published about a company

  • 🛡️ Data-protection-safe by construction — the only gazette entry points are UID- or id-scoped; no person-name search entry exists (see Data Protection & Scope)

  • 🔍 zefix_verify_company — quick active/dissolved status check

  • 🌐 Bilingual output (Markdown / JSON) with per-source attribution + provenance

  • 🔓 No API key required — open data from zefix.admin.ch and amtsblattportal.ch

  • ☁️ Dual transport — stdio (Claude Desktop) + SSE (cloud)


Prerequisites

  • Python 3.11+

  • uv (recommended) or pip


Installation

# Clone the repository
git clone https://github.com/malkreide/register-mcp.git
cd register-mcp

# Install
pip install -e .
# or with uv:
uv pip install -e .

Or with uvx (no permanent installation):

uvx register-mcp

Quickstart

# stdio (for Claude Desktop)
python -m register_mcp.server

# SSE (cloud deployment) — MCP_API_KEY is REQUIRED
MCP_API_KEY=$(openssl rand -hex 32) MCP_TRANSPORT=sse PORT=8000 \
  python -m register_mcp.server

SSE / Cloud Deployment

When running with MCP_TRANSPORT=sse, the server enforces:

  • Bearer-token auth — set MCP_API_KEY to a secret string. Clients must send Authorization: Bearer <key> on every request. Missing or wrong → HTTP 401. The server refuses to start without MCP_API_KEY set.

  • Rate limiting — sliding window per bearer-token hash. Defaults: 60 req / 60 s. Tunable via MCP_RATE_LIMIT and MCP_RATE_WINDOW. Exceeding the limit returns HTTP 429 with Retry-After.

  • Structured JSON logging — every tool call emits one line to stderr with tool, status, latency_ms. Auth failures and rate-limit events are logged at WARNING level. Configure verbosity with LOG_LEVEL (default INFO).

  • Reference-data cache — Zefix legal-forms are cached for 24h (LEGAL_FORMS_TTL seconds) to avoid an extra upstream call per tool invocation.

  • Egress allow-list — outbound HTTP is restricted to www.zefix.admin.ch and amtsblattportal.ch via an httpx request hook that also fires on redirects. A Location header pointing elsewhere raises EgressDenied and is never followed. Override with MCP_ALLOWED_HOSTS=host1,host2 (comma-separated, lower-case).

    ⚠️ Upgrade note (0.2.x → 0.3.0): amtsblattportal.ch was added to the default allow-list when the gazette tools shipped. If your deployment pins MCP_ALLOWED_HOSTS, that value overrides the default entirely — add amtsblattportal.ch to it, or every gazette_* call will raise EgressDenied.

  • Optional OpenTelemetry tracing — install with pip install register-mcp[otel] and set OTEL_EXPORTER_OTLP_ENDPOINT (e.g. http://otel-collector:4318/v1/traces). Without the extra or without the env var the server stays silent — no hard dependency on the OTel SDK.

For multi-instance deployments, place a real gateway (Cloudflare, Railway internal networking, an API-Gateway with Redis-backed rate limiting) in front of the in-memory limiter, which is per-process by design.

Container deployment

A minimal multi-stage Dockerfile ships with the repo. The image runs as a non-root mcp user; dependencies are resolved from uv.lock (uv sync --frozen), so the build is reproducible.

docker build -t register-mcp:local .

docker run --rm -p 8000:8000 \
  -e MCP_TRANSPORT=sse \
  -e MCP_API_KEY="$(openssl rand -hex 32)" \
  register-mcp:local

For local iteration there is a compose.yaml with read_only, cap_drop: ALL and no-new-privileges:

MCP_API_KEY=$(openssl rand -hex 32) docker compose up --build

See SECURITY.md for hardening notes (egress restriction, key rotation, SIEM forwarding).

Try it immediately in Claude Desktop:

"Is Lehrmittelverlag Zürich AG active in the commercial register?" "Look up the company with UID CHE-108.954.978" "List all Swiss legal forms"


Configuration

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "register": {
      "command": "python",
      "args": ["-m", "register_mcp.server"]
    }
  }
}

Or with uvx:

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

Config file locations:

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

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

Cloud Deployment (SSE for browser access)

For use via claude.ai in the browser (e.g. on managed workstations without local software):

Render.com (recommended):

  1. Push/fork the repository to GitHub

  2. On render.com: New Web Service → connect GitHub repo

  3. Set start command: python -m register_mcp.server --http --port 8000

  4. In claude.ai under Settings → MCP Servers, add: https://your-app.onrender.com/sse

💡 "stdio for the developer laptop, SSE for the browser."


Available Tools

Zefix — commercial register (6):

Tool

Description

zefix_search_companies

Search companies by name, canton, legal form

zefix_get_company

Full company profile by internal EHRAID

zefix_get_company_by_uid

Company lookup by UID (CHE-xxx.xxx.xxx)

zefix_verify_company

Quick active/dissolved status check

zefix_list_legal_forms

All Swiss legal forms with IDs

zefix_list_municipalities

Swiss municipalities with BFS IDs

Amtsblattportal — the company-scoped gazette join (3):

Tool

Description

gazette_company_publications

The UID join. All gazette publications for a company UID, newest first, optional (validated) rubric/time filters

gazette_get_publication

Single publication incl. XML full text, defensively parsed (by publication id)

gazette_source_status

Reachability of both sources + cache ages (rubrics, legal forms)

The prefix is gazette_, not shab_, because the source covers SHAB and the cantonal gazettes. Every entry point is UID- or id-scoped — see Data Protection & Scope. Broad, non-company gazette search (procurement, cantonal full-text) is scoped to the separate amtsblatt-mcp.

Example Use Cases

Query

Tool

"Is Lehrmittelverlag Zürich AG active?"

zefix_verify_company

"Look up CHE-108.954.978"

zefix_get_company_by_uid

"Find companies named Migros in canton ZH"

zefix_search_companies

"What has been published about CHE-116.115.052?"

gazette_company_publications

"Show the full official text of that HR deletion notice"

gazette_get_publication

"Are both data sources reachable right now?"

gazette_source_status


Architecture

                                                          ┌──────────────────────────────┐
                                                    ┌────▶│  Zefix (Handelsregister)     │
                                                    │     │  www.zefix.admin.ch          │
┌─────────────────┐     ┌──────────────────────────┴─┐   │  ZefixREST/api/v1            │
│   Claude / AI   │────▶│       register-mcp           │   └──────────────────────────────┘
│   (MCP Host)    │◀────│       (MCP Server)           │   ┌──────────────────────────────┐
└─────────────────┘     │  9 Tools (zefix_ + gazette_) ├──▶│  Amtsblattportal             │
                        │  Stdio | SSE                 │   │  amtsblattportal.ch/api/v1   │
                        │  Egress allow-list           │   │  SHAB + cantonal gazettes    │
                        │  No authentication required  │   └──────────────────────────────┘
                        └──────────────────────────────┘
                              join key: UID (CHE-XXX.XXX.XXX)

Data Source Characteristics

Source

Protocol

Coverage

Auth

Zefix

REST/JSON

Swiss companies, legal forms, registered offices

None

Amtsblattportal

REST/JSON (list) + XML (full text)

SHAB + cantonal gazettes, 2.79M publications

None

ZefixPublicREST (planned)

REST/JSON

Signatories, capital, full history

Basic Auth (free)

UID Register (planned)

SOAP

MwSt, NOGA codes, cross-validation

Public (20 req/min)

The UID join — Zefix ↔ Amtsblatt

The two sources share exactly one key: the UID (CHE-XXX.XXX.XXX). That is what turns them from two data sets into one workflow.

zefix_get_company_by_uid(uid)        # Zefix: does the company exist? status, purpose, legal form
        │  UID
        ▼
gazette_company_publications(uid)    # Gazette: everything published about it (HR, KK, SB, LS, …)
        │  publication id
        ▼
gazette_get_publication(id)          # Full official text from the per-rubric XML

Two properties of the source shape this path (both verified in docs/probe-shab.md):

  • The bulk list carries no company UID (meta.uid is null). The company UID lives only in the single-publication fetchmeta.uid in the single JSON, or <uid> in the XML (which also carries the full text). So the join runs list → per-hit single fetch → match against the Zefix UID.

  • gazette_company_publications filters the corpus by uids=<UID> directly, so in practice you get the company's publications in one call without walking every record.

Procurement lives in the separate amtsblatt-mcp

Public procurement (Submissionen) is not a federal SHAB rubric and is not covered by this server. It exists only as a cantonal OB-<canton> rubric, only a few cantons publish it in this portal, and most — including Zürich — route tenders through simap.ch, a separate platform. Procurement, cantonal notices, and broad full-text search are scoped to the proposed amtsblatt-mcp server, which applies a fail-closed green-rubric allow-list. See that proposal for the full OB-* coverage map and the rubric traffic-light table.

SB ≠ Submissionen. SB is Schuldbetreibungen (debt collection), a person-data-heavy rubric this server never exposes as a search entry.


Data Protection & Scope

This section is not a footnote — it is the reason the server is shaped the way it is.

The Amtsblattportal systematically publishes rubrics containing personal data of natural persons: bankruptcies (KK), debt-collection (SB), calls to creditors (LS/SR), inheritance/estate calls (ES, TE-*), and building applications with owner names. Those publications are public — but making them systematically queryable by name through an AI agent is a repurposing the publication never intended, and under the revised Swiss Federal Act on Data Protection (revDSG) a "show me every debt-collection entry for person X" tool is a profiling instrument. Deliberate design choices follow:

  • No person-based search entry. No tool takes a natural person's name, birth date or address. The only gazette entry points are keyed on a company UID (gazette_company_publications) or an opaque publication id (gazette_get_publication). A firm's own bankruptcy is returned via its UID — that is corporate data about a legal person, not name-based profiling.

  • No free-text gazette search here. keyword and cantons are not even on the internal query-parameter allow-list, so no future code change can smuggle a corpus-wide keyword search in. Broad search lives in amtsblatt-mcp behind a fail-closed green allow-list (procurement, HR, official notices only).

  • No persistence of publication content. The server is a pass-through; only the rubric taxonomy and Zefix legal-forms list are cached in memory (24 h). Official publications carry statutory deletion periods — a store that outlived them would actively undermine those periods.

  • Fail closed. Rubric codes are validated against the live taxonomy before any call; an unknown code is refused, not silently widened.

The broad-platform counterpart, its green/yellow/red rubric classification and its fail-closed design are specified in docs/amtsblatt-mcp-proposal.md.


Architecture decision

ARCH A — live-API-only, consistent with the existing Zefix integration (decided 2026-07-18).

The Amtsblattportal is queried live on every call. All endpoints respond in 0.2–2.0 s, and the use case — targeted company and topic research — does not need a local bulk copy. A bulk dump would mean mirroring 2.79M records, with an ongoing sync burden and staleness risk, for no benefit to the join-on-UID workflow. The taxonomy (/rubrics) and the Zefix legal-forms list are the only data cached, each for 24h in memory, because they change at most a few times a year and every filtered call needs them.


Phased Implementation

Phase

API

Auth

Status

Phase 1

ZefixREST/api/v1

None

Current

Phase 2

ZefixPublicREST/api/v1

Basic Auth (free, email zefix@bj.admin.ch)

Planned

Phase 3

UID-Register SOAP

Public (20 req/min)

Planned

Phase 2 will add: signatory details, share capital, full historical entries. Phase 3 will add: MwSt status, NOGA industry codes, cross-register validation.


Project Structure

register-mcp/
├── src/register_mcp/
│   ├── __init__.py              # Package
│   └── server.py                # 9 tools (Zefix + company-scoped gazette join)
├── tests/
│   ├── test_server.py           # Zefix unit + integration tests (mocked HTTP)
│   ├── test_gazette.py          # Gazette tools + the three quirks (mocked HTTP)
│   └── test_egress.py           # Egress allow-list
├── docs/
│   ├── probe-shab.md            # Phase-1 live probe of amtsblattportal.ch
│   ├── amtsblatt-mcp-proposal.md# Spec for the separate broad-platform server
│   └── demo/                    # vhs demo script + standalone CLI demo
├── .github/workflows/ci.yml     # GitHub Actions (Python 3.11/3.12/3.13)
├── pyproject.toml
├── CHANGELOG.md
├── CONTRIBUTING.md
├── LICENSE
├── README.md                    # This file (English)
└── README.de.md                 # German version

Known Limitations

  • Search by canton without a name filter may return API errors (Zefix API limitation)

  • Phase 1 Zefix API may be rate-limited under heavy load; retry after a short delay

  • ZefixPublicREST (new API) requires registration: email zefix@bj.admin.ch

Amtsblattportal — verified behaviour (live-checked 2026-07-18)

Call

HTTP

Status

Records

Note

/publications?publicationStates=PUBLISHED

200

OK

2,790,323

baseline (full corpus) — never queried unfiltered

?uids=CHE-116.115.052

200

OK

4

the join — core (and only) gazette entry

?uids=…&rubrics=HR

200

OK

optional, validated rubric narrowing on the join

/publications/{id}/xml

200

OK

full text, rubric-specific schema

/rubrics

200

OK

taxonomy (for code validation)

?rubrics=ZZZZ (invalid)

200

Silent Empty

0, total: null

Quirk 2

?uid=… (wrong param name)

200

Silent Ignore

2,790,323

Quirk 1

Free-text (keyword) and broad cantons search are not performed by this server — those probe results live in docs/probe-shab.md and inform the separate amtsblatt-mcp.

Zefix — verified behaviour (live-checked 2026-08-15)

Found by the weekly live suite, not by the unit tests — which stayed green throughout.

Call to firm/search.json

HTTP

Result

{"name": "Migros", …}

200

35 hits

a name with no hits

404

NORESULT envelope — not an empty 200

{"uid": "109741634", …}

400

Bad Request — there is no uid field

{"name": "CHE-999.999.999", "searchType": "CONTAINS"}

200

«CHEMAM - 999», UID CHE-113.593.998

a dissolved firm without activeOnly: false

404

NORESULT — as if it never existed

Three shapes, one shipped bug each:

  • No hits answer with HTTP 404, carrying the NORESULT envelope. Every call therefore goes through _zefix_post_search; a raw raise_for_status() makes the friendly branch unreachable. That is how zefix_verify_company shipped answering "Eintrag nicht gefunden. Bitte EHRAID oder UID prüfen" to a name search, where neither an EHRAID nor a UID was in play. A fixture that puts the NORESULT body into a 200 makes exactly that dead branch look green.

  • A hit list is not an answer. UID lookup searches the name field with searchType: CONTAINS, so CHE-999.999.999 returns a real company under a UID that is not its own. Defence: exact digit match or nothing — no firms[0] fallback. The former fallback produced a complete, plausible, formatted record about somebody else, indistinguishable from a correct answer.

  • Without activeOnly: false, "dissolved" looks like "never existed". Zefix returns only active entries by default; zefix_verify_company sets the flag deliberately. A firm with no UID comes back as a string of blanks (uid: " ", uidFormatted: null), not as null.

Three quirks are defended in code (details in the CHANGELOG under Known findings):

  • Quirk 1 — Silent Ignore (critical). Unknown query parameters are dropped silently and return the full 2.79M corpus with HTTP 200. Defence: query strings are built exclusively from an ALLOWED_GAZETTE_PARAMS allow-list, and every filtered response is plausibility-checked — a total above 2,000,000 is rejected as "filter ignored by upstream — result not trustworthy".

  • Quirk 2 — Silent Empty. An invalid rubric code returns HTTP 200 with an empty result. Defence: the /rubrics taxonomy is cached 24h and every code is validated before any call, failing with the five closest valid codes.

  • Quirk 3 — Two-step fetch. The JSON list carries only meta; the content lives only in the per-rubric namespaced XML. Defence: namespace-agnostic defensive parsing (meta + publicationText mandatory, HR company when present, everything else in additional_fields).


Safety & Limits

Rate Limits

API

Limit

Notes

ZefixREST (Phase 1)

Not officially documented

Throttling possible under heavy load — retry after 1–2 s

ZefixPublicREST (Phase 2)

Not officially documented

Requires prior registration (free)

UID-Register SOAP (Phase 3)

20 req/min

Hard limit, publicly documented

Data Privacy

  • Read-only access — all tools carry readOnlyHint: True; the server performs no write, delete, or mutation operations against any API

  • No person-based search entry — no tool accepts a natural person's name, birth date or address; gazette access is UID- or publication-id-scoped only (see Data Protection & Scope). This is a deliberate revDSG-driven design choice, not an accident of the API

  • No persistence of publication content — the server is a stateless pass-through; only the rubric taxonomy and Zefix legal-forms list are cached in memory (24 h), never publication bodies, so statutory deletion periods are respected

  • Public register data only — the Zefix Handelsregister is a public federal register (HRegV); gazette data returned is likewise legally public, retrieved per company UID

  • No personal tracking — the server does not transmit user identity, query history, or session data to the upstream sources

Terms of Service & Data Sources

  • Zefix API ToS: Usage of the Zefix REST API is governed by the zefix.admin.ch terms of use. The data is published under the Open Government Data (OGD) Switzerland principles.

  • SHAB: Swiss Official Gazette of Commerce — published by the Federal Chancellery (BK). Public by law.

  • Institutional use: This server is designed for read-only queries in public administration workflows. Not suitable for mass harvesting or automated surveillance use cases.

Security

  • No credentials are stored or transmitted (Phase 1)

  • Phase 2 credentials (ZEFIX_USER, ZEFIX_PASSWORD) are passed via environment variables only — never hardcoded

  • All HTTP calls use HTTPS exclusively

  • Tool inputs are validated via Pydantic v2 before any API call is made


Demo

register-mcp demo

📽️ Terminal GIF coming soon — see docs/demo/ to generate it locally with vhs

Example interaction:

User:  "Is Lehrmittelverlag Zürich AG active in the commercial register?"

→ Tool: zefix_verify_company(name="Lehrmittelverlag Zürich AG")

Claude: ✅ Lehrmittelverlag Zürich AG is ACTIVE in the Handelsregister.
        UID: CHE-404.020.972 | Canton: ZH | Legal form: AG
        Last SHAB mutation: 2023-07-27

→ More use cases by audience →

To generate the demo GIF locally:

# Install vhs (macOS/Linux)
brew install vhs        # macOS
# or: go install github.com/charmbracelet/vhs@latest

# Generate
vhs docs/demo/demo.tape
# → outputs docs/demo/demo.gif

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-052025-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 API calls)
pytest tests/ -m "live"

# Re-record the fixtures from the live sources (writes tests/fixtures/PROVENANCE.md)
python scripts/record_fixtures.py

The unit-test payloads are recorded, not invented. Source, retrieval date, selection rule, redaction and SHA-256 per file are in tests/fixtures/PROVENANCE.md.

Two things are stated there rather than papered over. Personal data: the gazette carries debt-collection notices and Zefix carries the full SHAB text naming registered persons with their place of residence — the recorded payloads keep the shape and redact those values, with the complete list of redacted fields alongside. Zefix needs no credentials: until 2026-08-08 this repository recorded no Zefix fixtures because the recording script measured HTTP 401. The measurement was right about the wrong address — the script asked ZefixPublicREST, while the server speaks to ZefixREST, which answers with no authentication at all.

The live suite

ci.yml runs -m "not live": a foreign 503 must not redden a stranger's pull request, because a suite that does gets switched off, and a switched-off suite checks nothing. The exclusion has a safety net — .github/workflows/live-tests.yml runs weekly (cron: "31 5 * * 1") plus workflow_dispatch.

The verdict is read from the JUnit XML rather than the exit code, by scripts/classify_live_run.py, because a live run has three answers and not two:

State

Meaning

Issue

clear

the suite ran and was green

closes an open one

finding

the suite ran and something fell

opens or updates one

unknown

the suite did not run — failed install, timeout, renamed marker, everything skipped

left untouched

tests - skipped == 0 is unknown, not clear: pytest exits 0 when every test was skipped, and a job that books that as green closes an issue on a comparison that never happened.

One caveat when editing that workflow: the pull-request checks do not cover it — it has no push or pull_request trigger, so a green PR says nothing about it. Verify changes with a manual workflow_dispatch run on the branch before merging.


Changelog

See CHANGELOG.md


Contributing

See CONTRIBUTING.md


Security

See SECURITY.md (Deutsch) for the security posture and how to report a vulnerability.


License

MIT License — see LICENSE


Author

Hayal Oezkan · 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": {
    "register-mcp": {
      "command": "uvx",
      "args": [
        "register-mcp"
      ]
    }
  }
}

Available Tools

9 tools
gazette_company_publicationsA
Read-onlyIdempotent

Alle Amtsblatt-Publikationen (SHAB + kantonal) zu einer Firmen-UID.

Das Kernfeature: der Join zwischen Handelsregister und Amtsblatt über die UID. Zefix sagt, ob eine Firma existiert — das Amtsblatt sagt, was über sie publiziert wurde (HR-Mutationen, Schuldenrufe, Konkurse, Schuldbetreibungen …). Der Einstieg ist ausschliesslich die Firmen-UID (juristische Person); ein Personen-Sucheinstieg existiert bewusst nicht (siehe README «Data Protection & Scope»).

Args: params (GazettePublicationsInput): - uid (str): UID CHE-XXX.XXX.XXX (Pflicht, Regex-validiert) - rubric / sub_rubric (Optional[str]): Rubrik-/Subrubrik-Filter - date_start / date_end (Optional[str]): Zeitraum YYYY-MM-DD - limit (int): 1–100 (Standard 50) - response_format (str): 'markdown' oder 'json'

Returns: str: Publikationen (neueste zuerst) mit Datum, Rubrik, Titel, ID.

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 indicate read-only, idempotent, and non-destructive behavior. The description adds meaningful context beyond annotations: the exclusive entry via UID for legal entities, the intentional absence of person search, the return ordering (newest first), and the fields returned (date, rubric, title, ID). The 'README Data Protection & Scope' reference further clarifies scope limitations.

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 one-sentence summary, a contextual paragraph, and clearly labeled Args/Returns sections. It is moderately verbose but every section adds value. The README reference is a slight extra but is acceptable for scope clarification.

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 the main functional aspects: input requirements (only UID entry), optional filters, output format options, and return contents. An output schema exists, so detailed return types are not required, and the description provides a high-level summary of the returned data (date, rubric, title, ID). It does not elaborate on error handling or edge cases, but that is not critical for this 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 schema description coverage is 0% for the top-level 'params' object, the description's Args section lists each nested field with inline explanations (e.g., uid required and regex-validated, limit range, date format, response_format options). The schema itself also has detailed per-property descriptions, but the tool description enriches this with usage-oriented context, such as 'Join-Schlüssel' for uid and the purpose of filter fields.

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 statement: 'Alle Amtsblatt-Publikationen (SHAB + kantonal) zu einer Firmen-UID' (All official gazette publications for a company UID). It clearly distinguishes this tool from siblings by emphasizing the cross-reference between commercial register and gazette via UID, and explicitly notes that person-based search is not available.

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 core use case (join between Handelsregister and Amtsblatt via UID) and states an explicit exclusion: 'ein Personen-Sucheinstieg existiert bewusst nicht.' It implies that the tool is for when you have a company UID and need its publication history, but does not explicitly name alternative tools for other entry points. This is clear context without fully explicit when-to-use vs alternatives.

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

gazette_get_publicationA
Read-onlyIdempotent

Einzelne Publikation inkl. amtlichem Volltext (aus dem XML, defensiv geparst).

Quirk 3: Die Listen-API liefert nur meta — der eigentliche Inhalt steht nur im rubrikspezifischen XML unter /publications/{id}/xml. Pflichtfelder: meta, publicationText. Bei HR-Rubriken zusätzlich company. Alles Übrige landet best-effort in additional_fields.

Args: params (GazettePublicationInput): - id (str): Publikations-ID - response_format (str): 'markdown' oder 'json'

Returns: str: Volltext + Firmenangaben (falls HR) + Zusatzfelder.

ParametersJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.3/5.0
Behavior5/5

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

The description enriches the annotations by revealing defensive parsing, best-effort handling of additional fields, and required response fields (meta, publicationText, plus company for HR rubrics). This goes beyond the readOnly/idempotent hints and sets expectations for output variability and edge cases.

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 compact and structured with an Args/Returns layout. It includes a valuable 'Quirk' note about the list API, which is high-signal. Slight verbosity in the German phrasing but every sentence contributes useful 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?

This is a simple read-only tool with one required parameter. The description explains the quirky data source, required fields, HR-specific behavior, and return format. Combined with annotations and existing schema descriptions, it provides adequate context for an agent to invoke it correctly. No major gaps are apparent.

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 description lists the two parameters (id and response_format) with brief explanations, but the input schema already describes id with an example and response_format with an enum and default. The description adds no new semantics beyond what the schema provides, so a baseline score 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?

The description clearly states the tool's function: retrieving a single publication including its official full text from XML, defensively parsed. It distinguishes itself from sibling list tools like gazette_company_publications by explicitly noting that the list API only provides meta, while this tool fetches the actual content.

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 guidance on when to use this tool: when you need the full text content that the list API omits. It explains the quirk that the actual content is only available via this tool's XML endpoint, giving an implicit use case and alternative. It could be more explicit about when not to use it, but the context is strong.

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

gazette_source_statusA
Read-onlyIdempotent

Status beider Datenquellen (Zefix + Amtsblattportal) und Cache-Alter.

Prüft die Erreichbarkeit beider Upstreams und meldet das Alter der In-Memory-Caches (Rubriken, Rechtsformen).

Args: params (GazetteStatusInput): - response_format (str): 'markdown' oder 'json'

Returns: str: Erreichbarkeit, Latenz und Cache-Alter je Quelle.

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 the tool as read-only, idempotent, and non-destructive. The description adds context by specifying which sources are checked and what the output covers (reachability, latency, cache age). It does not mention error conditions or auth, but for a status tool these are less critical. No contradiction 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.

Conciseness5/5

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

The description is concise and well-structured with clear sections for status, arguments, and return value. Every sentence adds value, and the format is easy to parse quickly. It is not overly verbose.

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 status tool with strong annotations and an output schema, the description is complete. It covers what the tool does, the parameters, and the return value at a sufficient level. The output schema handles detailed return structure, so the description does not need to elaborate further.

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?

Schema description coverage is low (0%), so the description must compensate. It explicitly names the 'response_format' parameter and lists the allowed values ('markdown' or 'json'), adding clarity beyond the schema's enum. This makes the parameter semantics clear and usable.

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's purpose: checking the status (reachability, latency) and cache age for two specific data sources (Zefix and Amtsblattportal). It uses a specific verb ('Prüft') and resource, and it clearly distinguishes itself from sibling tools that search or retrieve company/publication data.

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 implies a clear use case: when you need to check upstream reachability or cache age. It does not explicitly mention alternatives or when not to use it, but the context of the sibling tools makes this distinction obvious. A 4 is appropriate because the usage context is clear though not fully explicit.

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

zefix_get_companyA
Read-onlyIdempotent

Ruft vollständige Firmendetails aus dem Handelsregister ab (nach interner EHRAID).

Liefert: Name, UID, Rechtsform, Sitz, Status, Zweck (Gesellschaftszweck), SHAB-Publikationshistorie (letzte 5 Einträge) und Link zum kantonalen Auszug.

Die EHRAID wird aus zefix_search_companies oder zefix_get_company_by_uid zurückgegeben.

Args: params (CompanyByEhraIdInput): - ehraid (int): Interne Zefix-Firmen-ID - response_format (str): 'markdown' oder 'json'

Returns: str: Vollständiges Firmenprofil inkl. Zweck und SHAB-Publikationen.

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 declare readOnlyHint=true, destructiveHint=false, idempotentHint=true, which the description supports by stating it retrieves data. The description adds detail about the returned data, which is consistent. 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 and front-loaded with the main purpose. However, the format mixes paragraphs and bullet points in a single block, which could be better structured for readability.

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 the tool's purpose, parameters, return content, and relationship to sibling tools. It lacks error handling or invalid input behavior, but for a simple read-only retrieval tool, it is fairly complete.

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?

Despite the context indicating 0% schema description coverage, the tool description explicitly explains both parameters (ehraid and response_format) in the Args section, adding meaning beyond the schema. The description compensates well for the low coverage.

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 full company details from the commercial register using the internal EHRAID. It lists the returned fields (name, UID, legal form, etc.) and distinguishes from sibling tools by specifying that the EHRAID comes from zefix_search_companies or zefix_get_company_by_uid.

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 when to use this tool (when you have an EHRAID) and explains that the EHRAID can be obtained from other tools. It does not explicitly state when not to use it, but the context implies alternatives (e.g., zefix_get_company_by_uid).

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

zefix_get_company_by_uidA
Read-onlyIdempotent

Findet eine Firma im Handelsregister anhand ihrer UID (Unternehmensidentifikationsnummer).

Die UID ist die eindeutige Schweizer Unternehmens-ID (CHE-xxx.xxx.xxx), identisch mit der MwSt-Nummer. Gibt vollständige Firmendetails zurück.

Args: params (CompanyByUidInput): - uid (str): UID im Format CHE-xxx.xxx.xxx oder CHExxxxxxxxxxx - response_format (str): 'markdown' oder 'json'

Returns: str: Vollständiges Firmenprofil (Name, Rechtsform, Status, Zweck, SHAB-Publikationen). Enthält EHRAID für Folgeabfragen mit zefix_get_company.

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 indicate readOnly, idempotent, and non-destructive behavior. The description adds value by stating that the tool returns full company details including EHRAID for follow-up queries, and mentions response format options. 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.

Conciseness5/5

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

The description is concise (two short paragraphs) with clear sections (Args, Returns). Every sentence is useful, and it is front-loaded with the main purpose. No wasted words.

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 simplicity (one required param, optional format, returns a string), the description covers the essential return content (name, legal form, status, SHAB publications, EHRAID). It could be more complete by mentioning error handling (e.g., if UID not found) but overall sufficient.

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?

Despite 'Schema description coverage' being 0% (meaning the description's Args section compensates), the description fully explains both parameters: uid format with examples and response_format enum values. This is critical for correct invocation and adds meaning beyond the schema.

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 that the tool finds a company by its UID and returns full details, including the UID format and its equivalence to the VAT number. It is specific about the resource (company by UID) but does not explicitly differentiate from sibling tools like zefix_get_company (which likely uses EHRAID) or zefix_search_companies.

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 explains the UID format and what the tool returns, implying it should be used when the user has the UID. However, it does not provide explicit when-not-to-use guidance or mention alternatives (e.g., using zefix_get_company for EHRAID-based queries).

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

zefix_list_municipalitiesA
Read-onlyIdempotent

Listet Schweizer Gemeinden auf und löst die legalSeatId einer Firma auf.

legalSeatId ist eine BFS-Nummer. Sie trifft die Spalte BFS-ID, nicht die interne ID der Gemeinde. Die beiden sind bei keiner der 2112 Gemeinden gleich, und beide Wertebereiche überlappen sich — wer über die falsche Spalte nachschlägt, bekommt keinen Fehler, sondern eine andere, echte Schweizer Gemeinde: legalSeatId=261 ist Zürich, über ID gelesen aber Aarwangen (BE); 2701 ist Basel, über ID gelesen Embd (VS).

Deshalb macht legal_seat_id die Auflösung selbst, statt sie dem Aufrufer und einer Tabelle mit zwei ähnlich aussehenden Zahlenspalten zu überlassen.

Args: params (MunicipalitiesInput): - legal_seat_id (Optional[int]): legalSeatId einer Firma → genau eine Gemeinde. - canton (Optional[str]): Kanton-Filter (z.B. 'ZH'). Ohne Filter: alle ~2'100 Gemeinden. - response_format (str): 'markdown' oder 'json'

Returns: str: Gemeindeliste mit Name, Kanton, BFS-ID und Handelsregisterkreis-ID.

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?

With readOnlyHint, idempotentHint, and destructiveHint all set, the annotations already cover the mutation and safety side. The description adds critical behavioral detail: `legalSeatId` matches the BFS-ID column, not the internal ID, values overlap so the wrong ID silently produces a real but wrong municipality, and the tool performs the resolution itself. It also states 'genau eine Gemeinde' for legal_seat_id and '~2.100 Gemeinden' without filters. The only real gap is the unspecified precedence when both `legal_seat_id` and `canton` are passed.

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: a one-line purpose, a necessary warning paragraph, then a compact Args/Returns section. The longer warning is fully justified because it prevents a silently incorrect lookup, and no sentences are wasted. The formatting with backticks and line breaks makes it easy to scan.

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?

With an output schema present, the description does not need to enumerate the return values in detail, but custom level covers name, canton, BFS-ID and Handelsregisterkreis-ID anyway. It handles the main semantic trap, and it outlines the behavior for the relevant input patterns. It is not complete on the boundary case of combining `legal_seat_id` and `canton`, and it could better point to the sibling tools that produce produce `legalSeatId` (zefix_get_company, zefix_search_companies).

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 already describes each nested parameter, so the description does not need to start from zero. It adds value with the concrete warning about BFS-ID vs ID, the 'genau eine Gemeinde' consequence, and the meaningful examples for `canton`. The only missing semantic layer is explanation of parameter compatibility or precedence when multiple arguments are provided at once.

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 opening sentence names a specific verb and resource: 'Listet Schweizer Gemeinden auf und löst die `legalSeatId` einer Firma auf.' It also immediately distinguishes the critical semantic mismatch between BFS-ID and internal ID, which makes the tool's purpose much clearer. This separates it naturally from sibling tools that focus on companies rather than on the lookup/resolution side.

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 concrete context about parameter usage: legal_seat_id resolves exactly one Gemeinde, canton filters the list, and no filter returns about 2,100 municipalities. But it does not explicitly say when to choose this tool over its siblings, nor 'when not to use it'. It also leaves ambiguous how `canton` and `legal_seat_id` should be combined if an agent passes both.

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

zefix_search_companiesA
Read-onlyIdempotent

Sucht Unternehmen im Schweizer Handelsregister (Zefix) nach Name, Kanton und Rechtsform.

Gibt eine Liste von Firmen zurück mit Name, UID, Status, Rechtsform, Sitz und SHAB-Datum. Ideal für Lieferantenprüfungen, Vertragspartner-Screenings und Beschaffungs-Due-Diligence.

Args: params (CompanySearchInput): Suchparameter: - name (Optional[str]): Firmenname (mind. 2 Zeichen) - canton (Optional[str]): Kanton (z.B. 'ZH') - legal_form_ids (Optional[list[int]]): Rechtsform-IDs - active_only (bool): Nur aktive Einträge (Standard: True) - search_type (str): CONTAINS, STARTS_WITH, EXACT, ENDS_WITH - max_results (int): 1–50 (Standard: 10) - offset (int): Paginierung (Standard: 0) - language (str): 'de', 'fr', 'it', 'en' - response_format (str): 'markdown' oder 'json'

Returns: str: Gefundene Firmen mit Name, UID, Status, Rechtsform, Sitz, SHAB-Datum, Auszug-URL. Enthält Paginierungsinfo (hasMoreResults, offset, total).

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 declare readOnlyHint, destructiveHint, idempotentHint, and openWorldHint. The description adds behavioral context about pagination info and response format, which goes beyond annotations. No contradictions found.

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 headline, summary, and clear Args/Returns sections. It front-loads the purpose. Slightly verbose but efficient with no wasted 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 description covers purpose, parameters, returns, and usage context. It mentions pagination and response format options. However, it omits error conditions or rate limits. Given the output schema and annotations, it is fairly 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?

The input schema provides detailed descriptions for each parameter. The description's Args section repeats and slightly augments this (e.g., referencing zefix_list_legal_forms for legal_form_ids). Since schema coverage is effectively high, the description adds marginal new 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 it searches for companies in the Swiss commercial register by name, canton, and legal form. It uses a specific verb-resource combination and distinguishes from sibling tools like zefix_get_company and zefix_verify_company.

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 suggests ideal use cases (supplier checks, contract screenings, procurement due diligence) but does not explicitly mention when not to use it or compare with alternatives. The context signals list siblings, but the description lacks that comparison.

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

zefix_verify_companyA
Read-onlyIdempotent

Schnell-Verifikation: Ist ein Unternehmen im Handelsregister eingetragen und aktiv?

Gibt eine klare Ja/Nein-Antwort plus Basisdetails zurück. Ideal als erster Check vor Vertragsabschlüssen, Beschaffungen oder Subventionsvergaben.

Stellt fest:

  • Ist die Firma im Handelsregister eingetragen?

  • Ist sie aktiv (EXISTIEREND) oder gelöscht?

  • Welche Rechtsform hat sie?

  • Wo ist sie domiziliert?

  • Gibt es mehrere ähnliche Firmen (Verwechslungsgefahr)?

Args: params (VerifyCompanyInput): - name (str): Firmenname (mind. 3 Zeichen) - canton (Optional[str]): Kantonskürzel zur Eingrenzung

Returns: str: Verifizierungsergebnis mit Status, Rechtsform, Sitz und Warnungen.

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=true, destructiveHint=false, idempotentHint=true, and openWorldHint=true. The description adds behavioral context by listing what the tool checks (registration, status, legal form, domicile, similar companies) and that it returns a yes/no answer plus basic details. This aligns with annotations and adds value beyond them.

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, starting with the core question, followed by a clear list of checks and parameter details. Every sentence serves a purpose, with no unnecessary fluff. The structure is front-loaded and easy to parse.

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 simplicity and the presence of annotations and a likely output schema (not shown), the description covers the essential aspects: purpose, usage scenario, checks performed, and parameter hints. It could mention the output format more explicitly, but the return value description suffices.

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 provides descriptions for both parameters in English, while the tool description echoes them in German. Although schema description coverage is reported as 0% (possibly a context issue), the description adds minimal new meaning beyond the schema. It provides German translations and constraints (min 3 chars for name) but does not significantly enhance understanding.

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's purpose: a quick verification of whether a company is registered and active in the commercial register, returning a yes/no answer and basic details. It distinguishes from sibling tools like 'zefix_search_companies' or 'zefix_get_company' by emphasizing its speed and focus on a binary check.

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 recommends using this tool as a first check before contracts, procurement, or subsidies, providing clear usage context. It does not explicitly state when not to use it or alternatives, but the context implies it is for quick checks rather than detailed lookups.

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. 1 tool updatev0.6.1
    • Changedzefix_list_municipalities1 field changed
      • addedInput schema / $defs / MunicipalitiesInput / properties / legal_seat_id
        Added value: +{
        +  "anyOf": [
        +    {
        +      "minimum": 1,
        +      "type": "integer"
        +    },
        +    {
        +      "type": "null"
        +    }
        +  ],
        +  "default": null,
        +  "description": "Die `legalSeatId` einer Firma (aus zefix_search_companies oder zefix_get_company). Löst genau eine Gemeinde auf. Bevorzugt gegenüber dem Nachschlagen in der Tabelle: `legalSeatId` ist eine BFS-Nummer und trifft die Spalte «BFS-ID», nicht die interne «ID».",
        +  "title": "Legal Seat Id"
        +}
  2. 3 tool updatesv0.5.0
    • Addedgazette_company_publications
    • Addedgazette_get_publication
    • Addedgazette_source_status
  3. 6 tool updatesv0.2.3
    • First observedzefix_get_company
    • First observedzefix_get_company_by_uid
    • First observedzefix_list_legal_forms
    • First observedzefix_list_municipalities
    • First observedzefix_search_companies
    • First observedzefix_verify_company

TDQS

A4.4/5.0

Scored across 9 tools

Disambiguation5/5

Each tool addresses a distinct task: company search, company detail by internal ID, company detail by UID, verification, legal form/municipality lookups, gazette publications, publication full text, and source status. The two get_company variants are clearly differentiated by their lookup key, and the descriptions explain exactly when to use each.

Naming Consistency4/5

The zefix_ tools consistently follow a verb_noun pattern, which is clear and predictable. The gazette_ tools are less uniform: gazette_get_publication uses a verb, while gazette_company_publications and gazette_source_status are noun-style names, but the shared namespace prefix keeps them recognizable.

Tool Count5/5

With 9 tools, the server is well-scoped for its purpose: covering Swiss register lookups and gazette publications without unnecessary redundancy. Each tool earns its place in the workflow, from company discovery through verification to publication detail retrieval.

Completeness5/5

The set covers the full read-only lifecycle of a Swiss company lookup: search, verify, get by ID or UID, resolve legal forms and municipalities, then retrieve gazette publications and individual full texts. The intentional lack of a person-search entry point is documented and does not represent a gap for the stated corporate-register scope.

Maintenance

ActivityActive
ResponsivenessNo issues

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
    The most comprehensive signal intelligence on Swiss businesses — 800K+ companies with people, FINMA/SRO regulatory data, building permits, procurement tenders, and AI-enriched profiles from the official commercial register.
    -
  • A
    license
    A
    quality
    C
    maintenance
    Search and retrieve detailed information about Swiss companies from the official Zefix register, including company profiles, corporate structures, and SHAB publications.
    6
    MIT
  • A
    license
    B
    quality
    B
    maintenance
    Enables AI assistants to search the Swiss Central Business Name Index (Zefix) for companies by name or UID, with optional filters, and retrieve full company details including address, legal form, history, and representatives.
    1
    25
    5
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    An MCP server for interacting with the Swiss Commercial Register via Zefix REST API and UID Webservice, enabling company search, validation, SOGC publications, and due diligence reports.
    9
    4
    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/register-mcp'

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