Skip to main content
Glama

deckcraft_comando_app

Destructive

Sends a command or method to an open DeckCraft instance started with --control PORT to control the live app, such as taking screenshots or performing window actions; requires confirmation.

Instructions

Envía un comando o método a una instancia de DeckCraft ya abierta que fue iniciada con --control PORT. Úsala para controlar la app en vivo (p.ej. capturas, acciones en la ventana actual). Requiere confirmar=true. Si la app no responde, indícale al usuario que la inicie como: deckcraft.exe --control 7979

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

Input Schema

NameRequiredDescriptionDefault
metodoNoMétodo del canal de control (ej: ui.screenshot). Alternativa a comando.
puertoNoPuerto del servidor de control (por defecto 7979, el que usa --control).
comandoNoID de comando a ejecutar en la app (ej: shape.insert). Alternativa a metodo.
confirmarYesDebe ser true para ejecutar, ya que puede modificar el estado de la app o archivos.
parametrosNoParámetros del comando o método como objeto JSON.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.2

TDQS

A3.9/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, and the description reinforces this by noting it can modify app state or files and must be confirmed. Beyond annotations it adds genuinely useful operational context: the --control PORT prerequisite and a concrete recovery instruction (deckcraft.exe --control 7979) when the app does not respond.

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 that each carry weight: purpose, use case, confirmation requirement, and troubleshooting. The confirmar=true repetition is slightly redundant with the schema, but the ordering is front-loaded and efficient.

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 a destructive live-control tool with no output schema, the description covers the critical preconditions and an error path. The one gap is that it never hints at what a successful call returns or how results are delivered.

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 coverage is 100%, so every parameter (metodo, comando, puerto, confirmar, parametros) is already documented with examples and the mutual exclusivity of comando/metodo. The description only restates the confirmar=true requirement and default port 7979, adding little beyond the schema; 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?

The description names a specific verb+resource ('Enviar un comando o método a una instancia de DeckCraft ya abierta') and scopes it to live control of a running app. It does not explicitly name a sibling like deckcraft_ejecutar_comandos as the alternative, so the differentiation is implied by 'app en vivo' rather than stated.

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?

It states when to use it (control the live app: screenshots, actions on the current window) and gives the prerequisite that the app must have been started with --control PORT. It does not state when not to use it or name a specific alternative tool for non-live execution.

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