Skip to main content
Glama

Companero – Romanian Company Data

search_counties

Keywords: județ, județe, județul, ce județ, lista județelor, cod județ, cod auto, prefix auto, indicativ auto, abreviere județ, nomenclator județe, unități administrativ-teritoriale, regiune, id județ, slug județ, CJ, BV, IF; county, counties, county code, county id, list counties, administrative divisions, administrative units, Romanian counties, region, license plate prefix, NUTS, lookup county.

Nomenclatorul județelor României (41 de județe + municipiul București, 42 de rânduri în county). Caută după nume parțial (insensibil la diacritice) sau după ID și returnează {id, name, slug, shortCode} — shortCode e codul auto (CJ, BV, IF).

Când îl folosești:

  • "Ce județ are codul CJ?" / "Ce înseamnă prefixul BV?"

  • "Listează județele care încep cu B" / "Câte județe are România?"

  • "Care e ID-ul județului Bistrița-Năsăud?" (când ai nevoie de id-ul intern)

  • Validezi sau normalizezi un nume de județ scris greșit ori fără diacritice înainte să-l folosești mai departe.

  • Construiești o listă de județe de parcurs (rapoarte pe județ, acoperire).

Graniță față de search_companies: pentru a FILTRA firme pe județ nu e nevoie de unealta asta — search_companies primește direct numele județului (county: ["Cluj"]) și îl rezolvă singur, fuzzy. Unealta asta e despre județul ca entitate, nu despre firmele din el.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoLista de ID-uri pentru filtrare (max 100). Mereu array, chiar și pentru un singur ID. Combinat cu `name` aplică și `name`.
nameNoSubstring în numele/slugul județului (ex: "clu", "bistrița"). Insensibil la diacritice.
limitNoMărimea rezultatului (default 50, max 100).
offsetNoOffset paginare (default 0).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / id / items
      Removed value: -{
      -  "type": "string"
      -}
    • removedInput schema / required
      Removed value: -[]
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the burden and does well: it discloses that matching is diacritic-insensitive and partial, that the dataset is fixed at 42 rows, the exact return fields, and that shortCode is the license-plate code. It does not mention auth requirements or rate limits, but for a pure read-only lookup these are minor gaps.

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

Conciseness3/5

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

The usage and boundary prose is tight and front-loaded, but the tool is preceded by a dense keyword-stuffing block of ~30 Romanian and English synonyms that consumes roughly the first third of the text. That block is search-SEO filler rather than instruction the agent needs, diluting structure.

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 small read-only lookup with no annotations, the description covers purpose, triggers, boundaries, and the returned fields (compensating for the absent output schema). Only auth/error behavior is unaddressed, which is a modest gap given the tool's simplicity.

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%, so the schema already documents id, name, limit, and offset including defaults and the diacritic-insensitive matching. The description largely restates this ('Caută după nume parțial (insensibil la diacritice) sau după ID'), adding little beyond the schema. Baseline 3 applies.

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?

States a specific verb (caută) and resource (nomenclatorul județelor României, 42 rows in `county`), and specifies the return shape `{id, name, slug, shortCode}`. It explicitly carves out its scope against the sibling `search_companies`, so an agent can distinguish the two without opening either 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?

Provides a dedicated 'Când îl folosești' block with concrete trigger questions ('Ce județ are codul CJ?', 'Listează județele care încep cu B'), plus a negative boundary: to filter companies by county, use `search_companies` instead. When, when-not, and the alternative are all explicit.

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