Skip to main content
Glama

Fork a public flow into the workspace

workbench_flows_fork

Copies a PUBLIC flow from another workspace (a template) into this one as a new draft the user owns. Identify it by its flowUuid (the id on Workbench's public template pages and in workbench_flows_get output); optionally pin which published version to copy. Flows already in this workspace can't be forked — open them instead. Counts toward the plan's flow cap. May return needs_confirmation.

Input Schema

NameRequiredDescriptionDefault
flowUuidYesThe source flow's public uuid.
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.
forkedFromVersionNoPublished version label to copy. Default: the latest published.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the annotations, it discloses meaningful behavior: the result is a draft owned by the user, forking consumes the plan's flow cap, and the call may return needs_confirmation (which the approvalId parameter then resolves). This is exactly the kind of mutation context an agent needs and that annotations alone do not convey.

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?

Four tightly-packed sentences, front-loaded with the core action before constraints, provenance, cap cost, and the confirmation hint. Every sentence carries non-redundant information.

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 mutating tool with annotations covering the safety profile and a fully documented schema, this covers ownership, cost (flow cap), the confirmation branch, and the invalid-input case. Nothing an agent needs to call it correctly is missing.

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

Parameters4/5

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

With 100% schema description coverage the baseline is 3, but the description adds real value by clarifying the provenance of flowUuid and that forkedFromVersion optionally pins which published version is copied. It does not elaborate on workspace/approvalId semantics beyond the schema, keeping it at 4.

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 states a specific verb and resource — copying a PUBLIC flow from another workspace into this one as a new draft — plus the scope constraint (cross-workspace template). It is immediately distinguishable from siblings like workbench_flows_get, workbench_flows_list, and workbench_flows_update.

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 gives an explicit when-to-use (public flow from another workspace) and an explicit when-not ("Flows already in this workspace can't be forked — open them instead"), which routes the agent away from a misuse of this tool. It also points to where the required identifier comes from (public template pages and workbench_flows_get output).

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