Skip to main content
Glama
aolmosj

pz-nitrado-mcp

by aolmosj

Write a remote file

pz_write_file

Replace a gameserver file with new content while automatically keeping a timestamped backup. Use for whole-file updates like SandboxVars.lua; changes apply after a server restart.

Instructions

Overwrite a file on the gameserver, keeping a timestamped .bak copy of the previous content. Use this for whole-file replacements such as a rewritten SandboxVars.lua; prefer pz_set_settings for individual .ini keys. Takes effect after a restart.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYesAbsolute remote path, or one of the shortcuts 'ini' (main server config), 'sandbox' (SandboxVars.lua), 'spawnregions', 'spawnpoints'.
contentYesFull new file content; replaces the file entirely.
service_idNoNitrado service id. Defaults to NITRADO_SERVICE_ID when omitted.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries the transparency burden. It discloses that a timestamped .bak is kept, that the file is overwritten, and that changes take effect after restart. This goes beyond schema details, though it doesn't cover error cases or permissions.

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?

Two sentences, front-loaded with the core action, and no filler. Every clause adds value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers purpose, usage guidance, and key behavioral effects. The output schema presumably handles return values. For a file write tool, this is sufficient and complete.

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 coverage is 100% with good descriptions for all three parameters, so the description doesn't need to add param detail. It reinforces the whole-file replacement context but adds no new parameter semantics.

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 explicitly states 'Overwrite a file on the gameserver' with a clear verb and resource, and distinguishes from pz_set_settings by indicating whole-file replacements. This clearly separates it from sibling tools.

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

Usage Guidelines5/5

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

It explicitly states 'Use this for whole-file replacements such as a rewritten SandboxVars.lua; prefer pz_set_settings for individual .ini keys,' providing direct when-to-use and alternative guidance. The restart caveat adds further usage context.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aolmosj/pz-nitrado-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server