Skip to main content
Glama

deckcraft_ejecutar_comandos

Destructive

Execute DeckCraft engine commands on a new or existing presentation to create or modify slides, then optionally save or export the result to a specified format.

Instructions

Ejecuta comandos del motor de DeckCraft sobre una presentación (o una nueva/en blanco) y opcionalmente guarda o exporta el resultado. Úsala para crear o modificar presentaciones de forma automatizada. Requiere confirmar=true porque puede escribir archivos. Consulta los comandos y sus parámetros con deckcraft_listar_comandos y deckcraft_describir_comando.

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": {
      "comandos": "<comandos>",
      "confirmar": "<confirmar>"
    },
    "name": "deckcraft_ejecutar_comandos"
  }
}

Input Schema

NameRequiredDescriptionDefault
comandosYesLista de comandos en formato 'id={...json...}' o solo 'id' si no requiere parámetros, en orden de ejecución (ej: 'slide.new={"title":"Hola"}').
confirmarYesDebe ser true para ejecutar. Esta operación puede crear o sobrescribir archivos de salida.
guardar_enNoRuta donde guardar la presentación resultante (.deckcraft, .pptx, .pdf o .md).
exportar_enNoRuta donde exportar (png, jpg, pdf, pptx o gif) la diapositiva/presentación actual.
usar_muestraNoSi es true, usa la presentación de muestra de DeckCraft como base.
archivo_entradaNoRuta de la presentación de entrada (.deckcraft o .pptx). Si se omite y no se usa usar_muestra, se parte de una presentación nueva.
mostrar_resultadosNoSi es true, incluye la respuesta de cada comando (útil para obtener IDs creados).
parametros_exportacionNoOpciones JSON para la exportación (p.ej. {"width":"large","secondsPerSlide":3} para GIF).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.2

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=true, so the safety profile is known; the description still adds value by explaining the confirmar=true gate and the reason for it ('puede escribir archivos'), plus that output may be saved or exported. It does not discuss execution semantics for batches (partial failure, ordering effects), which would be the remaining behavioral gap.

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?

Four short sentences, front-loaded with the action and followed by the usage and confirmation constraints; nothing is padded. Only minor overlap between the confirmation sentence and the schema's const:true description on confirmar.

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?

For an 8-parameter, nested-object, no-output-schema, destructive batch tool the description covers purpose, the required confirmation, output save/export options and command discovery. What it omits is the execution model (whether all commands run atomically or what happens if one fails mid-list), which an agent would otherwise need to plan calls safely.

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 every parameter including the nested parametros_exportacion object is already documented. The description adds the pointer to the listing/description tools for building the comandos array but no format or syntax detail beyond the schema, so the baseline 3 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?

States a specific verb and resource ('Ejecuta comandos del motor de DeckCraft sobre una presentación') plus the scope (new/blank deck, optional save/export) and the goal (create or modify presentations automatically). It also routes command discovery to the two sibling tools, so an agent can distinguish it from listar/describir without opening 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?

Explicitly says when to use it ('crear o modificar presentaciones de forma automatizada') and points to deckcraft_listar_comandos and deckcraft_describir_comando as the prerequisite path for learning command IDs and parameters. It stops short of stating when NOT to use it (e.g. read-only inspection, single-slide render, conversion), which siblings cover.

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