Skip to main content
Glama

set_docker_image

Idempotent

Changes a Pterodactyl server's Docker runtime image to an egg-allowed option, enabling container runtime updates through the API.

Instructions

Change the server's Docker runtime image (must be one allowed by the egg).

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>",
      "docker_image": "<docker_image>"
    },
    "name": "set_docker_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
server_idYesShort server identifier
docker_imageYesDocker image string

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and idempotentHint=true, so the mutation and repeat-safety profile is covered. The description adds genuinely useful behavioral context by disclosing the egg-imposed validation constraint, which is not in the schema. It does not say whether the change takes effect immediately, whether the server restarts or must be stopped first, or what happens when the image is rejected — meaningful gaps for a runtime-changing write.

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?

A single short sentence with the action front-loaded and the constraint immediately following in parentheses. Nothing is wasted; the only weakness is thinness, which is penalized elsewhere rather than here.

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 two-parameter mutation with full schema coverage and an idempotency annotation, the definition covers the essentials plus the egg validation rule. It remains silent on the operational consequences of the change (restart requirement, immediate vs deferred effect) and there is no output schema to explain the result, leaving an agent to guess at side effects.

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 100%, so both server_id and docker_image are already documented in the schema, including the image format hint. The description adds only the constraint that the image must be egg-allowed, which is useful but not type or format detail beyond the schema. 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?

The description gives a specific verb and resource: it changes the server's Docker runtime image. The parenthetical adds scope (image must be allowed by the egg). It does not name a sibling, but among the listed siblings none is a plausible substitute for this operation, so differentiation risk is low.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: an agent can infer this is the tool for swapping a server's Docker image, and the egg constraint hints at a precondition. There is no explicit when-to-use vs when-not guidance, no mention of alternatives, and no statement of what prerequisite state (e.g. server stopped) may be required.

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