Skip to main content
Glama

cuisor.ro

resolve_caen

Resolve free text like 'coffee shops' or 'car repair' to CAEN activity codes. ALWAYS call this before filtering by activity — do not guess a CAEN code. More than half the official nomenclator is obsolete CAEN Rev.1 with zero companies, and those are exactly the entries whose descriptions match the obvious word, so a guessed code commonly returns nothing for a question with thousands of answers. Show the user what was matched.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
queryYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden. It discloses the real-world trap of obsolete CAEN Rev.1 entries, explains why guessing fails, and requires the agent to show the user what was matched. It does not detail the output structure or limit behavior, but the key behavioral risks are well covered.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, all high-signal: the operation, the mandatory usage rule, and the rationale plus user-facing instruction. Nothing is redundant, and the most important constraint is front-loaded with 'ALWAYS.'

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?

For a simple resolver with no output schema, the description covers the core requirement: what input to pass, when to call it, and what to do with the result. The only clear gaps are the meaning of 'limit' and the exact shape of the returned match data, which are minor for this tool.

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?

The description gives strong meaning to 'query' with concrete examples ('coffee shops' or 'car repair') and explains why the underlying data is dangerous to guess. However, schema coverage is 0%, and the optional 'limit' parameter is never explained, so the description only partially compensates for the schema's silence.

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 starts with a specific verb and resource: 'Resolve free text ... to CAEN activity codes.' It clearly distinguishes this tool from the sibling company-query tools by framing it as a pre-filtering resolution step rather than a lookup of companies.

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 explicitly says 'ALWAYS call this before filtering by activity — do not guess a CAEN code.' This tells the agent when the tool must be used, what behavior to avoid, and even instructs it to expose the matched result to the user. This is unusually clear operational guidance.

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.

TDQS

A4.1/5.0
Disambiguation4/5

Most tools have clearly distinct domains: company identity, financials, legal, officers, procurement, stats, and CAEN lookup. The only ambiguity comes from the redundant connector aliases (fetch vs get_company, search vs search_companies), but their descriptions explicitly call out the duplication and direct agents to the canonical tools.

Naming Consistency4/5

The set mostly follows a clear verb_noun convention: get_company, get_financials, get_officers, list_companies, search_companies, resolve_caen. Minor deviations are company_stats (noun_verb) and the bare connector aliases fetch and search, but all names are lowercase and underscore-separated, so the pattern remains predictable.

Tool Count5/5

With 12 tools, the surface is well-scoped for a company information/registry API. Each tool covers a meaningful slice of the domain—search, company details, financials, legal, officers, procurement, stats, metadata, and CAEN resolution—without redundant or trivial additions beyond the two explicitly labeled connector aliases.

Completeness5/5

For a read-only company data API, the coverage is thorough: name/CUI resolution, company identity with optional includes, full financial history, legal records, officers, procurement, and aggregate statistics are all present. There are no obvious dead ends; even data freshness and completeness are addressed by get_meta.

Resources