Skip to main content
Glama

ZeroWidth

Publish a Workbench flow version

workbench_flows_publish
Destructive

Snapshots the flow's current DRAFT as a named published version — the version schedules (workbench_flows_schedule), guest share links (workbench_flows_share_create), public-API runs, and 'published'-stage evals execute. The draft keeps evolving after this; runs on the published side don't change until the next publish. Publishing does NOT run the flow, but any eval set to runOnPublish starts a run (that spends credit — mention it when one exists). Publish only after the user has tested the draft (workbench_flows_run) or asked for it. May return needs_confirmation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNoWhat changed — a commit message.
flowIdYesFlow to publish.
versionYesVersion label, e.g. '1.0.0' or '2026-09-04'. Re-using a label retags it to this snapshot.
workspaceNoWorkspace slug. Personal tokens with no default workspace MUST pass this; tokens with a default can override per call. Ignored for workspace API keys.
approvalIdNoApproval id from a prior needs_confirmation response. Omit on the first call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare write/destructive/openWorld; the description adds the real behavior: the draft keeps evolving while published runs stay frozen until the next publish, publishing does not execute the flow, and runOnPublish evals will start a run that spends credit (with an instruction to surface that to the user). It also discloses the 'needs_confirmation' return path, which is beyond anything the annotations carry.

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 snapshot definition is front-loaded in the first clause and every subsequent sentence carries distinct load-bearing information: consumers of the published version, draft/published divergence, the no-run clarification, credit-spending evals, and the publish precondition. No filler.

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 state-mutating tool with no output schema, the description covers the lifecycle semantics, side effects (eval runs and credit spend), the confirmation flow, and prerequisites. Nothing material an agent needs before calling it is missing.

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 schema already documents note, version retagging, workspace defaulting, and the approvalId provenance, so the description adds little parameter-level meaning. Its only addition is the reference to 'needs_confirmation', which is already tied back to approvalId in the schema itself. Baseline 3 is appropriate.

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 gives a precise verb and resource — 'Snapshots the flow's current DRAFT as a named published version' — and immediately distinguishes this from nearby siblings by naming what consumes the published side (workbench_flows_schedule, workbench_flows_share_create, public-API runs, published-stage evals). An agent can separate this from workbench_flows_run and workbench_flows_update without opening a schema.

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?

It states an explicit precondition and alternative: 'Publish only after the user has tested the draft (workbench_flows_run) or asked for it.' It also clarifies the boundary versus running ('Publishing does NOT run the flow') and versus the draft, which is exactly the when/when-not routing an agent needs.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources