Skip to main content
Glama

copy_file

Duplicate a file on a Pterodactyl-hosted server by providing the server ID and source file path.

Instructions

Duplicate a file on the server.

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_id": "<server_id>",
      "location": "<location>"
    },
    "name": "copy_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
locationYesFile path to copy (e.g. '/config.json')
server_idYesShort server identifier

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

C2.9/5.0
Behavior2/5

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

The only annotation is readOnlyHint=false, so the description carries the behavioral burden and does not meet it. It never says whether an existing file could be overwritten, what the new file is named or where it is placed, whether permissions are preserved, or whether the operation is reversible — all critical for a mutation tool.

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 front-loaded sentence with no filler, which is structurally clean. The terseness borders on under-specification rather than genuine economy, but nothing is wasted.

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

Completeness2/5

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

For a mutating file operation with no output schema and no annotations beyond readOnlyHint=false, the definition omits what an agent most needs: the resulting path/name of the copy, overwrite behavior, and how to reference the duplicate afterwards.

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 server_id and location are already documented with an example path, and the description adds nothing on top. Notably, no destination parameter exists in the schema and the description does not clarify this, leaving the copy-target semantics undefined.

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?

The description names a specific verb ("Duplicate") and resource ("a file on the server"), which is far more informative than a tautology. It stops short of differentiating from related siblings such as write_file or upload_file, and never says where the duplicate lands, so an agent still has to guess the resulting filename/path.

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 guidance, no statement of prerequisites, and no mention of alternatives (e.g. upload_file or write_file) even though several siblings operate on file content. The agent must infer the use case entirely from the tool name.

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