Skip to main content
Glama

leer_articulo

Retrieve the full text of a specific article from the Melilla official gazette (BOME) by CVE, with page-by-page pagination and handling of missing texts for older years.

Instructions

Texto completo de un artículo (anuncio), página a página.

cve: el CVE del artículo (BOME-A-2026-1051) o el del boletín (BOME-B-...) junto con numero (el número del artículo). Un artículo extraordinario (BOME-AX-...) se localiza sin el resolutor del sitio, que lo confunde con el artículo ordinario del mismo número: se usa el índice local si lo tiene y, si no, el calendario del año y las páginas de sus boletines extraordinarios (puede costar unas peticiones más). Nunca se devuelve un artículo distinto del pedido. Los artículos de 2014-2016 no tienen texto en el sitio: fuente="ninguna" y un aviso. Paginación: devuelve páginas enteras hasta max_caracteres (1000-100000, por defecto 20000), siempre al menos una; una página más larga que max_caracteres se corta ahí (cortada=true). Si 'siguiente' no es null, vuelve a llamar con desde_pagina y desde_caracter de 'siguiente' para continuar; null significa que no queda más.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cveYes
numeroNo
desde_paginaNo
desde_caracterNo
max_caracteresNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.4

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so thoroughly. It discloses pagination behavior, max_caracteres limits, the cortada flag, the siguiente continuation mechanism, the 'fuente=ninguna' case for 2014-2016, and the guarantee that a different article is never returned.

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?

The description is long but every sentence carries essential information. It is front-loaded with the main purpose, then systematically covers parameter semantics, edge cases, and pagination without redundancy.

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 paginated article reader with no output schema, the description is complete. It explains what the tool returns, how pagination works, how to continue with 'siguiente', and how to handle exceptional article types and missing historical text.

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 0%, so the description must compensate. It explains cve, numero, max_caracteres, and the continuation parameters desde_pagina and desde_caracter through the pagination flow. It does not explicitly define the initial meaning of desde_pagina/desde_caracter, but the 'siguiente' instructions make their role clear.

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 opens with 'Texto completo de un artículo (anuncio), página a página', which names a specific verb, resource, and mode. It clearly separates this tool from bulletin-level tools like ver_bome or leer_boletin by focusing on individual articles and pagination.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives clear context for when to use the tool and how to handle special cases such as extraordinary articles and 2014-2016 articles without text. It does not explicitly name sibling alternatives or exclusion conditions, but the purpose and behavior are unambiguous enough for an agent to select it correctly.

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