Skip to main content
Glama

Export companies to CSV (AT + DE)

export_companies_csv
Read-only

Beispiel: „Alle Steuerberatungskanzleien in Wien als CSV exportieren?“

Return a matched company set as CSV (lead lists). Read-only: no register, account or user data is changed. The result is too large for a chat answer, so it is handed over as temporary CSV files behind signed links (removed automatically after ~1 day).

    Parameters:
    - filters (optional): EXACTLY the same unified filters as search_companies.
    - sort (optional): same as search_companies (applies where the country supports
      the field).
    - max_rows (optional, default 1000, max 10000): per-country row ceiling.
    - country (optional, default "all"): "AT" | "DE" | "all".

    Returns {countries: {<code>: {download_url, rows, columns, ...}}, notices}. ONE
    CSV per country (semicolon-separated, UTF-8 BOM, Excel-ready): each register
    exports its own column set - DE files have no financial columns yet (blank would
    wrongly read as zero). Download links are signed and valid ~60 minutes. A filter a
    country does not support excludes that country with a notice, like
    search_companies. For browsing/ranking on screen use search_companies instead.

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": "export_companies_csv"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNo
countryNoall
filtersNo
max_rowsNo

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.7/5.0
Behavior5/5

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

Annotations already declare read-only and non-destructive, and the description reinforces rather than merely repeats that ('no register, account or user data is changed'). Beyond annotations it discloses that output is temporary files behind signed links auto-removed after ~1 day, links valid ~60 minutes, one CSV per country with differing column sets, and country exclusion with a notice.

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 parameter and return sections are tight and information-dense with no filler. The opening German example question arrives before the tool's actual purpose, which delays front-loading the verb+resource, and the whitespace/indentation artifacts make it slightly scruffier than it needs to be.

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?

Covers the full fan-out model (one CSV per country, differing column sets, notices, unsupported-filter exclusion) and the link lifetime, so an agent can act and set expectations. The remaining gap is operational: no mention of cost, quota, or what happens when max_rows is hit beyond the ceiling definition.

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 at the top level, so the description carries the load and does: filters and sort are explicitly aliased to search_companies semantics, max_rows gets a default (1000) and a cap (10000) framed as a per-country ceiling, and country gets its enum and default spelled out. It stops short of detailing sort field validation or near/postal-code anchor behavior that the schema $defs mention.

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 ('Return a matched company set as CSV (lead lists)') with a concrete scope (AT/DE coverage in the title). It names the sibling it is not ('For browsing/ranking on screen use search_companies instead'), so an agent can distinguish export from search without opening the schema.

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?

Explicit routing guidance: use this when the result set is too large for a chat answer, use search_companies for on-screen browsing/ranking. It also explains the fallback behavior when a filter is unsupported per country, which is a usage condition rather than mere behavior.

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.