Skip to main content
Glama

APIEmpresas: Spanish company data

Buscar empresas por nombre

search_companies
Read-onlyIdempotent

Busca empresas españolas por nombre o parte del nombre y devuelve las candidatas con su CIF, provincia y estado. Úsala cuando NO tienes el CIF de una empresa concreta; después, get_company con el CIF elegido. Para convertir una lista de muchos nombres en CIF, mejor find_cif_by_name. Sin API key funciona con hasta 10 resultados y un límite diario. Search Spanish companies by name.

Input Schema

NameRequiredDescriptionDefault
limitNoNúmero máximo de resultados (por defecto 10)
queryYesNombre o parte del nombre de la empresa

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, openWorldHint, destructiveHint=false). The description adds information annotations cannot carry: the unauthenticated quota behavior ('sin API key... hasta 10 resultados y un límite diario'), which affects how an agent should plan calls. It does not say what happens when the limit is hit or how pagination works, so it stops short of 5.

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?

Front-loaded with purpose, then usage conditions, alternatives, then quota caveat – a sensible priority order. The trailing English restatement is a minor redundancy that does not disrupt the flow.

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?

No output schema exists, and the description compensates by naming the returned fields (CIF, provincia, estado), so an agent knows what it can chain into get_company. Combined with the sibling routing and the quota note, nothing essential to calling this correctly is missing for a 2-parameter read tool.

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 coverage is 100% with both parameters documented (query minLength 2, limit 1-25 default 10), so the baseline is 3. The description adds real meaning by explaining that the 10-result ceiling is the anonymous-mode cap while the schema's maximum of 25 is the authenticated ceiling. It adds no detail on matching behavior (accent handling, casing, partial word matching), which is the remaining gap.

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?

Specific verb + resource ('Busca empresas españolas por nombre o parte del nombre') plus the shape of what comes back (CIF, provincia, estado). It is clearly separable from get_company (needs a CIF) and find_cif_by_name (bulk resolution) 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?

States the triggering condition explicitly ('Úsala cuando NO tienes el CIF'), the follow-up step ('después, get_company con el CIF elegido'), and names an alternative for a different case ('Para convertir una lista de muchos nombres en CIF, mejor find_cif_by_name'). When, when-not, and alternatives are all present.

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.