Skip to main content
Glama

Companero – Romanian Company Data

search_cities

Keywords: localitate, localități, oraș, orașe, municipiu, comună, comune, sat, sate, sector, sectoarele Bucureștiului, cartier, nomenclator localități, SIRUTA, id localitate, slug localitate, ce localități are județul; city, cities, locality, localities, town, towns, municipality, commune, village, sector, district, settlement, list cities, lookup city, administrative divisions.

Nomenclatorul localităților României. Caută după nume parțial (insensibil la diacritice) și/sau filtrat pe județ; returnează {id, name, slug, type, countyId, countyName}. Tipuri: municipality, city, commune, village, sector, locality.

Când îl folosești:

  • "Câte sectoare are București?" / "Care sunt sectoarele Bucureștiului?"

  • "Listează comunele din județul Cluj" / "Ce orașe încep cu Cluj?"

  • "În ce județ e localitatea X?" (dezambiguare — același nume apare în mai multe județe)

  • Ai nevoie de id-ul intern al unei localități, sau de tipul ei (municipiu vs. comună vs. sat).

  • Validezi sau normalizezi un nume de localitate înainte să-l folosești.

Graniță față de search_companies: pentru a FILTRA firme pe localitate nu e nevoie de unealta asta — search_companies primește direct numele (city: ["Cluj-Napoca"]) și îl rezolvă singur, fuzzy. Unealta asta e despre localitatea ca entitate, nu despre firmele din ea.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoLista de ID-uri de localitate pentru filtrare. Mereu array.
nameNoSubstring în numele/slugul localității (ex: "cluj", "sector"). Insensibil la diacritice.
limitNoMărimea rezultatului (default 25, max 100).
offsetNoOffset paginare (default 0).
countyIdNoLista de ID-uri de județ pentru filtrare (ex: `[3]`). Mereu array, chiar și pentru un singur ID. Poți obține ID-uri din `search_counties`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / properties / countyId / items
      Removed value: -{
      -  "type": "string"
      -}
    • removedInput schema / properties / id / items
      Removed value: -{
      -  "type": "string"
      -}
    • removedInput schema / required
      Removed value: -[]
  2. 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 full behavioral burden, and it does disclose a lot: diacritic-insensitive matching, the returned object shape, the closed set of locality types, and the ambiguity-disambiguation behavior. It does not mention auth/permission requirements, rate limits, or what happens on empty results, but for a read-only lookup the coverage is solid.

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 body is well-organized into purpose, return contract, and when-to-use sections, and it is front-loaded. However, the opening paragraph is a very long keyword dump ('localitate, localități, oraș...'), which is retrieval-oriented padding rather than description; it inflates the definition substantially without adding semantic guidance.

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 5-param, no-required, no-annotation, no-output-schema tool, the description supplies the return fields, the type vocabulary, the filters, and the sibling boundary, which is nearly everything needed to invoke it correctly. The only gaps are operational details (pagination behavior beyond schema, error/empty-result handling) that are minor here.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is already 100%, so the baseline is 3, but the description adds real meaning: 'name' is substring + diacritic-insensitive, and countyId filtering is tied to the disambiguation use case ('același nume apare în mai multe județe'). It does not restate the 'Mereu array' or pagination defaults, which is correct since the schema handles those.

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 and resource ('Nomenclatorul localităților României. Caută după nume parțial... filtrat pe județ') and lists the exact return shape and entity types. It explicitly distinguishes itself from siblings, especially search_companies and implicitly search_counties, so an agent can tell which tool to pick without opening any 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 four concrete when-to-use scenarios (counting Bucharest sectors, listing communes in Cluj, disambiguating a locality name across counties, resolving an internal id/type) plus an explicit boundary rule against search_companies. This is the strongest part of the definition.

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