Skip to main content
Glama
ampware-io

GHL Workflow MCP

by ampware-io

publish_workflow

Destructive

Publish a draft GoHighLevel workflow to make it active and start processing contacts when triggered. Returns the full workflow object after publishing.

Instructions

Publish a draft workflow, changing its status to published. The workflow will become active and start processing contacts when triggered. Returns the full workflow object after publishing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workflowIdYesThe workflow ID to publish (from list_workflows)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.8/5.0
Behavior4/5

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

The destructiveHint annotation already flags this as a significant state change, and the description adds real context beyond it: the workflow becomes active, will start processing contacts when triggered, and the full workflow object is returned. It stops short of stating whether publishing is reversible or what permissions are required.

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?

Three short sentences, front-loaded with the action and state change, followed by the operational consequence and the return value. No filler, and the return-value sentence is useful given there is no output schema.

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 single-parameter state-transition tool with only a destructiveHint annotation and no output schema, the description covers the action, the consequence, and the return shape. Missing only edge-case behavior such as what happens if the workflow is already published or lacks required steps.

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% and the single workflowId parameter is fully documented in the schema, including its source ('from list_workflows'). The description adds no parameter-level meaning, so the baseline of 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 states a specific verb and resource ('Publish a draft workflow, changing its status to published') and names the state transition, so the agent knows exactly what the tool does. It does not explicitly differentiate itself from nearby siblings like update_workflow or patch_workflow, so it falls short of a 5.

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?

Usage is implied by the precondition 'draft workflow' — use this when a workflow is in draft and should go live. There is no explicit when-not guidance, no mention of prerequisites or authorization, and no routing to alternatives such as update_workflow for non-status changes.

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