Skip to main content
Glama
Pterodactyl MCP Server

Pterodactyl MCP Server

by Ethereal-Jay

Upload File to Server

pterodactyl_upload_file

Upload files to a Pterodactyl server via a two-step signed URL, accepting base64 content or a local path to transfer files to a chosen directory.

Instructions

Upload a file to the server using a two-step signed-URL process.

Provide the file content as a base64-encoded string.

Args:

  • server (string): Server identifier

  • directory (string): Target directory on the server (default: '/')

  • file_name (string): Name for the uploaded file

  • content (string): Base64-encoded file content

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>",
      "file_name": "<file_name>"
    },
    "name": "pterodactyl_upload_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
serverYesServer identifier (short ID like 'abc12345')
contentNoBase64-encoded file content (use file_path instead for large files)
directoryNoTarget directory on the server (default: '/')/
file_nameYesName for the uploaded file (e.g. 'server.properties')
file_pathNoAbsolute local filesystem path to the file (bypasses base64 truncation)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=true), so the bar is lower and the description earns some credit for naming the two-step signed-URL flow. However it omits behavior an agent needs: that the content parameter is optional, that base64 content can be truncated for large files, and whether an existing file with the same name is overwritten.

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

Conciseness3/5

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

The opening sentence is well front-loaded and earns its place, but the Args list duplicates the input schema verbatim and adds no information while being incomplete. Roughly a third of the text is redundant.

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?

This is a non-idempotent, open-world write tool with five parameters and no output schema, yet the description says nothing about overwrite semantics, size or truncation limits, or what the call returns. The omission of file_path in the argument list leaves a real gap for an agent handling any nontrivial file.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline would be 3, but the description's Args block merely restates the schema and actually omits the fifth parameter, file_path. It frames base64 content as the way to supply data, which can misroute an agent away from the documented large-file escape hatch.

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 ("Upload a file to the server") and adds the mechanism ("two-step signed-URL process"), which an agent can act on. It stops short of distinguishing this from sibling write paths such as pterodactyl_write_file or pterodactyl_pull_file, so the agent cannot route between them from this text alone.

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; the description never says why an agent would upload rather than write_file, copy_file, or pull_file. The one genuinely useful routing hint — large files should use file_path instead of base64 — appears only in the schema, not the description.

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