Skip to main content
Glama

execute_workflow

Destructive

Runs an approved workflow plan, stops at the first failed step, and requires the user's approval hash to proceed.

Instructions

Run a plan the user approved. Stops at the first failed step. Requires approved_hash from the user's yes.

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>",
      "approved_hash": "<approved_hash>"
    },
    "name": "execute_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
plan_idYes
approved_hashYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations only say readOnlyHint=false and destructiveHint=true; the description adds two genuinely new traits: execution halts at the first failed step (implying partial completion with no rollback) and an approval gate tied to the user's explicit yes. It stops short of saying what happens to already-executed steps on failure, which is the key open question for a destructive 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?

Three short sentences, front-loaded with the action and then the two critical constraints; nothing is padding. The phrase "from the user's yes" is awkwardly worded for what should be a precise provenance requirement on approved_hash.

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?

For a destructive, non-idempotent-looking executor with no output schema and zero schema documentation, the description covers approval and failure behavior but omits what plan_id refers to, whether completed steps persist after a mid-run failure, and what is returned. Adequate but leaves real gaps for a high-risk mutation.

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 0%, so the description must carry both parameters. It does explain approved_hash as coming from an explicit user confirmation, which is meaningful, but plan_id is only obliquely covered by "a plan" with no format or origin specified.

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?

"Run a plan the user approved" gives a specific verb (run) and resource (a previously approved plan), which separates it from propose_workflow and discover_capabilities. However, it never distinguishes itself from the sibling run_saved_workflow, so an agent cannot tell which executor to pick from the description alone.

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?

The approval precondition ("the user approved", "approved_hash from the user's yes") implies when this tool is callable, but it offers no explicit when-not guidance and no comparison to run_saved_workflow or propose_workflow. Usage must be inferred from the sibling list.

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