Skip to main content
Glama
Pterodactyl MCP Server

Pterodactyl MCP Server

by Ethereal-Jay

Copy Server File/Directory

pterodactyl_copy_file

Copy a file or directory on a Pterodactyl server to create a duplicate with a numeric suffix, such as 'file copy 1'.

Instructions

Copy a file or directory on the server. A copy will be created with a numeric suffix (e.g., 'file copy 1').

Args:

  • server (string): Server identifier

  • location (string): Full path of the file or directory to copy

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": {
      "server": "<server>",
      "location": "<location>"
    },
    "name": "pterodactyl_copy_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
serverYesServer identifier (short ID like 'abc12345')
locationYesFull path of the file/directory to copy

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=false, but the description adds real context by disclosing that a new file is created with a numeric suffix, which explains why repeated calls are non-idempotent and that the source is preserved. It omits any note on permissions, overwrite/conflict handling, or whether the copy lands in the same directory, keeping it short of 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.

Conciseness4/5

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

The key behavioral fact (numeric-suffix copy name) is front-loaded in the first sentence, with zero filler. The Args block duplicates the schema and is slightly wasteful, but it is short and does not obstruct reading.

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?

For a two-parameter file operation with annotations covering the safety profile and no output schema, the description covers everything needed: what it does, what it produces, and the fact that the original is retained. Nothing required to invoke 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%, so both parameters are already fully documented, including the short-ID format for server. The Args block merely restates the schema with essentially identical wording, adding no new meaning such as path format constraints or relative-path handling.

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 file or directory on the server', and adds the resulting artifact naming ('file copy 1'). This is enough to distinguish it from write/upload/rename siblings implicitly, though it never names a sibling or contrasts behavior explicitly.

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 when-to-use or when-not-to-use guidance: nothing says how this differs from pterodactyl_write_file, pterodactyl_upload_file, or pterodactyl_decompress_file. The agent must infer the use case purely from the tool name and verb.

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