Skip to main content
Glama

generate_docker_setup

Generate production-ready Docker setup with multi-stage Dockerfile, docker-compose (non-root, healthchecks, DB/Redis), and Nginx reverse proxy with SSL for Node, Python, or static apps.

Instructions

Generates production-ready, multi-stage Dockerfile, docker-compose.yml (with non-root execution, healthchecks, db/redis integration), and Nginx reverse proxy configs with SSL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
app_typeYesApplication technology stack
includes_dbNoInclude PostgreSQL / MongoDB container in docker-compose
reverse_proxyNoReverse proxy integration (default: 'nginx')
includes_redisNoInclude Redis container in docker-compose
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It does disclose important aspects like non-root execution, healthchecks, and SSL integration, which signal production-readiness and security considerations. However, it does not specify what the tool actually returns (e.g., file contents as strings, paths, or a zip bundle), nor does it mention whether it writes files directly or if any side effects occur. This ambiguity could confuse an agent about the expected output.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, compact sentence that front-loads the primary outputs (Dockerfile, docker-compose.yml, Nginx configs) and then adds key features. It is concise without unnecessary filler. Slight improvement could be made by separating the list of features, but the current structure is efficient and easy to parse.

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

Completeness2/5

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

Given the complexity of generating multiple files and the absence of an output schema, the description is notably incomplete. It does not clarify the format of the tool's result—whether it returns the file contents, suggests filenames, or provides a download path. It also does not mention that app_type is a required parameter or that reverse_proxy has a default value, though these are in the schema. The lack of return-value information is a significant gap for an agent deciding how to handle the output.

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 description coverage is 100%, so the baseline is 3. The description mentions 'db/redis integration', which loosely maps to includes_db and includes_redis, but the schema already documents these parameters clearly. The description does not add meaningful detail about parameter usage, such as the effect of app_type on the generated Dockerfile or the default for reverse_proxy, leaving the schema to carry the semantic load.

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 specific verb 'Generates' and the resources: production-ready Dockerfile, docker-compose.yml, and Nginx reverse proxy configs with SSL. It details features like multi-stage, non-root execution, healthchecks, and db/redis integration, making it easy to distinguish from sibling tools that focus on other aspects like deployment checklists or CI workflows.

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 that the tool is used for generating Docker setup artifacts, but it does not explicitly mention when to use it versus alternatives. Since siblings include get_deployment_checklist and generate_github_actions_workflow, which could overlap in deployment contexts, the lack of explicit guidance on when to choose this tool over others is a gap. No exclusion criteria or alternative references are provided.

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/Akash1070/Super-Agent-Skill'

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