Skip to main content
Glama

duplicate_flow

Duplicate an existing flow. Creates a deep copy with fresh state (no results). Use this to copy a flow and then modify it with update_flow, instead of recreating from scratch.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoName for the new copy. Defaults to 'Copy of <original name>'.
flow_idYesThe unique identifier of the flow to duplicate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already indicate it is not read-only and not destructive, but the description adds crucial context: it creates a deep copy and resets results (fresh state, no results). This explains behavioral nuance beyond the structured annotations, though it doesn't mention permissions or the exact return payload.

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?

Two sentences, front-loaded with the primary action, then a helpful usage note. Every word earns its place with no redundancy or filler.

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 low-complexity mutation tool with no output schema, the description covers the main purpose, the key behavior (deep copy, fresh state), and typical follow-up action. It lacks explicit return-value details, but those are not essential given the schema and sibling context.

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?

The input schema has 100% coverage for both parameters, including a description of the name default. The description adds no additional parameter-level semantics beyond what the schema already provides, so it meets the baseline of 3.

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 uses a specific verb ('Duplicate') and resource ('existing flow'), and explicitly distinguishes the action from creating from scratch by noting it copies an existing flow. It also clarifies the result is a deep copy with fresh state, setting it apart from other copy-like tools such as fork_template.

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

Usage Guidelines4/5

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

The description provides clear guidance: use this to copy a flow then modify it with update_flow, instead of recreating from scratch. It names an alternative tool (update_flow) and implies contrast with create_flow, though it doesn't explicitly mention when not to use it for forking community flows or templates.

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