Skip to main content
Glama

deckcraft_renderizar_diapositiva

Destructive

Renders a specific presentation slide to a PNG image using DeckCraft's engine without opening the GUI, enabling slide preview or export.

Instructions

Renderiza una diapositiva de una presentación a una imagen PNG usando el motor de DeckCraft (sin abrir la GUI). Úsala para obtener una vista previa o exportar una diapositiva concreta como imagen.

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": {
      "archivo": "<archivo>",
      "salida_png": "<salida_png>"
    },
    "name": "deckcraft_renderizar_diapositiva"
  }
}

Input Schema

NameRequiredDescriptionDefault
escalaNoPíxeles por punto (por defecto 2; 960x540 pt -> 1920x1080 px).
archivoYesRuta al archivo de presentación (.deckcraft o .pptx).
salida_pngYesRuta del archivo PNG de salida a crear.
modo_edicionNoSi es true, dibuja como en el editor (prompts y contornos de marcadores).
fondo_transparenteNoSi es true, omite el fondo de la diapositiva.
indice_diapositivaNoÍndice de la diapositiva (base 0). Por defecto 0.
confirmar_sobrescrituraNoObligatorio con valor true si el archivo de salida ya existe, para permitir sobrescribirlo.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.2

TDQS

B3.4/5.0
Behavior3/5

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

Annotations (readOnlyHint=false, destructiveHint=true) already flag this as a mutating operation, so the bar is lower. The description adds useful context that it works headlessly without opening the GUI, but it never mentions that it writes a PNG to disk or that existing output files require confirmar_sobrescritura=true; the overwrite behavior is only implicit in the schema.

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?

Two tight sentences with the action front-loaded and zero filler; the headless note is a worthwhile addition. Slightly under-specified for the size of the parameter set, but no sentence is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 7 parameters, a destructive write and no output schema, the description leaves gaps: it doesn't say what is returned (path? bytes? confirmation), nor clarify single-slide scope versus deck-level conversion tools. It is minimally adequate because the schema covers parameters and annotations cover the safety profile.

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%, so all 7 parameters (including escala, modo_edicion, fondo_transparente, indice_diapositiva, confirmar_sobrescritura) are already fully documented in the schema. The description adds no parameter-level meaning, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific verb (renderiza) and precise resource+output (una diapositiva → imagen PNG), plus the mechanism ('motor de DeckCraft, sin abrir la GUI'). It is clear what the tool does, though it does not explicitly differentiate itself from deckcraft_convertir_presentacion (deck-level conversion) despite their overlapping 'produce images' purpose.

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?

Gives two use cases ('vista previa' or 'exportar una diapositiva concreta'), which implies when to reach for it. However, it states no exclusions or alternatives — e.g., that it renders a single slide rather than converting a whole presentation, which is the obvious sibling decision point.

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