Skip to main content
Glama

Bulk Create/Update Application Environment Variables

coolify_bulk_create_app_envs
Idempotent

Create or update multiple environment variables for a Coolify application in one API call. Upserts existing keys and creates new ones, ideal for provisioning application configurations from external sources.

Instructions

Create or update multiple environment variables at once via a single API call. Coolify upserts: existing keys are updated, new keys are created. Useful when setting up a new application with all its required env vars from BWS.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uuidYesApplication UUID
revealNoReveal redacted secret values in the response (default false; the call is audited)
instanceYesREQUIRED — which Coolify instance to mutate: 'prod' (Hetzner VPS) or 'dev' (local OrbStack VM). No default: state the target explicitly so a write never lands on prod by accident.
variablesYesArray of env vars to create or update
Behavior4/5

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

The description adds value beyond annotations by explaining the upsert behavior and the instance parameter's safety design (no default to avoid accidental prod writes). 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 deliver the core purpose and key behavioral trait (upsert) with zero waste. Front-loaded and efficient.

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 bulk upsert tool, the description covers operation, idempotency, instance safety, and use case. Return value is not detailed but acceptable given no output schema.

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%, but the description adds meaningful context for the 'instance' parameter (prod/dev difference and safety note) and the 'reveal' parameter (audit note). Baseline 3 plus extra clarity warrants a 4.

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?

The description clearly states the tool creates or updates multiple environment variables (verb+resource). It distinguishes from single env var tools, but does not differentiate from the similar sibling 'coolify_bulk_set_app_env', which may cause ambiguity.

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 provides a specific use case ('setting up a new application with all its required env vars from BWS'), but does not explicitly compare to alternatives like the single create/update or bulk_set tools, nor state when not to use this tool.

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