Skip to main content
Glama

build_container_based_template

Create custom Docker container templates for deploying applications like Splunk, Wazuh, and Grafana in cyber range environments using specified base OS and container configurations.

Instructions

Build a custom container-based template for applications.

This tool creates templates specifically designed to run Docker containers, perfect for deploying applications like Splunk, Wazuh, Grafana, etc.

Args: name: Template name (e.g., "ubuntu-splunk-server") base_os: Base OS (e.g., "ubuntu-22.04", "debian-12", "rocky-9") containers: List of container configurations with image, ports, volumes, env description: Template description

Returns: Template creation result with docker-compose configuration

Example: # Create a Splunk container template result = await create_container_template( name="ubuntu-splunk-server", base_os="ubuntu-22.04", containers=[{ "image": "splunk/splunk:latest", "ports": ["8000:8000", "8088:8088", "9997:9997"], "environment": { "SPLUNK_START_ARGS": "--accept-license", "SPLUNK_PASSWORD": "changeme123!" } }], description="Ubuntu 22.04 with Splunk container" )

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
base_osYes
containersYes
descriptionNo
Behavior3/5

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

No annotations are provided, so the description carries full burden. It discloses the tool creates templates and returns a docker-compose configuration, but lacks details on permissions needed, whether it's idempotent, rate limits, or error conditions. The example helps but doesn't fully compensate for missing behavioral context.

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?

Well-structured with purpose statement, usage context, parameter details, return info, and example. Slightly verbose but each section earns its place. Could be more front-loaded by moving the example to a separate section.

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?

For a 4-parameter tool with no annotations and no output schema, the description covers parameters well but lacks behavioral context (permissions, side effects) and detailed return value explanation beyond 'Template creation result with docker-compose configuration'. The example helps but doesn't fully address completeness gaps.

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?

With 0% schema description coverage, the description fully compensates by providing detailed parameter explanations in the 'Args' section, including examples and structure for the complex 'containers' parameter. It adds significant meaning beyond the bare schema.

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 action ('Build a custom container-based template') and resource ('for applications'), with explicit examples of applications it's designed for (Splunk, Wazuh, Grafana). It distinguishes from sibling tools like 'build_template' by specifying the container-based nature.

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 usage context ('perfect for deploying applications like Splunk, Wazuh, Grafana') but doesn't explicitly state when to use this tool versus alternatives like 'create_container_template' (a sibling tool with similar name) or 'build_template'. No exclusions or prerequisites are mentioned.

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/tjnull/Ludus-FastMCP'

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