Skip to main content
Glama
zackscriven

ghl-mcp-server-v2

by zackscriven

ghl_workflow_create

Create a GoHighLevel workflow from a complete definition, with full validation before saving and draft status for later publishing.

Instructions

WORKFLOW API — limited availability: enabled for selected sub-accounts only; others get 403 WORKFLOW_API_NOT_ENABLED_FOR_LOCATION (not a token or scope problem). Suggested order: get step types -> build the definition -> validate (validate_workflow_definition, read-only) -> create (always lands in draft) -> publish via update status. Rate limits: integration daily quota + 10s burst (X-RateLimit-* headers) AND a per-sub-account budget per 10s window with reads and writes counted separately; no Retry-After is sent. Logs: default and max range 30 days; retained 60 days. Create Workflow Limited availability. The workflow API is currently enabled for selected sub-accounts only; any other sub-account receives 403 WORKFLOW_API_NOT_ENABLED_FOR_LOCATION.

Create a workflow from a complete definition. The definition is validated in full before anything is persisted, so a rejected request creates nothing. Workflows are always created in draft; use Update Workflow Status to publish. Endpoint: POST /workflows/ (Version header: v3; source: v3/workflows-v3.json) OAuth scopes: workflows.write

Input Schema

NameRequiredDescriptionDefault
bodyYesRequest body (schema carried verbatim from the official OpenAPI spec).
locationIdYesSub-account (location) ID the workflow belongs to

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-idempotent, non-destructive, open-world behavior; the description adds genuinely new traits: full pre-persist validation (a rejected request creates nothing), always-draft creation, required OAuth scope workflows.write, dual rate limits with no Retry-After header, and the 403 WORKFLOW_API_NOT_ENABLED_FOR_LOCATION code. Deducted one point because the log-retention details (30/60 days) belong to the logging tools and dilute the behavioral signal for this operation.

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

Conciseness3/5

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

The lead block is front-loaded with the availability caveat and ordering, which is the right priority, but the limited-availability 403 notice is stated twice verbatim in substance, and the log-retention sentence earns no place in a create tool. Roughly a third of the text is duplicated or off-target.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter tool wrapping a large nested DTO with no output schema, the description supplies everything an agent needs: availability gating, atomic validation semantics, the resulting state (draft), the follow-up call to publish, auth scope, and rate-limit behavior. Nothing material is left to inference.

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 nested DTO documents name, edges, actions, triggers, version, and folder fields in depth, so the schema carries parameter meaning. The description adds only 'complete definition' and the location scoping, no syntax or format guidance beyond the schema — baseline 3 applies.

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?

States a specific verb and resource ('Create a workflow from a complete definition') and distinguishes it from the sibling write paths by naming Update Workflow Status for publishing. The draft-only outcome is spelled out, so an agent knows exactly what state the resource lands in.

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?

Gives an explicit recommended sequence: get step types -> build the definition -> validate (validate_workflow_definition, read-only) -> create -> publish via update status. It also names the precondition (workflow API enabled for selected sub-accounts) and the exact failure signature for the excluded case, so an agent can self-diagnose a 403 instead of blaming its token.

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

Deploy Server

Other Tools