Skip to main content
Glama

Compose up

k8s_compose_up

Starts workloads defined in a Compose file on Kubernetes, with optional image builds, detached mode, and named context targeting.

Instructions

Invoke the compose_up operation.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "compose_file": "<compose_file>"
    },
    "name": "k8s_compose_up"
  }
}

Input Schema

NameRequiredDescriptionDefault
buildNo
detachNo
contextNoNamed context of the multi-context pool to run against (see cm_multi_context list_contexts); the default context if omitted.
compose_fileYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.4.2

TDQS

D1.3/5.0
Behavior1/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=true, but the description adds no behavioral context whatsoever — nothing about what compose_file must point to, whether resources are created or replaced, what detach/build change, or what happens on failure. It contributes zero information beyond the structured fields.

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

Conciseness2/5

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

It is short, but that brevity is under-specification rather than conciseness: the single sentence conveys no actionable information and contains no front-loaded purpose statement worth reading.

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

Completeness1/5

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

For a 4-parameter, open-world mutation-ish operation with no output schema and sparse schema documentation, the description should establish purpose, target (k8s vs docker/podman), and parameter meaning. It covers none of these, leaving the agent unable to invoke the tool correctly from the definition alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 25% (only 'context' is documented in the schema), so the description carries the burden for compose_file, build, and detach — yet it explains none of them. It gives no hint about path/format expectations for the required compose_file argument or what build/detach toggles actually do.

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

Purpose2/5

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

The description is a tautology: "Invoke the compose_up operation" restates the tool name and title without saying what compose up actually does (start containers defined in a compose file against a k8s target). It makes no attempt to distinguish this from docker_compose_up or podman_compose_up.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no prerequisites, and no mention of alternatives. An agent cannot tell from this sentence why it would pick k8s_compose_up over the docker/podman variants, or when k8s_compose_down or k8s_compose_logs is the appropriate next call.

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

Deploy Server

Other Tools