Skip to main content
Glama

Set Docker Compose Configuration

coolify_set_compose_config
Idempotent

Configure domain-to-service mapping, compose file location, and optional label reset for Traefik routing in Docker Compose applications.

Instructions

Configure compose-specific fields for a dockercompose application: domain-to-service mapping, compose file location, and optionally clear stale custom_labels. This is required after creating a compose app to set up Traefik routing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uuidYesThe UUID of the resource
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.
reset_labelsNoClear custom_labels so Coolify auto-generates from domain config (default: true)
docker_compose_domainsNoService-to-domain mapping for Traefik routing
docker_compose_locationNoPath to compose file in the repo (default: /docker-compose.yml)/docker-compose.yml
Behavior4/5

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

Annotations already indicate readOnlyHint=false, destructiveHint=false, and idempotentHint=true. The description adds behavioral context: it modifies domain mapping and compose location, and optionally clears labels. It also warns about the instance parameter to prevent accidental writes to production. No contradiction 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?

The description is extremely concise: two sentences with no filler. The first sentence lists the configurable fields, and the second explains necessity. It is front-loaded and efficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

While the description explains the purpose and timing, it does not describe the output or possible side effects (e.g., whether it triggers a redeployment). Given no output schema, some users might want to know what the response contains. However, idempotentHint and destructiveHint annotations mitigate concerns about mutation.

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 coverage is 100%, so baseline is 3. The description does not provide additional insights beyond what the schema already documents for each parameter. The schema descriptions are detailed, including defaults and the warning for instance. The description merely summarizes the parameter groups without adding new information.

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 tool configures compose-specific fields for a Docker Compose application, listing the three key actions: domain-to-service mapping, compose file location, and optional clearing of labels. It distinguishes itself from sibling tools like coolify_create_application_dockercompose and coolify_update_application by specifying it is required after creation for Traefik routing.

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 explicitly says 'This is required after creating a compose app to set up Traefik routing,' providing clear context for when to use the tool. It does not explicitly list when not to use it or mention alternatives, but the context is sufficient for an agent to infer typical usage.

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