Skip to main content
Glama

Write VPS File

vps_write_file
Idempotent

Write content to a file on a selected VPS, creating or overwriting it. Targets production or development instances.

Instructions

Write content to a file on the selected VPS. Creates the file if it doesn't exist, overwrites if it does. Targets Hetzner prod by default; pass instance='dev' for the OrbStack ubuntu machine.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesAbsolute path for the file on the VPS
revealNoReveal redacted secret values in the response (default false; the call is audited)
contentYesContent to write
instanceNoWhich VPS to target: 'prod' (Hetzner at 178.156.247.239 via SSH) or 'dev' (local OrbStack machine via `orb run`). Defaults to 'prod'. Must match the Coolify instance when debugging Coolify-managed containers — mismatched routing silently hits the wrong host.prod
Behavior4/5

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

Annotations already indicate non-read-only, idempotent, non-destructive. Description adds behavior about file creation/overwrite and instance selection warning. No contradictions with annotations.

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 with clear, front-loaded information. No unnecessary words; every part earns its place.

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?

Given no output schema and 4 parameters, the description covers essential behavior, defaults, and a key caution. Lacks info on return values or permissions, but sufficient for typical use.

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% with descriptions for all parameters. The description enhances the 'instance' parameter with a real-world example and a warning about mismatched routing, adding value beyond the schema.

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 clearly states the tool writes content to a file on a VPS, with create/overwrite behavior. It distinguishes itself from siblings like vps_read_file by specifying the action (write) and resource (VPS file).

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?

Provides explicit guidance on default target (prod) and alternative (dev), plus a caution about Coolify instance mismatches. However, it does not explicitly state when not to use this tool or compare it to sibling Coolify tools that might also write files.

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/AlobarQuest/infraops-mcp-server'

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