Skip to main content
Glama

obi_docker_compose

Generate a ready-to-use docker-compose.yml for deploying OBI, with optional OpenTelemetry Collector service, network, volume, and resource settings.

Instructions

Generate a docker-compose.yml file for deploying OBI. Optionally includes OpenTelemetry Collector service. Returns complete compose file content ready to use.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "obi_docker_compose"
  }
}

Input Schema

NameRequiredDescriptionDefault
networkNoDocker network mode (host, bridge, or custom network)host
volumesNoVolume mappings (host:container)
resourcesNoResource limits for OBI container
targetPortNoTarget port to monitor
otlpEndpointNoOTLP endpoint for exporting telemetryhttp://localhost:4317
exportEndpointNoExternal endpoint for collector to export data to (optional)
includeCollectorNoInclude OpenTelemetry Collector service

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the key behavior that the result is "complete compose file content ready to use," which suggests no side effects, but it never says whether anything is written to disk, whether a running stack is touched, or what happens on repeated calls.

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?

Three short sentences with the artifact front-loaded and no filler. "Ready to use" is slightly redundant after "complete compose file content," but the text is otherwise 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?

With seven parameters, a nested resources/volumes object, no output schema, and no annotations, the description does just enough by stating that the return value is the compose file content. It leaves gaps around whether a file is persisted and how the Collector-related parameters combine, which matter for a generation tool of this shape.

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 all seven parameters already have documented meaning, establishing a baseline of 3. The description only adds that the Collector inclusion is optional, without clarifying how otlpEndpoint, exportEndpoint, and includeCollector interact in the generated file.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and artifact ("Generate a docker-compose.yml file for deploying OBI") and adds that it optionally includes a Collector service. That is clear enough to distinguish it from the action-oriented siblings like obi_docker_deploy, but it never explicitly states that it only produces file content rather than performing a deployment.

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?

Use is implied by "for deploying OBI" and the optional collector flag, so an agent can infer this is a pre-deployment generation step. However, there is no explicit when-to-use guidance, no statement that this should be used instead of obi_docker_deploy when only a file is wanted, and no prerequisites.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.