Skip to main content
Glama
Nimbuz MCP Server

Nimbuz MCP Server

Official
by nimbuz-tech

Set app variables and secrets

set_app_variables
Idempotent

Add, change, or remove an app's environment variables and secrets while preserving unmentioned keys; the app restarts to apply changes and secret values stay hidden.

Instructions

Adds, changes or removes an app's environment variables and secrets. Existing keys that are not mentioned stay as they are. The app restarts to pick up the change. Secret values are never returned.

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": {
      "app": "<app>"
    },
    "name": "set_app_variables"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesApp (deployment) name or ID.
envNoVariables to add or change, KEY → value.
unsetNoKeys to remove (from variables and secrets).
projectNoProject name or ID. Defaults to NIMBUZ_PROJECT, the `nimbuz use` context, or the only project.
secretsNoSecrets to add or change, KEY → value.
environmentNoEnvironment name (e.g. production) or ID (env-…). Defaults to NIMBUZ_ENV, the `nimbuz use` context, or the only environment.
waitSecondsNoWait up to this many seconds for the rollout to finish (default 0 = return immediately). Builds usually take 1-5 minutes; check later with get_app_status.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.3

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=true, so the baseline is covered. The description adds genuinely useful behavior beyond that: unmentioned keys are preserved, the app restarts to pick up changes, and secret values are never echoed back — though it omits who may call this and how long the restart disrupts the app.

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, each carrying distinct information: capability, merge semantics, the restart side effect, and the secret-return guarantee. The capability statement is front-loaded and nothing is redundant.

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 seven-parameter mutation tool with no output schema, the description covers the important operational facts (mutation semantics, restart, secret redaction). The only gap is what the call actually returns — a release, a build ID, or nothing — which the agent must guess when chaining to get_app_status.

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%, so all seven parameters are already documented, making 3 the baseline. The description earns a step up by clarifying the merge relationship between the env, secrets, and unset parameters — the sentence about unmentioned keys surviving is exactly the kind of interaction detail a schema cannot express.

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?

Opens with a specific verb set (adds, changes, removes) applied to a precisely scoped resource (an app's environment variables and secrets), which separates it cleanly from the neighboring update_app or redeploy_app tools an agent might otherwise confuse it with.

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 description implies usage through semantics — 'Existing keys that are not mentioned stay as they are' tells the agent this is a patch-style operation rather than a full replace — but it never states when to prefer this tool over update_app or redeploy_app, nor does it mention prerequisites such as permissions or a project/env context.

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