Skip to main content
Glama

Look up a Romanian company

lookup_company
Read-onlyIdempotent

Given a Romanian CUI/CIF (fiscal code, optionally prefixed RO), returns ANAF public registry data in English: name, addresses, trade register number, VAT status, active/inactive, e-Factura registration, plus the BNR EUR/RON rate. eFactura.status is always registered, not_registered, or unknown. eFactura.registered is true or false only when ANAF sends a readable flag, and is omitted when status is unknown. Omitted is not a negative finding. False means not in Registrul RO e-Factura on the queried date, not that the company is exempt from domestic B2B e-Factura.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "cui": "<cui>"
    },
    "name": "lookup_company"
  }
}

Input Schema

NameRequiredDescriptionDefault
cuiYesRomanian CUI, e.g. 14399840 or RO14399840
include_fxNoInclude BNR EUR/RON rate (default true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so safety is covered; the description adds genuinely non-obvious behavior instead of repeating it. The eFactura semantics are the strongest part: status is always one of three values, registered is omitted when the flag is unreadable, 'omitted is not a negative finding,' and false means not found on the queried date rather than exempt. This prevents a real misinterpretation of the response. It stops short of disclosing error behavior for an invalid or unknown CUI, which is the main remaining behavioral gap.

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?

Purpose and output fields are front-loaded in the first sentence, and the remaining sentences are devoted to the one field that is genuinely ambiguous. It is longer than most definitions, but the eFactura explanation earns its length because it changes how the output is read; the only mild redundancy is restating the RO-prefix input format already in the schema.

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?

There is no output schema, so the description must carry the return contract, and it does so by enumerating the fields and carefully qualifying the eFactura sub-object. For a two-parameter read-only lookup with full annotation coverage, that is close to sufficient; only the response shape for an invalid or not-found CUI is left unaddressed.

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?

Schema description coverage is 100%, and the schema already states the CUI format (14399840 or RO14399840) and that include_fx defaults to true, so the baseline is 3. The description's mention of the BNR EUR/RON rate hints at what include_fx controls but adds no syntax or edge-case detail beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb and resource: given a Romanian CUI/CIF, it returns ANAF public registry data, and it enumerates the returned fields (name, addresses, trade register number, VAT status, active/inactive, e-Factura, BNR rate). That is far more specific than a restatement of the name. It does not, however, contrast itself with the many company-data siblings such as get_company_financials or get_company_risk_report, so the agent must infer that this is the base identity/registry lookup.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is implied rather than stated: the input requirement (a CUI/CIF, optionally RO-prefixed) makes the trigger clear, but there is no explicit when-to-use or when-not guidance and no named alternative. With ten-plus sibling company tools, one sentence routing between this lookup and the specialized company endpoints would materially help selection.

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.