Skip to main content
Glama

Find companies

find_companies
Read-only

Find up to 50 legal entities by county, Estonian Classification of Economic Activities (EMTAK), revenue, employees or observed Register of Economic Activities (MTR) activity. Can exclude companies with current tax debt (no_tax_debt). Licence presence is not proof of compliance. Sort by metric and direction; default revenue descending, missing values last. Growth is the percent change from the previous year's revenue to the selected filing year's revenue. Rows include revenue_prev and revenue_prev_year beside growth_pct. Null revenue_prev with a year means that prior filing had no revenue; both null means no filing. Missing or zero previous revenue has no growth_pct. A growth ranking omits a previous revenue below 10000 EUR, or a change above 50× either way, and lists those companies in excluded_growth_implausible. Truncated results include total or total_at_least. year is the requested year, latest, or the snapshot's latest complete year when omitted. At most 40 candidate pages or 80 tax-debt checks; no continuation cursor. Use search_companies for a name, or get_company for a listed code. Do not look up natural persons or personal contact details.

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

Input Schema

NameRequiredDescriptionDefault
dirNodesc
sortNorevenue
yearNoFinancial year, or latest: each active company’s latest non-null revenue filing since the latest complete year. Omitted uses that latest complete year, which is returned in year.
emtakNoEstonian Classification of Economic Activities (EMTAK) code or prefix
limitNoAt most 50 companies
countyNoCounty name or alias. Valid: Ida-Viru maakond, Lääne-Viru maakond, Harju maakond, Hiiu maakond, Jõgeva maakond, Järva maakond, Lääne maakond, Põlva maakond, Pärnu maakond, Rapla maakond, Saare maakond, Tartu maakond, Valga maakond, Viljandi maakond, Võru maakond, Maakond puudu.
max_revenueNoMaximum annual revenue, EUR
min_revenueNoMinimum annual revenue, EUR
no_tax_debtNoKeep only companies with no current tax debt
max_employeesNoMaximum average employees
min_employeesNoMinimum average employees
licence_activityNoExact Register of Economic Activities (MTR) activity string from sector_stats. Observed source presence, not verified licence validity; submitted and suspended records included.

Output Schema

NameRequiredDescriptionDefault
noteNoIncomplete-result warning when a result, scan or lookup limit is reached.
yearNo
as_ofYes
totalNoExact number of matches when a truncated find_companies scan finished every candidate page.
sourcesYes
companiesNo
row_countNo
truncatedNo
disclaimerYes
snapshot_idYes
disclaimer_enNoEnglish disclaimer: extract of official public open data; not an official register extract, legal advice, or a credit decision.
label_en_noteNoInterpretation of English label coverage and fallback.
source_detailsYesFull attribution and acquisition evidence: source_metadata(source_key).
total_at_leastNoLower bound on matches when a truncated find_companies scan stopped early.
omitted_sectionsNoSections removed to fit the response budget, including default sections. Request one named section to retrieve it. Present only when truncated.
excluded_unit_uncertainNoCompanies left out of this revenue ranking because revenue is null and monetary_null_reason is unit_uncertain. count is the filtered total; companies lists at most 20 with registry_code and name, and has no rank. count 0 means none were excluded. Null is accepted and means the exclusion was not computed. find_companies reads the first company page only and keeps that page's object.
excluded_growth_implausibleNoCompanies left out of a growth ranking because previous-year revenue is below 10000 EUR or the year-on-year factor exceeds 50 either way. count is the filtered total; companies lists at most 20 with registry_code and name, and has no rank. count 0 means none were excluded, including when sort is not growth. Null means the exclusion was not computed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / properties / companies / items / properties / emtak_label_en
      Added value: +{
      +  "description": "English sector label from the EMTAK code list; null when untranslated (see label_en_method).",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / companies / items / properties / emtak_label_en_method
      Added value: +{
      +  "description": "How emtak_label_en was derived (exact EMTAK translation or nace_parent_fallback).",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / companies / items / properties / status_label_en
      Added value: +{
      +  "description": "English meaning of the Äriregister status code (R Registered, L In liquidation, K Deleted, N Bankrupt).",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / disclaimer_en
      Added value: +{
      +  "description": "English disclaimer: extract of official public open data; not an official register extract, legal advice, or a credit decision.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  2. Changed8 schema fields changed
    • changedInput schema / properties / year / description
      Previous value: -"Financial year, or latest: each active company’s latest non-null revenue filing since the latest complete year"New value: +"Financial year, or latest: each active company’s latest non-null revenue filing since the latest complete year. Omitted uses that latest complete year, which is returned in year."
    • changedOutput schema / properties / companies / items / properties / growth_pct / description
      Previous value: -"Growth pct. queries._company_rows, fill_sector_english_labels and MCP tools: company selection and context metadata. Null when the source value or applicable observation is unavailable."New value: +"Growth pct. Percent change from revenue_prev to revenue. Null when the previous revenue is missing or zero."
    • addedOutput schema / properties / companies / items / properties / revenue_prev
      Added value: +{
      +  "description": "Revenue in revenue_prev_year, the filing immediately before revenue_year. Null with revenue_prev_year set means that filing had no revenue. Both null means there is no prior filing.",
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / companies / items / properties / revenue_prev_year
      Added value: +{
      +  "description": "Year of the filing immediately before revenue_year. Set when that filing exists, including when its revenue is null. Null only when the prior filing is missing.",
      +  "type": [
      +    "integer",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / excluded_growth_implausible
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "Companies left out of a growth ranking because previous-year revenue is below 10000 EUR or the year-on-year factor exceeds 50 either way. count is the filtered total; companies lists at most 20 with registry_code and name, and has no rank. count 0 means none were excluded, including when sort is not growth. Null means the exclusion was not computed.",
      +  "properties": {
      +    "companies": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "name": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "registry_code": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": [
      +          "object",
      +          "null"
      +        ]
      +      },
      +      "type": [
      +        "array",
      +        "null"
      +      ]
      +    },
      +    "count": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / source_details / description
      Previous value: -"Full attribution and acquisition evidence: source_metadata(key)."New value: +"Full attribution and acquisition evidence: source_metadata(source_key)."
    • addedOutput schema / properties / total
      Added value: +{
      +  "description": "Exact number of matches when a truncated find_companies scan finished every candidate page.",
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / total_at_least
      Added value: +{
      +  "description": "Lower bound on matches when a truncated find_companies scan stopped early.",
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
  3. Changed1 schema field changed
    • changedOutput schema / properties / excluded_unit_uncertain / description
      Previous value: -"Companies left out of this revenue ranking because revenue is null and monetary_null_reason is unit_uncertain. count is the filtered total; companies lists at most 20 with registry_code and name, and has no rank. count 0 means none were excluded."New value: +"Companies left out of this revenue ranking because revenue is null and monetary_null_reason is unit_uncertain. count is the filtered total; companies lists at most 20 with registry_code and name, and has no rank. count 0 means none were excluded. Null is accepted and means the exclusion was not computed. find_companies reads the first company page only and keeps that page's object."
  4. Changed8 schema fields changed
    • addedOutput schema / properties / companies / items / properties / growth_pct
      Added value: +{
      +  "description": "Growth pct. queries._company_rows, fill_sector_english_labels and MCP tools: company selection and context metadata. Null when the source value or applicable observation is unavailable.",
      +  "type": [
      +    "null",
      +    "number"
      +  ]
      +}
    • addedOutput schema / properties / companies / items / properties / label_en
      Added value: +{
      +  "description": "Label en. queries._company_rows, fill_sector_english_labels and MCP tools: company selection and context metadata. Null when the source value or applicable observation is unavailable.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / companies / items / properties / label_en_method
      Added value: +{
      +  "description": "Label en method. queries._company_rows, fill_sector_english_labels and MCP tools: company selection and context metadata. Null when the source value or applicable observation is unavailable.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / companies / items / properties / monetary_null_reason
      Added value: +{
      +  "description": "Monetary null reason. queries._company_rows, fill_sector_english_labels and MCP tools: company selection and context metadata. Null when no missing-value, suppression or unavailability reason applies.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / companies / items / properties / report_basis
      Added value: +{
      +  "description": "Report basis. queries._company_rows, fill_sector_english_labels and MCP tools: company selection and context metadata. Null when the source value or applicable observation is unavailable.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / label_en_note
      Added value: +{
      +  "description": "Interpretation of English label coverage and fallback.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / note
      Added value: +{
      +  "description": "Incomplete-result warning when a result, scan or lookup limit is reached.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / sources / items / properties / as_of_basis
      Added value: +{
      +  "description": "As of basis. privacy._sources: compact source attribution; absent clocks are omitted.",
      +  "type": "string"
      +}
  5. Changed5 schema fields changed
    • addedOutput schema / properties / omitted_sections
      Added value: +{
      +  "description": "Sections removed to fit the response budget, including default sections. Request one named section to retrieve it. Present only when truncated.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / source_details
      Added value: +{
      +  "description": "Full attribution and acquisition evidence: source_metadata(key).",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / sources / items / properties / as_of
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / sources / items / properties / key
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "snapshot_id",
      -  "as_of",
      -  "sources",
      -  "disclaimer"
      -]New value: +[
      +  "snapshot_id",
      +  "as_of",
      +  "sources",
      +  "source_details",
      +  "disclaimer"
      +]
  6. Changed1 schema field changed
    • addedOutput schema / properties / excluded_unit_uncertain
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "Companies left out of this revenue ranking because revenue is null and monetary_null_reason is unit_uncertain. count is the filtered total; companies lists at most 20 with registry_code and name, and has no rank. count 0 means none were excluded.",
      +  "properties": {
      +    "companies": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "name": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "registry_code": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": [
      +          "object",
      +          "null"
      +        ]
      +      },
      +      "type": [
      +        "array",
      +        "null"
      +      ]
      +    },
      +    "count": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
  7. Changed2 schema fields changed
    • changedInput schema / properties / emtak / description
      Previous value: -"EMTAK code or prefix"New value: +"Estonian Classification of Economic Activities (EMTAK) code or prefix"
    • changedInput schema / properties / licence_activity / description
      Previous value: -"Exact MTR activity string from sector_stats. Observed source presence, not verified licence validity; submitted and suspended records included."New value: +"Exact Register of Economic Activities (MTR) activity string from sector_stats. Observed source presence, not verified licence validity; submitted and suspended records included."
  8. Changed3 schema fields changed
    • addedOutput schema / properties / sources / items / properties / licence_checked_at
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / sources / items / properties / licence_evidence_url
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / sources / items / properties / rights_status
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  9. Changed1 schema field changed
    • addedInput schema / properties / licence_activity
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 500,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Exact MTR activity string from sector_stats. Observed source presence, not verified licence validity; submitted and suspended records included.",
      +  "title": "Licence Activity"
      +}
  10. Changed4 schema fields changed
    • changedInput schema / properties / year / anyOf
      Previous value: -[
      -  {
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "type": "integer"
      +  },
      +  {
      +    "const": "latest",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / year / description
      Previous value: -"Financial year"New value: +"Financial year, or latest: each active company’s latest non-null revenue filing since the latest complete year"
    • addedOutput schema / properties / year / anyOf
      Added value: +[
      +  {
      +    "type": [
      +      "number",
      +      "null"
      +    ]
      +  },
      +  {
      +    "const": "latest"
      +  }
      +]
    • removedOutput schema / properties / year / type
      Removed value: -[
      -  "number",
      -  "null"
      -]
  11. Changed2 schema fields changed
    • addedInput schema / properties / dir
      Added value: +{
      +  "default": "desc",
      +  "enum": [
      +    "asc",
      +    "desc"
      +  ],
      +  "title": "Dir",
      +  "type": "string"
      +}
    • addedInput schema / properties / sort
      Added value: +{
      +  "default": "revenue",
      +  "enum": [
      +    "revenue",
      +    "profit",
      +    "employees",
      +    "growth"
      +  ],
      +  "title": "Sort",
      +  "type": "string"
      +}
  12. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "as_of": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "companies": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "county": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "employees": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "emtak_code": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "emtak_label": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "municipality": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "name": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "net_profit": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "registry_code": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "revenue": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "revenue_year": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "status": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": [
      +          "object",
      +          "null"
      +        ]
      +      },
      +      "type": [
      +        "array",
      +        "null"
      +      ]
      +    },
      +    "disclaimer": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "row_count": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "snapshot_id": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "sources": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "attribution": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "licence": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "licence_url": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "name": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "url": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": [
      +          "object",
      +          "null"
      +        ]
      +      },
      +      "type": [
      +        "array",
      +        "null"
      +      ]
      +    },
      +    "truncated": {
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "year": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "snapshot_id",
      +    "as_of",
      +    "sources",
      +    "disclaimer"
      +  ],
      +  "title": "find_companiesOutput",
      +  "type": "object"
      +}
  13. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Well beyond the read-only/open-world annotations: it discloses default ordering and null placement, growth computation semantics, null revenue_prev interpretations, the implausibility pruning thresholds (below 10000 EUR, above 50x) with the excluded_growth_implausible overflow, truncation markers (total vs total_at_least), year resolution rules, and hard budgets of 40 candidate pages / 80 tax-debt checks. The only minor gap is it doesn't state whether results are cached or how fresh the underlying filings are.

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 purpose and alternatives, and nearly every sentence carries substantive specification rather than filler. It is dense prose without bullets or grouping, though, which makes the year/growth/truncation rules harder to scan than they need to be.

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 12-parameter, zero-required search tool with an output schema, this covers everything an agent needs: defaults, null semantics, pruning side effects, truncation reporting, computational limits, and disqualifying use cases. Return-value detail is correctly delegated to the output schema while the non-obvious fields (growth_pct, excluded_growth_implausible) are still flagged.

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 coverage is already 83%, so the baseline is 3, but the description adds genuine meaning the schema lacks: growth is defined as percent change from prior-year revenue to the selected filing year, sort defaults to revenue descending with missing values last, and no_tax_debt is framed as an exclusion filter. It does not add syntax help for emtak prefixes or the county alias set beyond what the schema enumerates.

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 ('Find up to 50 legal entities') and enumerates the filter axes (county, EMTAK, revenue, employees, MTR activity) plus hard cap of 50. It explicitly separates itself from siblings ('Use search_companies for a name, or get_company for a listed code') so an agent can route 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Names two concrete alternatives and the condition that selects each (name lookup vs. known code lookup), and adds an explicit exclusion ('Do not look up natural persons or personal contact details'). The constraint 'no continuation cursor' also tells the agent not to plan pagination loops.

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