Skip to main content
Glama

Get full records for one or several Swiss companies by UID

get_companies
Read-onlyIdempotent

Full detail for one or several companies (1 to 25) by UID: verbatim purpose, all contact fields, full analysis block — the second half of a search, without a call per row. An absent vatRegistration means that enrichment has not run. analysisStatus is always present, and ANALYSED does not promise every field — a dissolution or an administrative change runs only part of the pipeline. Answered in the order asked, a repeated UID once. A company with no lastPublicationDate is held by its register entry alone, with no publications or analysis until load_company fetches them. UIDs the dataset lacks come back in notInDataset with a reason pointing at load_company (which fetches one at a time), and any left out because the response filled up come back in omittedForSize, so a short answer always says so. A malformed UID, or one whose check digit contradicts the rest, is rejected instead.

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": {
      "uids": "<uids>"
    },
    "name": "get_companies"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidsYesOne or several company UIDs, formatted or plain; at most 25 per call

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. Changed1 schema field changed
    • changedInput schema / properties / uids / description
      Previous value: -"Company UIDs, formatted or plain; at most 25 per call"New value: +"One or several company UIDs, formatted or plain; at most 25 per call"
  3. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent annotations: it explains result ordering, that a repeated UID returns once, that absent vatRegistration signals unrun enrichment, that ANALYSED does not guarantee every field because dissolution or administrative change runs only part of the pipeline, and that register-only companies lack publications until load_company is called. Failure modes are also disclosed: notInDataset with a reason, omittedForSize when the response caps out, and rejection of malformed or bad-check-digit UIDs.

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 purpose, then layered behavioral detail in short declarative clauses. It runs long across six sentences, but nearly every clause carries a distinct fact about ordering, enrichment state, or error routing, so little is wasted.

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?

Despite having an output schema, it still explains the important return-side behaviors an agent must plan around (notInDataset, omittedForSize, ordering, dedup), plus the prerequisite that load_company is needed for unenriched companies. For a one-parameter read tool this covers everything needed to call it and interpret the answer.

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 single uids parameter is fully documented there, so the baseline applies. The description adds dedup ('a repeated UID once'), ordering, and check-digit validation rules, but the 25-item cap and formatted/plain format are already in the schema rather than new.

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?

Opens with a specific verb and resource: 'Full detail for one or several companies (1 to 25) by UID', and frames itself relative to search by calling itself 'the second half of a search, without a call per row'. An agent can distinguish it from search_companies and load_company without opening a schema.

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?

Establishes the workflow context (use after a search, batch rather than per-row) and routes missing UIDs to load_company, noting it 'fetches one at a time'. It stops short of an explicit when-not-to-use statement for the search siblings, but the positioning is clear enough to select correctly.

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