Skip to main content
Glama

Generar Certificado Completo

generar_certificado_completo

Generate the complete set of official energy certificate deliverables in one step: a CE3X v3.2 .cex project file, a validated v3.0 XML record, and a 15-page official PDF.

Instructions

Genera el conjunto completo de entregables oficiales para el certificado energético: archivo de proyecto .cex para CE3X v3.2, archivo XML oficial v3.0 validado con xmlcheck.exe y PDF oficial de 15 páginas compilado con Typst / xml2cert.exe.

Cuándo usar: Invoque esta herramienta como fase final de la certificación tras haber validado todos los datos de envolvente, clima e instalaciones para producir los documentos oficiales exigidos por la Administración.

Comportamiento y efectos secundarios: Operación de generación de archivos en disco (Write). Escribe los archivos .cex, .xml y .pdf en el directorio de salida especificado. Emite progreso interactivo a FastMCP.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tipo_acsNoSistema de agua caliente sanitaria instalado.
direccionYesDirección completa del inmueble (calle, número, piso).
municipioYesNombre oficial del municipio.
provinciaYesNombre oficial de la provincia española.
tipologiaNoTipología del edificio: 'Bloque', 'Unifamiliar' o 'Terciario'.Bloque
codigo_postalYesCódigo postal oficial de 5 dígitos (ej. '15001', '28001').
nombre_edificioYesNombre identificativo del edificio o vivienda (ej. 'Vivienda Unifamiliar Caamaño').
superficie_utilYesSuperficie útil habitable del inmueble en metros cuadrados (m²).
ano_construccionYesAño de construcción del edificio según Catastro o proyecto.
tipo_calefaccionNoSistema térmico de calefacción instalado.
directorio_salidaNoRuta al directorio donde se guardarán los archivos generados. Si es None, usa carpeta temporal.
referencia_catastralNoReferencia Catastral oficial del inmueble.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed15 schema fields changed
    • addedInput schema / properties / ano_construccion / description
      Added value: +"Año de construcción del edificio según Catastro o proyecto."
    • addedInput schema / properties / ano_construccion / maximum
      Added value: +2050
    • addedInput schema / properties / ano_construccion / minimum
      Added value: +1800
    • addedInput schema / properties / codigo_postal / description
      Added value: +"Código postal oficial de 5 dígitos (ej. '15001', '28001')."
    • addedInput schema / properties / direccion / description
      Added value: +"Dirección completa del inmueble (calle, número, piso)."
    • addedInput schema / properties / directorio_salida / description
      Added value: +"Ruta al directorio donde se guardarán los archivos generados. Si es None, usa carpeta temporal."
    • addedInput schema / properties / municipio / description
      Added value: +"Nombre oficial del municipio."
    • addedInput schema / properties / nombre_edificio / description
      Added value: +"Nombre identificativo del edificio o vivienda (ej. 'Vivienda Unifamiliar Caamaño')."
    • addedInput schema / properties / provincia / description
      Added value: +"Nombre oficial de la provincia española."
    • addedInput schema / properties / referencia_catastral / description
      Added value: +"Referencia Catastral oficial del inmueble."
    • addedInput schema / properties / superficie_util / description
      Added value: +"Superficie útil habitable del inmueble en metros cuadrados (m²)."
    • addedInput schema / properties / superficie_util / exclusiveMinimum
      Added value: +0
    • addedInput schema / properties / tipo_acs / description
      Added value: +"Sistema de agua caliente sanitaria instalado."
    • addedInput schema / properties / tipo_calefaccion / description
      Added value: +"Sistema térmico de calefacción instalado."
    • addedInput schema / properties / tipologia / description
      Added value: +"Tipología del edificio: 'Bloque', 'Unifamiliar' o 'Terciario'."
  2. First observedv1.5.1

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the write nature is known. The description adds real value beyond that: it is an on-disk file generation operation, specifies the exact artifacts written, states they go to the specified output directory, and notes interactive progress is emitted to FastMCP. It stops short of mentioning overwrite/collision behavior when files already exist, which is the main remaining risk for a write tool.

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 the deliverables sentence, then labelled sections for usage and side effects, which makes it scannable. It is somewhat long and the 'Comportamiento' section partially restates what the write annotation already implies, keeping it just short of a 5.

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?

An output schema exists, so return values need not be described, and all parameters are covered by the schema. The description supplies the usage trigger and the disk-write side effects an agent needs. Only minor gaps remain (no note on overwriting existing output files or expected runtime), so it is near-complete rather than fully complete.

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 description coverage is 100%, with all 12 parameters documented including defaults and units (m², rango 1800-2050, formato de CP de 5 dígitos). The description adds no parameter-level meaning beyond what the schema already provides, so the baseline 3 for high coverage applies.

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?

Names a specific verb (genera) plus the exact resource and enumerates the three official deliverables with their formats and versions (.cex para CE3X v3.2, XML v3.0 validado con xmlcheck.exe, PDF de 15 páginas con Typst/xml2cert.exe). This distinguishes it from siblings like certificar_desde_carpeta_visita or calcular_calificacion_energetica without needing to open any schema.

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 'Cuándo usar' section gives an explicit trigger: invoke as the final phase of certification after validating envelope, climate and installations data. That is clear context for invocation. It does not, however, name or exclude a concrete alternative sibling (e.g. certificar_desde_carpeta_visita), so it falls short of a 5.

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