Skip to main content
Glama

Bulk Create/Update Service Environment Variables

coolify_bulk_update_service_envs
Idempotent

Bulk create or update environment variables for Coolify docker-compose services. Upserts variables by key; specify target instance to prevent accidental production changes.

Instructions

Create or update multiple environment variables at once for a Coolify service (docker-compose apps). Coolify upserts: existing keys are updated, new keys are created. Use for Flavor C apps (ContactHub, CRM, etc.) — NOT for single-container applications.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uuidYesService 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?

Description adds value beyond annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false) by explaining upsert behavior, audit logging for reveal parameter, and instance safety note to prevent accidental prod writes. Missing details on rate limits or error handling, but overall strong.

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?

Three concise sentences, front-loaded with main action, no wasted words. Every sentence provides critical context.

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?

Adequate for a bulk update tool with full schema coverage. Covers upsert semantics, scope restriction, instance safety, and audit note. Lacks response format or error handling details, but not critical given no output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but description adds significant meaning: upsert behavior for variables, instance parameter explained with explicit safety rationale, and reveal parameter noted as audited. This goes beyond raw schema descriptions.

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 clearly states the verb 'Create or update' and resource 'multiple environment variables at once for a Coolify service (docker-compose apps)', distinguishing it from sibling tools like coolify_create_app_env or coolify_update_service_env by emphasizing bulk/upsert behavior and Flavor C app scope.

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 states 'Use for Flavor C apps (ContactHub, CRM, etc.) — NOT for single-container applications', providing clear context for when to use vs avoid. Does not name specific alternative tools but context from sibling list implies singular env var tools exist.

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