Skip to main content
Glama

buscar_negocios

Search businesses by name or activity across Mexico, a state, or a municipality to retrieve their address, phone, email, website, size, and coordinates from DENUE data.

Instructions

Busca negocios por nombre o giro en el país, un estado o un municipio (DENUE).

Devuelve nombre, giro, tamaño, dirección, teléfono, correo, sitio web y coordenadas.

Args: que: Texto a buscar en el nombre o la actividad ('Similares', 'tacos'). Opcional si se da actividad. area: País (por defecto), estado o municipio, por nombre o clave. actividad: Filtra por giro ('gimnasio') o código SCIAN de 2, 3, 4 o 6 dígitos. personal: Tamaño por personal ocupado, 1 a 7 (ver contar_negocios). limite: Máximo de negocios a devolver (1 a 50).

Input Schema

NameRequiredDescriptionDefault
queNo
areaNo
limiteNo
personalNo
actividadNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.1/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It does convey the read-only, look-up nature and the result cap (1–50), but says nothing about truncation behavior when the limit is hit, whether a total match count is returned, or any institutional/rate constraints on the DENUE source. Useful but incomplete for an unannotated tool.

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

Conciseness5/5

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

Front-loaded purpose sentence followed by the return payload, then a compact Args block. No sentence is redundant; the Spanish text is dense and each line adds distinct information.

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?

With an output schema present, the description need not spell out return values (it does anyway, briefly), and it covers input semantics thoroughly. The only real gap is behavioral edge cases: what happens when results exceed the limit, and whether an empty or ambiguous 'area' string is resolved or rejected.

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

Parameters5/5

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

Schema coverage is 0% and the description fully compensates: every one of the five parameters is explained, including allowed SCIAN code lengths (2, 3, 4, 6 digits), the personal-size range 1–7 with a cross-reference to 'contar_negocios', the limit range, and the area defaulting to the country. This meaning is genuinely unavailable from the bare schema.

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 ('Busca'), the resource ('negocios'), the search keys (nombre o giro), the geographic scope (país, estado, municipio) and the source (DENUE), then enumerates the returned fields. That scope description implicitly separates it from radius-based 'negocios_cercanos' and from the count-only 'contar_negocios'.

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?

It supplies a conditional usage rule ('Opcional si se da actividad') and points to 'contar_negocios' for interpreting the personal-size codes. However, it never says when to prefer this over 'negocios_cercanos' (proximity search) or when the geographic area argument is required versus defaulting to the whole country, so guidance remains implied rather than explicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.