Skip to main content
Glama

Duplicate a rule

duplicate_automation

Copy a rule as "Copy of {name}", Off.

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

Input Schema

NameRequiredDescriptionDefault
idYesThe rule's id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations only declare it is not read-only, not destructive, and closed-world. The description adds genuinely useful behavior beyond that: the copy is named with a 'Copy of' prefix and is created in the Off (disabled) state, so the agent knows the duplicate will not fire immediately. It does not mention whether subsequent edits target the copy's own id or what the call returns.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single tight fragment with zero filler, and the key facts (action, new name, resulting state) are front-loaded. The quotation marks around the name template are slightly awkward but not costly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter tool with full schema coverage and no output schema, the definition covers the essentials. However, for a duplication operation it omits whether nested configuration is deep-copied, whether the response exposes the new rule's id, and any permission requirements — details an agent would want before chaining a follow-up call.

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?

Only one parameter, and the schema already documents it at 100% coverage ('The rule's id', with a UUID pattern). The description adds no meaning about whether that id refers to the source rule being copied, though this is reasonably implied by 'Copy a rule'. Baseline 3 applies.

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?

States a specific verb and resource ('Copy a rule') and even specifies the resulting name ('Copy of {name}') and initial state ('Off'), which distinguishes it from create_automation. It stops short of explicitly contrasting with other lifecycle siblings such as update_automation, but the core purpose is unambiguous.

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

Usage Guidelines2/5

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

There is no guidance on when to duplicate versus creating a new rule from scratch, nor any precondition (e.g. whether the source rule must exist or be readable). The agent must infer usage entirely from the tool name and the single required id.

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