Skip to main content
Glama

configure_env

Create or update a VPS project's .env file to securely manage production environment variables, with an optional backup before changes.

Instructions

Create or update .env file on the VPS. Securely manage environment variables for production.

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": {
      "projectId": "<projectId>",
      "instanceName": "<instanceName>",
      "projectPath": "<projectPath>"
    },
    "name": "configure_env"
  }
}

Input Schema

NameRequiredDescriptionDefault
backupNoCreate backup before updating
projectIdYesGoogle Cloud project ID
variablesNoEnvironment variables as key-value pairs
envContentNoRaw .env content (alternative to variables)
projectPathYesPath to project directory
instanceNameYesVPS instance name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden — and it does disclose the mutation itself ('Create or update') plus the backup-before-updating capability that the schema hints at. But it does not say whether existing variables are merged or replaced, whether services restart, what permissions are needed, or what 'Securely manage' concretely means; that phrase is marketing filler rather than behavioral detail.

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?

Two short sentences, front-loaded with the actual operation. The second sentence ('Securely manage environment variables for production') contributes little concrete information and could be replaced with more useful detail, but the overall length is appropriate.

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?

This is a destructive-adjacent write tool with no annotations and no output schema, and it accepts a nested variables object whose replacement semantics are undefined. The description should state what happens to pre-existing variables, what the backup produces, and any authentication or connection requirements; none of that is present, leaving a meaningful gap 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 the schema already documents all six parameters, including the backup default and the envContent-alternative-to-variables relationship. The description adds no parameter-level meaning beyond that, so the baseline of 3 applies.

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 pair (create or update) and a specific resource (.env file) with a clear target (the VPS). It is distinguishable from read-oriented siblings like get_env, but it never contrasts itself with upload_env, which likely handles the same resource by a different mechanism.

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

Usage Guidelines3/5

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

The phrase 'Create or update' implies an upsert use case, which gives an agent implicit guidance on when to call it. However, there is no explicit guidance on when to prefer upload_env, get_env, or how to choose between the 'variables' and 'envContent' modes, and no stated prerequisites.

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