Skip to main content
Glama

manage_env

Manage environment variables for Coolify applications, databases, or services: list all, set single or bulk values, and delete with confirmation.

Instructions

Manage environment variables for a Coolify resource (application, database, or service). action=list returns all vars with a redaction_hint when any value appears empty or masked. action=set upserts one var ({ key, value }) or many ({ vars: [{key,value},...] }) via bulk API. action=delete (fenced) removes a single var by its env_uuid (UUID returned from list); requires --allow-destructive and confirm:true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyNoVariable name. Required for action=set with a single var.
typeYesThe resource type.
uuidYesThe Coolify UUID of the resource.
varsNoArray of { key, value } pairs for bulk set (action=set).
valueNoVariable value. Required for action=set with a single var.
actionYesOperation to perform on environment variables.
confirmNoMust be true to confirm destructive operations (action=delete).
dry_runNoIf true, show what would be deleted without performing the action (action=delete).
env_uuidNoUUID of the env var to delete. Required for action=delete.
instanceNoCoolify instance name (omit for the default).
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses key behavioral traits: list returns a redaction_hint, set upserts via bulk API, delete is destructive and requires confirmation, and dry_run is supported. However, it does not mention side effects beyond deletion, error conditions, or authentication/rate limits, which are common gaps but not required given the tool's purpose.

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?

The description is around 70 words, front-loaded with the main purpose, and uses action= prefixes to organize behavior. Every sentence adds concrete information without redundancy, achieving high information density in a compact form.

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?

Given no output schema and 10 parameters, the description does well: it explains list's output, set's bulk capability, and delete's requirements. It falls short by not describing return values for set/delete or error behaviors, and it omits that type and uuid are required across all actions (but that is in the schema). Overall, it covers the core operational context.

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?

Although schema coverage is 100%, the description adds crucial relational meaning: it links action=set to key/value and vars, explains env_uuid comes from list, and ties confirm/dry_run to delete. This goes far beyond the schema's static descriptions and helps the agent choose the correct parameters per action.

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 starts with a clear verb+resource statement: 'Manage environment variables for a Coolify resource (application, database, or service).' It then enumerates the three actions (list, set, delete) with specific behavioral details, making it distinct from sibling tools like manage_storage or manage_backups.

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?

The description provides clear context for when to use each action (list for viewing, set for upserting, delete for removal) and specifies prerequisites like env_uuid from list. It also states that delete requires confirm:true. However, it does not explicitly compare with alternative tools or mention when not to use this tool, so it misses the explicit exclusion guidance that would earn a 5.

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/jimrarras/coolify-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server