Skip to main content
Glama
Consulta Boletines Oficiales - Legislación consolidada

Consulta Boletines Oficiales - Legislación consolidada

boe_borme_buscar

Read-only

Busca en el BORME (Boletín Oficial del Registro Mercantil, publicado por la Agencia Estatal BOE) lo publicado sobre UNA EMPRESA entre dos fechas, en toda España: anuncios y avisos legales de la Sección Segunda (convocatorias de juntas…

Instructions

Busca en el BORME (Boletín Oficial del Registro Mercantil, publicado por la Agencia Estatal BOE) lo publicado sobre UNA EMPRESA entre dos fechas, en toda España: anuncios y avisos legales de la Sección Segunda (convocatorias de juntas, fusiones, escisiones, reducciones de capital...) y actos inscritos de la Sección Primera (constituciones, nombramientos, ceses, cambios de domicilio...), estos a través del índice alfabético de sociedades de cada día. Si sabes la provincia del registro mercantil, indícala: la búsqueda de actos es más rápida. NO es legislación — dilo siempre así al usuario. Solo por DENOMINACIÓN de la empresa: la búsqueda nunca mira el cuerpo de los actos, así que NO sirve para buscar personas, y no debes intentarlo (no pongas nombres de personas físicas en "denominacion" ni recopiles información sobre ellas): los nombres de administradores, apoderados o socios que aparezcan son datos personales publicados para la publicidad mercantil. Limitación real: se recorre día a día (máximo 31 días por llamada; un mes entero sin provincia puede tardar unos segundos), sin búsqueda por texto en el servidor. Cita siempre el "url_pdf" (única versión oficial).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "denominacion": "<denominacion>",
      "fecha_desde": "<fecha_desde>"
    },
    "name": "boe_borme_buscar"
  }
}

Input Schema

NameRequiredDescriptionDefault
limiteNoMáximo de actos y de anuncios a devolver (por defecto 20, máximo 100).
provinciaNoOpcional. Provincia del registro mercantil (nombre, p. ej. "Madrid", "Bizkaia", o código INE de dos cifras): limita los actos inscritos a esa provincia. Sin ella se buscan en toda España.
fecha_desdeYesFecha de publicación en el BORME, inicio del rango (AAAAMMDD o AAAA-MM-DD). Desde 2009.
fecha_hastaNoFin del rango. Por defecto, igual a fecha_desde (un solo día). Máximo 31 días de rango.
denominacionYesDenominación social de la empresa (p. ej. "Construcciones Ejemplo"). La forma social (S.A., S.L....) es opcional. Obligatoria; nunca el nombre de una persona.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, and destructiveHint=false, so safety is covered. The description adds real value beyond that: day-by-day traversal, 31-day cap, no server-side text search, personal-data caveats, and the mandate to cite url_pdf. The personal-data handling and mandatory citation are genuinely behavioral, but the disclosure of the operational limits is the main add.

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?

It's dense and front-loaded with the core purpose first, but the prose is long and some clauses (personal-data warning, 'dilo siempre así al usuario') are verbose. Every sentence has function, but the length is heavier than needed.

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?

No output schema, but the description names a return field (url_pdf) and warns of traversal limits, giving enough to call correctly. Return shape beyond url_pdf is only loosely described, keeping it just short of full completeness.

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 coverage is 100%, so the baseline is 3. The description does add meaning beyond the schema: that provincia speeds up the actos search, that denominacion must be a company name never a person, and the 31-day cap context. These are useful but largely restate schema semantics.

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) and resource (BORME) with exact scope: one company, a date range, all Spain, across Sección Primera and Segunda. It explicitly distinguishes itself from the sibling legislation tools ('NO es legislación') so an agent can route correctly without opening a 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?

Gives explicit when-to-use (company announcements/actos by denominación), when-not (not legislation, never for persons), and an optimization hint (include provincia for faster actos search). It even tells the agent what message to relay to the user.

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