Skip to main content
Glama
crunchtools

mcp-podman-crunchtools

by crunchtools

Container Logs Tool

container_logs_tool
Read-only

Retrieves logs for a specified Podman container by name or ID, with optional line limits, timestamps, and since-time filtering for debugging and monitoring.

Instructions

Get container logs.

Input Schema

NameRequiredDescriptionDefault
nameYesContainer name or ID
tailNoNumber of lines from the end of the logs
sinceNoShow logs since timestamp (RFC3339, e.g. "YYYY-MM-DDThh:mm:ssZ")
timestampsNoAdd timestamps to each log line

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.0.0
    • changedInput schema / properties / since / description
      Previous value: -"Show logs since timestamp (e.g. \"2024-01-01T00:00:00Z\")"New value: +"Show logs since timestamp (RFC3339, e.g. \"YYYY-MM-DDThh:mm:ssZ\")"
  2. First observedv0.2.2

TDQS

C2.4/5.0
Behavior2/5

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

The readOnlyHint=true annotation already establishes this is a safe read operation. The description adds no behavioral context beyond that: it doesn't say whether logs stream/follow, whether it blocks, how many containers are supported, or what permissions or constraints apply.

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 one-line description is front-loaded and free of waste, but it is under-specified for a tool with four parameters and runtime-log behavior. Brevity here comes at the cost of necessary context, not as efficient structuring.

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?

An output schema exists and the annotations cover the safety profile, so return values need not be explained. Still, the description leaves important operational context unstated—e.g., whether logs are current-only, how tail/since interact, or whether the call follows logs—which an agent needs to invoke it correctly.

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 the schema already documents name, tail, since, and timestamps. The description adds no parameter meaning beyond the schema, which is acceptable at baseline when structured fields do the heavy lifting.

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

Purpose3/5

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

States a specific verb and resource ('Get container logs'), so the basic purpose is understandable. However, among many container_* siblings it offers no differentiation from tools like container_inspect_tool or container_stats_tool, and the description is too terse to fully clarify scope.

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 guidance on when to use this tool versus alternatives such as container_inspect_tool for metadata or container_stats_tool for resource usage. The agent must infer that 'logs' means runtime output rather than inspect/stat data.

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