Skip to main content
Glama

confirm_draft

Confirm an approved draft workflow to move it from DRAFT to PENDING, optionally saving it as a reusable YAML template for later execution.

Instructions

[WRITE] Confirm a draft workflow — changes state from DRAFT to PENDING.

Use this once the user has approved the draft's steps; call update_draft instead if anything still needs changing. After confirmation, the workflow can be executed via run_workflow(). Optionally saves as a YAML template for future reuse.

Args: workflow_id: The draft workflow ID to confirm. save_as_template: If True, save to ~/.vmware/workflows/ for reuse.

Returns: Confirmed workflow summary. Call run_workflow() to execute.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workflow_idYes
save_as_templateNo
Behavior5/5

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

The description discloses that this is a write operation ([WRITE]) that changes state, consistent with readOnlyHint=false. It also reveals a side effect: optionally saving a YAML template to ~/.vmware/workflows/, which goes beyond the annotations. No contradictions with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and efficient, with clear structure (overview, usage, args, returns). Some redundancy (repeating run_workflow call) but overall every sentence earns 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?

The description covers purpose, usage, parameters, and return value, and there is no output schema to rely on. It could mention the precondition that the workflow must be in DRAFT state, but the rest is sufficiently complete.

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

Parameters5/5

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

With schema description coverage at 0%, the description compensates by explaining each parameter: workflow_id is 'The draft workflow ID to confirm' and save_as_template is 'If True, save to ~/.vmware/workflows/'. This adds functionality beyond the bare schema.

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?

The description clearly states the tool's function: confirming a draft workflow and transitioning it from DRAFT to PENDING. It distinguishes from sibling tools like update_draft and run_workflow by specifying the exact state change and subsequent execution.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Explicitly states when to use ('once the user has approved') and when to use update_draft instead ('if anything still needs changing'). Also provides sequencing guidance by mentioning that run_workflow() should be called after confirmation.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vmware-skills/VMware-Pilot'

If you have feedback or need assistance with the MCP directory API, please join our Discord server