Skip to main content
Glama

Duplicate automation

duplicate_automation

Copies an automation within the same brand, including its media, as a starting point for a similar one (for example the same flow for a new post). The copy is INACTIVE, placed last in the execution order, and named " (duplicate)" unless a name is given.

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": {
      "brand": "<brand>",
      "automationId": "<automationId>"
    },
    "name": "duplicate_automation"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoName shown in replient.ai
brandYes
automationIdYesAutomation id from list_automations

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), so the description earns credit for disclosing non-obvious post-conditions: the copy is INACTIVE, appended last in execution order, and named "<name> (duplicate)" by default. It does not state whether the source automation is untouched or whether media copying is synchronous.

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?

One sentence, front-loaded with the action and scope, with the example parenthetical and the post-copy details following in priority order. Nothing is redundant.

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?

With no output schema, the description usefully characterizes the created resource's state (inactive, last in order, default name), which is what an agent most needs to act next. It omits the response shape, such as whether the new automation's id is returned.

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?

Schema coverage is 67%, and the description compensates by defining the optional `name` parameter's default behavior ("<name> (duplicate)" unless a name is given) and by implying `brand` constrains the copy to the same brand. Only `automationId` is left to the schema's own hint.

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?

"Copies an automation within the same brand, including its media" gives a specific verb, resource, scope, and even the depth of the copy. It is unambiguous against siblings like get_automation or delete_automation, though it never names an alternative to route between.

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?

It supplies a concrete usage scenario: "as a starting point for a similar one (for example the same flow for a new post)", which tells the agent when duplication is the right move. It stops short of exclusions or pointing to save_comment_automation / save_dm_automation for building fresh automations.

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