Skip to main content
Glama

Compose logs

podman_compose_logs

Retrieve logs from a Podman Compose project or specific service by providing the compose file and optional service name.

Instructions

Invoke the compose_logs 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": "podman_compose_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
serviceNo
compose_fileYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.4.2

TDQS

D1.1/5.0
Behavior1/5

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

The description adds nothing beyond the annotations; in fact, it says nothing at all about behavior. The readOnlyHint of false is potentially misleading for a logs operation, and the description does not clarify whether the operation reads or mutates, whether the logs are streamed or returned in a snapshot, or whether the compose file and service scope limit the request.

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 description is short, but it is under-specified rather than concise: it contains no useful content, and its single sentence merely points back to the operation name.

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?

Given the undocumented parameters, the absence of an output schema, and the ambiguous annotations, the definition should explain what logs are returned and how the scope is applied. It does none of this.

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?

The schema description coverage is 0%, and the description supplies no meaning for either parameter. The agent cannot learn from the definition whether 'service' filters logs to one service or how 'compose_file' is resolved.

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

Purpose1/5

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

The description 'Invoke the compose_logs operation' is a tautology that only restates the tool name. It gives no verb-plus-resource explanation of what retrieving compose logs actually does, and it does not distinguish this tool from podman_get_container_logs, podman_service_logs, or podman_pod_logs.

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 indication of when to use this tool, when not to use it, or which sibling covers the filtering of logs by container or service. The agent receives no guidance about prerequisites such as a running compose project.

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