Skip to main content
Glama

Clone a public Wiro workflow

clone_workflow

Copies a published gallery workflow into the API key's workspace as a private workflow, letting you keep or edit it. Each call makes a new copy.

Instructions

Copy a published gallery workflow into the API key's workspace as a private workflow. Free. Each call makes another copy. You do not need a copy just to run a public workflow; clone it to keep it or to edit it. A copy of a protected workflow keeps its steps hidden: you can run it and change its title, description and tags, but not its steps.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "slug": "<slug>"
    },
    "name": "clone_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesThe full slug or page URL of a published workflow from list_workflows scope "public".

Output Schema

NameRequiredDescriptionDefault
urlYes
titleYes
fullSlugYes
nextActionYes
isProtectedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.5.3
    • addedOutput schema / properties / nextAction / properties / arguments / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  2. Addedv1.4.1

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=false), it discloses cost ('Free'), the non-idempotent repeat-copy behavior, and the important caveat that protected workflows keep their steps hidden, limiting editing to title, description, and tags. These are real permission and side-effect facts not derivable from the annotations alone.

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 short sentences with the core action front-loaded and no filler; even 'Free.' earns its place by answering a likely agent question about cost.

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?

An output schema exists, so return values need not be explained, and the description covers the remaining agent-facing concerns: cost, repeat behavior, and the protected-workflow limitation. Nothing needed 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.

Parameters3/5

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

Schema coverage is 100% and the slug parameter already documents that it accepts a full slug or page URL from the public scope. The description only reinforces that the target must be a published gallery workflow, adding little beyond the schema; 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?

States a specific verb, resource, and destination: copying a published gallery workflow into the API key's workspace as a private workflow. It also distinguishes the operation from merely running a public workflow, so an agent can tell it apart from run_workflow without opening either 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?

Explicitly gives a when-not-to-use rule ('You do not need a copy just to run a public workflow') and the two conditions that select this tool ('clone it to keep it or to edit it'). It also warns that repeat calls create additional copies, which shapes call strategy.

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