diario-oficial-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DIARIO_OFICIAL_DIR | No | Directory where PDFs are saved. Defaults to ~/Downloads/diario-oficial. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_recent_editionsA | List the most recently published Diario Oficial editions (newest first). Returns each edition's number, type (e.g. Ordinaria), and date (dd/MM/yyyy). Use this to discover what is available before downloading. |
| download_latest_editionA | Download the newest published Diario Oficial edition as a PDF. Args: output_dir: Directory to save the PDF. Defaults to the DIARIO_OFICIAL_DIR environment variable, or ~/Downloads/diario-oficial. Returns metadata (numero, tipo, fecha) plus the saved file path and size. |
| download_edition_by_dateA | Download the Diario Oficial edition published on a specific date. Args: date: Publication date in dd/MM/yyyy format (e.g. "16/06/2026"). output_dir: Directory to save the PDF (see download_latest_edition). Returns metadata plus the saved file path and size. Raises if no edition was published on that date. |
| download_edition_by_numberB | Download a specific Diario Oficial edition by its edition number. Args: number: Edition number, with or without thousands separators (e.g. "53524" or "53.524"). output_dir: Directory to save the PDF (see download_latest_edition). Returns metadata plus the saved file path and size. Raises if the edition number is not found. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
Each tool serves a unique and clearly distinct purpose: downloading the latest edition, downloading by date, downloading by number, and listing recent editions. No ambiguity between them.
All tool names follow a consistent verb_noun pattern in snake_case: download_latest_edition, download_edition_by_date, download_edition_by_number, list_recent_editions. The naming is predictable and uniform.
With 4 tools, the set is well-scoped for the domain of downloading official gazette editions. Each tool earns its place without unnecessary redundancy.
The tool surface covers all key workflows: listing available editions, downloading the latest, downloading by date, and downloading by number. No critical gaps in the core functionality.