Skip to main content
Glama
CBGPU Deploy MCP

CBGPU Deploy MCP

Official

set_environment_from_file

Destructive

Reads a user-authorized local .env file, parses literal values, and sets them on a project's frontend or server environment, returning only variable names without redeploying.

Instructions

Read the user-authorized local .env file on the computer running this MCP, parse literal dotenv values and securely set them on this project. Only variable names are returned. No shell expansion. Does not redeploy.

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": {
      "kind": "<kind>",
      "project_id": "<project_id>",
      "env_file": "<env_file>"
    },
    "name": "set_environment_from_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
env_fileYes
project_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and openWorldHint=true, and the description adds real behavior beyond them: values are parsed literally with no shell expansion, only variable names come back, and no redeploy is triggered. The notable omission is overwrite semantics — with destructiveHint=true, an agent still cannot tell whether existing project env vars are replaced, merged, or preserved, or what authorization 'user-authorized' requires operationally.

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?

Four short sentences with zero filler, front-loaded with the core action and followed by the constraints that most change agent behavior (literal parsing, return shape, no redeploy). Nothing repeats the schema or the annotations.

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?

There is no output schema, and the description usefully covers the return shape ('only variable names are returned') and the parsing model. However, for a destructive, non-idempotent mutation with three fully undocumented required parameters, the description leaves the overwrite/merge behavior and the env_file path format undefined, so it is not complete enough for confident invocation.

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?

Schema description coverage is 0% and the description explains none of the three required parameters. The frontend/server `kind` enum, the UUID `project_id`, and especially whether `env_file` is an absolute path, relative path, or filename are all left to inference, which matters greatly for a tool that reads from the local filesystem.

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 states a specific verb chain (read/parse/set) and the resource (literal dotenv values from a local .env file), then explicitly scopes it: 'on this project', 'Only variable names are returned', 'No shell expansion', 'Does not redeploy'. The file-based source and the 'does not redeploy' clause separate it from sibling tools like set_environment and redeploy without needing their schemas.

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?

It gives clear context for use (a user-authorized .env file on the MCP host, targeting a specific project) and explicitly rules out redeployment, which is the natural follow-up an agent might otherwise assume. It stops short of naming set_environment as the alternative for non-file value setting, so the when-not guidance is partial rather than exhaustive.

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