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. First observed

TDQS

A4.3/5.0
Behavior4/5

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

No annotations are present, so the description carries the behavioral burden. It discloses search semantics (substring, diacritic-insensitive), the return shape, allowed locality types, and the fuzzy-resolution boundary vs. `search_companies`. It does not explicitly say 'read-only/no side effects', but the registry and return-wording make the lack of mutation clear enough.

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 core content is well-structured with bullets and a clear boundary section, but the long keyword block at the top is largely redundant and delays the actual definition. The description is informative but not tight; every element does not earn its place.

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

Completeness5/5

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

For a tool with no output schema and no annotations, this description is unusually complete: it gives return fields, type enumeration, concrete use cases, disambiguation behavior, pagination-related parameters via the schema, and sibling boundaries. An agent has everything needed to select and invoke the tool correctly.

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 baseline is 3. The description adds useful context for `name` (partial, diacritic-insensitive) and county filtering, and it points to `search_counties` for county IDs, but it does not systematically enrich every parameter beyond what the schema already provides.

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 states a specific verb and resource: it is the Romanian localities registry, searches by partial name and/or county filter, and returns a defined shape. It also explicitly distinguishes itself from `search_companies`, so an agent can tell it apart from siblings without opening schemas.

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?

A dedicated 'Când îl folosești' section lists concrete use cases (count sectors, list communes, disambiguate counties, validate names) and a 'Graniță față de search_companies' section explains when not to use it and which alternative to use instead. This is explicit when/when-not 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.

Resources