Skip to main content
Glama

Look up a Swiss company's UID by name, live from the federal register

find_company_by_name
Read-onlyIdempotent

Resolves a company name to its UID by searching live against Zefix — not this dataset. Call search_companies first; an empty page there means not in this dataset, not that the company doesn't exist, so use this only once that comes back empty. Matches the start of the name (Zefix's own search, "*" wildcard allowed), at least 3 characters; an optional canton narrows it. Returns candidate uid, name, canton, legal form and status only — no AI fields, since the company may not be ingested yet — and names are not unique, so more than one candidate can come back for you to disambiguate before calling load_company with the right UID. matches is an empty list for a real zero; unavailable is set instead when the live register could not be reached. A broad match (e.g. a short or generic name) is capped at100results, with matchesTruncated set — narrow the name or add canton rather than assume completeness.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>"
    },
    "name": "find_company_by_name"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesCompany name, at least 3 characters; Zefix's own prefix/exact match, "*" wildcard allowed
cantonNoTwo-letter canton code, e.g. "ZH", to narrow the search

Output Schema

NameRequiredDescriptionDefault
dataYes
sourceYes
disclaimerYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / $schema
      Added value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open-world), and the description goes well beyond them: live external dependency that can fail (unavailable), the 100-result cap with matchesTruncated, the empty-matches vs unavailable distinction, absence of AI fields, and non-unique names. Nothing contradicts the annotations; the description is genuinely rich on failure and truncation behavior.

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?

Front-loaded with the core distinction (live Zefix, not this dataset) and organized as a workflow; nearly every clause carries operational information. Minor blemishes: run-on sentences and a missing space in "100results" reduce readability slightly.

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 two-parameter lookup with an output schema, the description supplies everything needed to call it correctly and interpret edge cases: minimum length, wildcard, canton narrowing, truncation flag, and the empty-list versus unavailable distinction. No material gap remains.

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 coverage is 100% and the schema already documents prefix/exact matching, the "*" wildcard, the 3-character minimum and the two-letter canton code, so the description mostly restates that. It adds slight value by tying the canton parameter to narrowing when a result set is truncated, but does not supply format or syntax beyond the schema. Baseline 3 applies.

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?

States a specific verb and resource ("Resolves a company name to its UID") and immediately scopes it to the live Zefix register rather than the local dataset, which cleanly separates it from search_companies and load_company.

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?

Gives an explicit ordering rule — call search_companies first, use this only when that returns an empty page — and warns that an empty page there does not mean the company is nonexistent. It also names the follow-up step (load_company with the disambiguated UID) and a remedy for broad matches (narrow the name or add canton).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources