Skip to main content
Glama
linimeanie

Eurostat TAM MCP server

by linimeanie

get_company_count

Count companies by NAICS code, country, and employee band to fill Eurostat data gaps for large and mid-cap segments.

Instructions

Count companies in Cognism matching NAICS codes x countries x employee range. Fills the cells Eurostat/Nomis can't:

  • Corp Large 5,000+ -> employee_min=5000

  • Corp Mid-cap 250-4,999 -> employee_min=250, employee_max=4999

  • UK corporates -> countries=["United Kingdom"]

Args: naics: NAICS codes, e.g. ["3344"] (semiconductors). Cognism uses NAICS, not NACE — map your NACE codes first. countries: country names, e.g. ["Germany", "France"] or ["United Kingdom"]. employee_min / employee_max: employee-count band bounds (inclusive).

Requires the Cognism API entitlement to be enabled by your CSM; until then this returns error "no_entitlement". Reads the token from the COGNISM_API_TOKEN env var (Render) or the local .env.cognism file (desktop).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
naicsYes
countriesYes
employee_maxNo
employee_minNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

With no annotations provided, the description fully carries the burden. It discloses the entitlement requirement, the error behavior ('no_entitlement'), authentication via env var or .env file, and notes that employee bounds are inclusive. This is far beyond typical transparency and gives an agent critical operational knowledge.

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 description is well-organized with a summary, bulleted use cases, 'Args:' block, and a prerequisites paragraph. Every section serves a purpose and the front-loaded summary immediately communicates what the tool does. It is slightly long but structurally efficient and scannable.

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?

The description covers purpose, when to use, all parameter semantics, prerequisite conditions, authentication, and error handling. Since an output schema is present, not describing return values is acceptable. It provides a complete operational picture for an agent to select and invoke the tool without guessing.

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?

The schema has 0% description coverage, but the description compensates by explaining every parameter with examples: 'naics' with a semiconductor example, 'countries' with country lists, and 'employee_min/employee_max' with band bounds and the inclusive keyword. This fully resolves the otherwise undocumented parameters.

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?

The description clearly states it 'Count companies in Cognism' with specific filtering dimensions (NAICS, countries, employee range). It distinguishes itself from siblings by explaining it 'Fills the cells Eurostat/Nomis can't' and explicitly notes Cognism uses NAICS rather than NACE, which clarifies its unique role among count tools.

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?

The description provides explicit use cases ('Corp Large 5,000+', 'Corp Mid-cap 250-4,999', 'UK corporates') and a crucial prerequisite ('Requires the Cognism API entitlement'). It does not explicitly name alternative sibling tools, but the concrete examples and NAICS/NACE mapping give clear context for when this tool is appropriate.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/linimeanie/eurostat-tam-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server