Skip to main content
Glama

update_startup_variable

Idempotent

Update an editable startup environment variable, such as MAIN_FILE or NODE_PACKAGES, on a Pterodactyl-hosted server to change how it launches.

Instructions

Update an editable startup environment variable (e.g. MAIN_FILE, NODE_PACKAGES).

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>",
      "key": "<key>",
      "value": "<value>"
    },
    "name": "update_startup_variable"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesEnvironment variable key (e.g. 'MAIN_FILE')
valueYesNew value for the variable
server_idYesShort server identifier

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.2/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 the useful constraint that only editable variables qualify, but says nothing about failure modes for non-editable keys, required permissions, or when the new value takes effect.

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; the parenthetical examples earn their place by clarifying the key format. It is efficient, though the terse framing leaves no room for the usage context the tool needs.

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 simple three-required-parameter update tool with full schema coverage and annotations covering safety, the basics are present. What 'editable' means and what happens on rejection or when the value applies are left unaddressed, which matters for a mutation tool.

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 all three parameters are documented in the schema, and the baseline is 3. The description only echoes the key parameter with examples (MAIN_FILE, NODE_PACKAGES) and adds no format or validation meaning beyond that.

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 (Update) plus the resource (startup environment variable) and gives concrete key examples, so it is distinguishable from get_startup_variables. It does not explicitly name or contrast the read-side sibling, keeping it short of a 5.

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?

The word 'editable' hints that only some variables can be changed, but the description never says when to use this versus get_startup_variables, nor how to discover which keys are editable. There is no explicit when/when-not guidance or named alternative.

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