Skip to main content
Glama

Change file permissions

files_chmod

Set octal file permissions (e.g., 644, 755) for one or multiple files under a root directory on a Pterodactyl panel server.

Instructions

Set the mode (e.g. 644, 755) of a file under a root directory.

Input Schema

NameRequiredDescriptionDefault
fileNoSingle file. Or use files.
modeNoOctal mode as a string, e.g. 755, for file.
rootNo
filesNoSeveral files at once, names relative to root.
panelNoName of a saved panel. Omit to use the active or default panel.
serverYes
baseUrlNoInline panel URL override, e.g. https://panel.example.com. Not persisted.
clientKeyNoInline client API key (ptlc_…) override. Not persisted.
applicationKeyNoInline application API key (ptla_…) override. Not persisted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It says nothing about whether permissions are replaced or merged, what auth/panel context is required, whether the operation is recursive, or what feedback is returned on failure 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?

One tight, front-loaded sentence with concrete mode examples and zero filler. It is efficient, though the brevity comes at the cost of the coverage noted elsewhere.

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 9-parameter mutation tool with no annotations and no output schema, a single sentence is insufficient. Key behaviors (batch mode, root-relative paths, connection overrides, error semantics) are left entirely to the schema and inference.

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?

Coverage is 78%, so the schema documents most parameters, but the description adds almost nothing beyond what the schema already says (file, mode, root). It never mentions the batch 'files' array, the panel/server selector, or the inline credential overrides, leaving the multi-file path and connection params without prose context.

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 ('Set') and resource ('mode of a file'), with examples 644/755, so an agent knows exactly what it does. It omits the batch ('files') capability that the schema supports, but the core purpose is unambiguous and there are no competing chmod siblings.

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?

No indication of when to use this vs alternatives, no mention that it is the tool for both single-file and multi-file permission changes, and no prerequisites. The only hint is 'under a root directory', which is scope, not usage guidance.

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