Skip to main content
Glama

cuisor.ro

company_stats

Compute ONE number over a filtered population of companies — count, sum, avg, median, p25, p75, min or max. Prefer this over listing companies and doing the arithmetic yourself: it is one call instead of dozens, and it is exact. metric: net_turnover_ron, net_profit_ron, employees, sales_per_employee_ron, profit_margin_pct, company_count, age_years. group_by: year, caen, judet, status, founded_year — use group_by='year' with years='2019-2024' to get a time series you can chart. Always report coverage.rows_with_metric alongside the answer: it is routinely about half of coverage.matched_companies, because many companies never filed the figure.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aggNoavg
cuiNo
caenNo
yearNo
judetNo
yearsNo
metricNonet_turnover_ron
statusNo
group_byNo
caen_queryNo
min_turnoverNo
registered_afterNo

Schema Changelog

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

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

There are no annotations, so the description carries the burden. It adds meaningful behavioral context by warning that coverage.rows_with_metric is typically about half of coverage.matched_companies because many companies never filed the figure, and directs the agent to always report this alongside the answer. It does not fully explain all behavioral edge cases, but the disclosure is genuinely useful.

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?

Every sentence earns its place: the first sentence states the core operation, the second provides usage rationale, the third and fourth define key parameter options, and the last adds an important data-quality caveat. It is dense but not wasteful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 12 parameters, no output schema, and no annotations, the description covers the metric, group_by, and a useful coverage warning, but leaves many filtering parameters and the exact output shape unexplained. It is adequate for the core use case but not fully complete for nuanced calls.

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 schema has 0% description coverage, and the description compensates by enumerating valid metric values, group_by values, and an example years format. However, most of the 12 parameters (cui, caen, judet, status, caen_query, min_turnover, registered_after, year vs years) are still left to inference, so the compensation is only partial.

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 the tool computes a single aggregate number over a filtered population and enumerates the supported aggregations and metrics. It distinguishes itself from the sibling listing/search tools by explicitly saying to prefer it over listing companies and doing arithmetic manually.

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 gives explicit guidance on when to use this tool versus fetching and computing locally, and even provides a concrete group_by='year' example for time-series use. This gives an agent actionable decision criteria for selecting this tool over siblings.

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