Skip to main content
Glama

Search companies (AT + DE)

search_companies
Read-onlyIdempotent

Beispiel: „Welche aktiven GmbHs in Oberösterreich haben eine Bilanzsumme über 5 Mio. €?“

Find companies across the Austrian Firmenbuch and the German Handelsregister - START HERE for any company lookup. Read-only.

    Parameters:
    - filters (optional): every field optional, AND-combined. Shared core (both
      countries): name (substring), query (MEANING-based hybrid search over the
      registered purpose - both countries), status (active|operating|inactive|all,
      default all; operating = active AND not in liquidation - an Austrian definition,
      Germany runs it as active and says so in notices), legal_form, bundesland, city,
      postal_code (prefix; AT PLZ 4-digit, DE 5-digit),
      near {place | postal_code, radius_km} (radius search, matches from EVERY queried
      country within the radius - works across the border), nace_section (A-U; OENACE
      == WZ == NACE Rev. 2, so one industry code filters both countries), gegenstand
      (literal substring over the registered activity text), manager_name (person
      search), company_ids (prefixed watchlist, e.g. ["AT:123456a",
      "DE:D2601_HRB135076"], max 100), nace_division/group/class, founded_year_min/max,
      and the balance-sheet screens size_gkl (AT W/K/M/G or DE kleinst/klein/mittel/
      gross, translated per register), bilanzsumme_min/max, equity_ratio_min/max
      (fraction, 0.35 = 35 %), has_guv, growth_profile - in Germany these match only
      companies with a parsed Jahresabschluss (rollout per Bundesland, see
      get_coverage; a notice states the scope). AT-only today (see describe_fields
      capabilities): revenue/employees ranges, has_guv_latest, last_filing_year_min,
      event_signal/since/until; the P&L and asset bands ebit_min/max, ebitda_min/max,
      jahresueberschuss_min/max, ebit_margin_min/max (fraction), anlagevermoegen_min/max;
      the succession screen gf_age_min (primary manager), any_officer_age_min (oldest
      leading officer), family_successor (false = no younger same-name officer, the
      succession candidates; companies with no usable roster are kept and carry
      family_successor=null on the card), family_successor_gap_min (default 15 years);
      the exclusions exclude_oenace, exclude_legal_form, exclude_name_terms,
      exclude_geschaeftszweig_terms, exclude_cities, exclude_postal_codes (lists; a
      company without the field is kept); and bezirk (political districts, OR group).
      DE-only: registergericht, capital_min/max (Stammkapital). Country aliases
      (geschaeftszweig, oenace_*, wz_section, fnrs, stammkapital_*) are accepted. A
      filter NAME the facade does not declare is rejected with a message naming it -
      never dropped silently.
    - sort (optional): {field, descending}. AT fields: bilanzsumme (default), revenue,
      equity_ratio, employees, last_filing_year, revenue_growth_1y/3y/5y, distance.
      DE fields: name, register_nummer, capital, bilanzsumme, equity_ratio, revenue
      (financial sorts rank the companies with figures first). A country that cannot
      sort by the requested field returns its default order (reported in notices).
    - page (default 1), page_size (default 25).
    - after (optional): KEYSET paging for bulk extraction - single country only
      (cursors are per register). Pass "" to start, then the country's next_after
      from per_country.
    - exact_count (optional, default false): force exact totals (costs a full scan).
    - country (optional, default "all"): "AT" | "DE" | "all".

    Returns {countries, total: {AT, DE, combined}, results, per_country, notices}.
    ``results`` are compact cards, each with ``country`` and the prefixed
    ``company_id``; with country="all" the list is AT block then DE block - each
    country keeps its own ranking (no fake interleave). ``per_country`` carries each
    register's own envelope (exact totals or lower bounds, applied_filters,
    relaxations on zero hits, query_mode, next_after). A filter one country does not
    support excludes that country and says so in ``notices`` - it is never silently
    dropped; an unreachable backend appears in ``countries_unavailable`` instead of
    failing the call. Never report a German company's financials as zero - the German
    Jahresabschluss rollout is per Bundesland, so a company without figures has not
    been processed yet or files none (see get_coverage and
    financials.reporting_status in get_company_details).

    For one company's full profile use get_company_details; for a downloadable list
    use export_companies_csv; for dataset completeness use get_coverage.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
