Skip to main content
Glama

Compose ps

k8s_compose_ps

Lists the containers for a Compose file so you can check service status and troubleshoot workloads in the selected context.

Instructions

Invoke the compose_ps 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_ps"
  }
}

Input Schema

NameRequiredDescriptionDefault
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

C2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=true, so the safety profile is carried by structured data. The description adds nothing on top — no indication of what is queried, whether a cluster context is required, or what the result looks like. Notably, a "ps"-style listing tool with readOnlyHint=false is a surprising combination that only a richer description could clarify.

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?

The single sentence is short but that brevity reflects under-specification rather than economy; no sentence earns its place because the only sentence conveys no information beyond the title.

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?

For a tool with a required, undocumented parameter, no output schema, and open-world/state-accessing behavior, the description should explain what is inspected and in which context. Annotations cover safety but not purpose or parameters, so the essential gaps remain.

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

Parameters2/5

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

Schema coverage sits at 50%: context is documented inline but the required compose_file parameter has no description at all. The tool description does not compensate — it never mentions compose files, contexts, or how they combine, leaving the one mandatory parameter unexplained everywhere.

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?

"Invoke the compose_ps operation" restates the tool name with no verb or resource described; the agent learns nothing about whether this lists compose services, their status, or containers. The sibling names (docker_compose_ps, podman_compose_ps, k8s_compose_up/down/logs) suggest a listing operation, but the description provides no differentiation among them.

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

Usage Guidelines2/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 exclusions, and no named alternative. The agent must infer from the name alone that this inspects compose state rather than mutating it.

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