Skip to main content
Glama
Pterodactyl MCP Extended
by pawfox

update_user

Destructive

Modify an existing Pterodactyl user's username, email, password, or admin status. Find the user ID first with list_users or get_user; requires an Application API key.

Instructions

Update an existing user account's details: username, email, password, or admin status (admin action). Use list_users or get_user to find the user ID first. Requires Application API key.

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": {
      "user_id": "<user_id>"
    },
    "name": "update_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailNoNew email address
user_idYesUser numeric ID
passwordNoNew password (min 8 characters)
usernameNoNew username
root_adminNoWhether the user is an admin

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, so the description's remaining job is added context: it contributes the Application API key requirement and notes that changing admin status is an admin action. However, it never says whether omitted fields are preserved (partial vs. full update), whether a password change invalidates sessions, or what the caller gets back — meaningful gaps 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?

Three short sentences, front-loaded with the operation and its field scope, then the ID-resolution prerequisite, then the auth requirement. Every sentence carries distinct, actionable information with no filler.

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?

For a five-parameter mutation with no output schema, the description covers purpose, prerequisite lookup, auth requirement, and the sensitive field's admin restriction, which is most of what an agent needs. The main missing piece is partial-update semantics — what happens to fields not supplied — which matters given only user_id is required.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, and the description still adds value by mapping its field list onto the parameters and tagging root_admin as an '(admin action)' restriction that the schema's plain 'Whether the user is an admin' text does not convey. It does not add format details for email or password beyond what the schema already enforces with pattern and minLength.

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?

The description gives a specific verb (update) plus resource (existing user account) and enumerates the mutable fields: username, email, password, admin status. The word 'existing' separates it from create_user, and the field list lets an agent decide relevance 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?

It explicitly tells the agent to resolve the user ID via list_users or get_user first, which is the key prerequisite for the required user_id parameter. It does not state when not to use the tool or what to do for bulk changes, so it is clear context but without exclusions.

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