Skip to main content
Glama

Copy or move a prompt

duplicate_or_move_prompt
Destructive

Copy a prompt to another space, or move it (mode="move" removes it from the original space). Requires Member or Owner role in both spaces.

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": {
      "prompt_id": "<prompt_id>",
      "target_group_id": "<target_group_id>"
    },
    "name": "duplicate_or_move_prompt"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNocopy
new_titleNo
prompt_idYes
target_group_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / api_key
      Removed value: -{
      -  "default": "",
      -  "type": "string"
      -}
    • addedInput schema / properties / mode / enum
      Added value: +[
      +  "copy",
      +  "move"
      +]
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and non-idempotent, and the description adds real value on top: it explains that move removes the prompt from the original space and that permissions are required in both spaces. It stops short of saying whether copies carry versions, comments, or proposals, which matters for a destructive mutation.

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 tight sentences, front-loaded with the primary action and the mode caveat, with the permission constraint last. No wasted wording.

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?

An output schema exists, so return values need not be described, and the safety profile is covered by annotations plus the move caveat. The remaining gap is what a copy duplicates (versions, comments) and how new_title is applied.

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 0%, so the description must carry parameter meaning. It explains mode well (including the default behavior implied by copy), but says nothing about new_title, prompt_id, or target_group_id beyond their names.

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 and resource (copy/move a prompt) and immediately disambiguates the two modes, including the side effect of mode="move". An agent can tell exactly what the tool does without opening the schema.

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?

Explains the choice between the two modes and gives a concrete prerequisite (Member or Owner role in both spaces). It does not state when to prefer this over creating a new prompt or other siblings, but the mode guidance is clear.

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