Skip to main content
Glama
CBGPU Deploy MCP

CBGPU Deploy MCP

Official

set_environment

Destructive

Add, update, or remove selected frontend/server environment variables while preserving existing settings; null deletes a named variable. Use file input for secrets; no redeploy.

Instructions

Add/update selected environment variables, or remove named variables with null. Existing variables and system settings are preserved. Only owner/editor can edit. Prefer set_environment_from_file for secrets to keep values out of tool arguments. 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>",
      "variables": "<variables>"
    },
    "name": "set_environment"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
variablesYes
project_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already flag destructive and non-idempotent behavior; the description adds real value by explaining that null deletes a variable, that unmentioned variables and system settings are preserved (partial-update semantics), that owner/editor permission is required, and that no redeploy follows. It does not mention value size limits or whether changes are versioned/reversible.

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?

Five short sentences, front-loaded with the action and the null-removal rule, then preservation, permissions, alternative routing, and the redeploy caveat. No filler and nothing buried.

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?

For a destructive mutation with a nested variables object and no output schema, the description covers side effects, permission gate, and follow-up requirements well. The main remaining gap is not explaining what the kind enum means in terms of where variables apply.

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 0%, so the description must compensate. It does explain the variables map (string values, null to remove), but leaves the kind enum (frontend vs server scope) and project_id entirely to the schema, so coverage is only partial.

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?

States specific verbs and resource: add/update selected environment variables, or remove named ones with null. It also names the sibling set_environment_from_file as the alternative for secrets, so the agent can distinguish this tool from its closest neighbor without opening 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?

Explicitly routes secret handling to set_environment_from_file and notes that this tool does not redeploy, implying redeploy must be called separately. It also states the owner/editor requirement. It gives no guidance on when to use list_environment first to inspect existing values, which would have earned a 5.

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