Skip to main content
Glama

Service logs

podman_service_logs

Retrieve logs for a specified Podman service, with an optional tail limit to review recent output and diagnose service issues.

Instructions

Invoke the service_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": {
      "service_id": "<service_id>"
    },
    "name": "podman_service_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
tailNo
service_idYes

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 declare readOnlyHint=false, openWorldHint=true and destructiveHint=false, but the description adds no behavioral context at all — nothing about permissions, streaming vs snapshot behavior, pagination, or ordering. It also does not explain why a log-retrieval operation is marked non-read-only, leaving a potential ambiguity for the agent to resolve blind.

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 a single short sentence with no padding, but the brevity comes from under-specification rather than efficiency. There is no front-loaded scope statement an agent can act on.

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 tool with two parameters at 0% schema coverage, no output schema, and a crowded sibling space of nearly identical log tools, this description provides none of the missing information. An agent cannot determine behavior or correct invocation from it.

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 0% and the description mentions neither parameter. It does not explain that service_id identifies the target service or that tail limits how many trailing log lines are returned, nor its default of 100. With two undocumented parameters, the description must compensate and does not.

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 service_logs operation" only restates the tool name in generic wrapping language. It implies retrieval of service logs but gives no object, scope, or differentiation from the many sibling log tools (docker_service_logs, k8s_service_logs, podman_pod_logs, podman_get_container_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 when-to-use guidance, no mention of alternatives among the log-oriented siblings, and no prerequisites or exclusions. An agent has nothing in the description to decide this tool versus podman_get_container_logs or podman_compose_logs.

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