pageNo
sortNo
afterNo
countryNoall
filtersNo
page_sizeNo
exact_countNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed23 schema fields changed
    • addedInput schema / $defs / UnifiedSearchFilters / additionalProperties
      Added value: +false
    • changedInput schema / $defs / UnifiedSearchFilters / description
      Previous value: -"Every field optional, AND-combined. A filter a country does not support excludes\nthat country from a country=\"all\" fan-out (with an explicit notice); on an explicit\nsingle-country query it is rejected with the capability notice instead."New value: +"Every field optional, AND-combined. A filter a country does not support excludes\nthat country from a country=\"all\" fan-out (with an explicit notice); on an explicit\nsingle-country query it is rejected with the capability notice instead.\n\nA filter NAME this model does not declare is rejected (``extra=\"forbid\"`` plus the\nbefore-validator below, which names the offender and points to ``describe_fields``). Until\n2026-11-16 pydantic's default ``extra=\"ignore\"`` dropped it silently: a client that sent\n``family_successor: false`` through the facade got the unfiltered list and no notice, the\nexact \"shorter list under a label that claims the filter\" the data-consistency rule forbids."
    • addedInput schema / $defs / UnifiedSearchFilters / properties / anlagevermoegen_max
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Anlagevermoegen Max"
      +}
    • addedInput schema / $defs / UnifiedSearchFilters / properties / anlagevermoegen_min
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Anlagevermoegen Min"
      +}
    • addedInput schema / $defs / UnifiedSearchFilters / properties / any_officer_age_min
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Any Officer Age Min"
      +}
    • addedInput schema / $defs / UnifiedSearchFilters / properties / bezirk
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Bezirk"
      +}
    • addedInput schema / $defs / UnifiedSearchFilters / properties / ebit_margin_max
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Ebit Margin Max"
      +}
    • addedInput schema / $defs / UnifiedSearchFilters / properties / ebit_margin_min
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Ebit Margin Min"
      +}
    • addedInput schema / $defs / UnifiedSearchFilters / properties / ebit_max
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Ebit Max"
      +}
    • addedInput schema / $defs / UnifiedSearchFilters / properties / ebit_min
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Ebit Min"
      +}
    • addedInput schema / $defs / UnifiedSearchFilters / properties / ebitda_max
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Ebitda Max"
      +}
    • addedInput schema / $defs / UnifiedSearchFilters / properties / ebitda_min
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Ebitda Min"
      +}
    • addedInput schema / $defs / UnifiedSearchFilters / properties / exclude_cities
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Exclude Cities"
      +}
    • addedInput schema / $defs / UnifiedSearchFilters / properties / exclude_geschaeftszweig_terms
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Exclude Geschaeftszweig Terms"
      +}
    • addedInput schema / $defs / UnifiedSearchFilters / properties / exclude_legal_form
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Exclude Legal Form"
      +}
    • addedInput schema / $defs / UnifiedSearchFilters / properties / exclude_name_terms
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Exclude Name Terms"
      +}
    • addedInput schema / $defs / UnifiedSearchFilters / properties / exclude_oenace
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Exclude Oenace"
      +}
    • addedInput schema / $defs / UnifiedSearchFilters / properties / exclude_postal_codes
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Exclude Postal Codes"
      +}
    • addedInput schema / $defs / UnifiedSearchFilters / properties / family_successor
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Family Successor"
      +}
    • addedInput schema / $defs / UnifiedSearchFilters / properties / family_successor_gap_min
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Family Successor Gap Min"
      +}
    • addedInput schema / $defs / UnifiedSearchFilters / properties / jahresueberschuss_max
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Jahresueberschuss Max"
      +}
    • addedInput schema / $defs / UnifiedSearchFilters / properties / jahresueberschuss_min
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Jahresueberschuss Min"
      +}
    • changedInput schema / $defs / UnifiedSearchFilters / properties / status / enum
      Previous value: -[
      -  "active",
      -  "inactive",
      -  "all"
      -]New value: +[
      +  "active",
      +  "operating",
      +  "inactive",
      +  "all"
      +]
  2. Changed3 schema fields changed
    • addedInput schema / $defs / UnifiedSearchFilters / properties / nace_class
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Nace Class"
      +}
    • addedInput schema / $defs / UnifiedSearchFilters / properties / oenace_class
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Oenace Class"
      +}
    • addedInput schema / $defs / UnifiedSearchFilters / properties / wz_confidence_min
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Wz Confidence Min"
      +}
  3. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare read-only/idempotent/non-destructive, yet the description adds substantial behavior: exact_count triggers a full scan, keyset paging works for one country only, a filter a country lacks excludes that country with a notice rather than dropping silently, an unreachable backend surfaces in countries_unavailable instead of failing, and the German Jahresabschluss rollout is per Bundesland so missing figures must not be reported as zero. This is exactly the kind of operational caveat annotations cannot convey.

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 Parameters/Returns/alternatives structure is front-loaded and generally earns its space, but the filter paragraph is a dense run-on that packs AT-only, DE-only, and shared filters into one block, and it partly repeats the schema's own rejection notice. It is long for a good reason yet still costs scanning effort.

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 seven-parameter, cross-register search with many filter facets, the definition covers the return envelope (total, results, per_country, notices), the AT-block-then-DE-block ordering and per-country ranking, and the degradation paths. Nothing an agent needs to call it correctly or interpret the response is missing.

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?

With effectively no per-field schema descriptions, the description carries the entire burden and does so: status "operating" is defined, equity_ratio is a fraction, postal_code is a prefix with differing digit lengths, company_ids is capped at 100 with prefixed IDs, size_gkl is translated per register, family_successor_gap_min defaults to 15 years, and AT-only vs DE-only filters are partitioned. Only minor fields (e.g. wz_confidence_min, the event_signal semantics) go unexplained.

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?

"Find companies across the Austrian Firmenbuch and the German Handelsregister" states a specific verb and resource plus the exact data scope (two registers). "START HERE for any company lookup" positions it against all siblings, and the read-only scope is explicit.

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 routes the agent explicitly: this tool for lookups, get_company_details for one company's full profile, export_companies_csv for a downloadable list, get_coverage for dataset completeness. The country fan-out conditions (single-country keyset cursors, unsupported-filter behavior) are also stated as usage rules rather than left to inference.

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.