Skip to main content
Glama

firefly_execute_plan

Destructive

Executes a reviewed plan once with explicit execution and effect-specific confirmations, preventing unintended generation, transfer, or cancellation actions that may consume credits.

Instructions

Ejecuta una sola vez el plan revisado. Requiere confirm_execution y, según efecto, confirm_generation/confirm_transfer/confirm_cancel. No auto-reintentar UNKNOWN. Puede consumir créditos.

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": {
      "plan_id": "<plan_id>",
      "confirm_execution": "<confirm_execution>"
    },
    "name": "firefly_execute_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
plan_idYes
confirm_cancelNo
confirm_transferNo
confirm_executionYes
confirm_generationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and openWorldHint=true, so the safety profile is covered. The description adds value beyond that: it warns that credits may be consumed ('Puede consumir créditos'), that execution is single-shot, and that UNKNOWN outcomes must not be retried automatically — three operational traits an agent cannot get from the annotations.

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 scope, then the confirmation requirements, then the retry rule, then the cost warning. Nothing is redundant. It is telegraphic to the point that 'según efecto' is slightly vague, but no sentence fails to earn its place.

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, credit-consuming, non-idempotent mutation with no output schema and no schema descriptions, the definition covers the essentials: what it does, what confirmations are required, the retry policy, and the cost exposure. Remaining gaps (how plan_id is obtained, what happens on partial failure) are modest but not fully closed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across five parameters, so the description carries the full burden. It documents the gating logic well: confirm_execution is mandatory and the three effect-specific flags (confirm_generation, confirm_transfer, confirm_cancel) apply conditionally on the plan's effect. Only plan_id goes unexplained, and its meaning is recoverable from 'plan revisado'.

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 first sentence gives a specific verb and resource ('Ejecuta ... el plan revisado') plus the key scope constraint that execution happens exactly once. 'Plan revisado' implicitly ties it to the prepare/review step that produces a plan, which distinguishes it from the sibling prepare_* tools, but no sibling is named explicitly, so the differentiation is inferential 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states a precondition (the plan must already be reviewed) and an explicit anti-pattern ('No auto-reintentar UNKNOWN'), which is genuine when/when-not guidance. However, it never names an alternative tool or says which tool to call first to obtain plan_id, so routing between this and firefly_prepare_operation or firefly_web_execute is left to inference.

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