Skip to main content
Glama

ap_duplicate_flow

ap_duplicate_flow

Duplicate an existing flow. Creates a new copy with all steps and configuration. Connections and sample data are not copied.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoName for the duplicated flow. Defaults to "Copy of {original name}".
flowIdYesThe id of the flow to duplicate. Use ap_list_flows to find it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations cover the mutation profile (not read-only, not destructive, not idempotent), and the description adds important scope details: all steps and configuration are copied, but connections and sample data are not. This goes beyond annotations and helps the agent understand the effect. It does not mention return values or permissions, so not a 5.

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 description is three compact sentences, front-loaded with the core action, then the copy scope, then the exclusion. Every sentence earns its place with no redundancy.

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 duplication tool with annotations covering safety and a complete input schema, the description covers the key behavioral nuance (what is and isn't copied). Missing details about return value or error conditions are minor given the lack of an output schema, but the definition is nearly complete.

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%, with both parameters well documented, including a note to use ap_list_flows for flowId. The description adds no additional parameter meaning, so the baseline of 3 is appropriate.

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 (duplicate) and resource (flow), and clarifies that it copies all steps and configuration. However, it does not explicitly differentiate this from sibling tools like ap_create_flow or ap_build_flow, leaving the agent to infer that this is for copying rather than creating from scratch.

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: use when you need a copy of an existing flow. There is no explicit guidance on when to choose this over alternatives such as ap_create_flow, nor are any prerequisites or exclusions stated.

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