Skip to main content
Glama
crunchtools

mcp-podman-crunchtools

by crunchtools

service_logs_tool

Retrieve journal logs for a Podman container systemd unit. Specify unit name, number of lines, and timestamp to diagnose issues.

Instructions

Get journal logs for a Podman container systemd unit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
linesNoNumber of log lines to return (default: 50)
sinceNoShow logs since timestamp (e.g. "1 hour ago", "2024-01-01")
unit_nameYesSystemd unit name (e.g. "acquacotta.crunchtools.com.service")

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations provided, the description carries the full burden of disclosing behavioral traits. The verb 'Get' implies a read-only operation, but the description does not explicitly state that it is non-destructive, does not mention any permission requirements, and does not describe error behavior. It is minimally transparent but lacks explicit safety statements.

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

Conciseness5/5

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

The description is a single, concise sentence that front-loads the verb and object. It contains no fluff or redundancy, and every word contributes to understanding the tool's purpose. This is an example of efficient, well-structured description text.

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

Completeness4/5

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

The tool is simple, has fully documented parameters, and an output schema exists, so the description need not explain return values. The description gives the core purpose and enough context for an agent to differentiate it from container-level log tools. However, it lacks an explicit sibling comparison, which would make it complete for disambiguation.

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?

The input schema covers all three parameters with descriptions, achieving 100% schema coverage. The description adds no parameter-specific information beyond what the schema already provides, so it does not enhance parameter understanding. A baseline score of 3 is appropriate since the schema handles the semantic load.

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

Purpose5/5

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

The description uses the specific verb 'Get' and the clear resource 'journal logs for a Podman container systemd unit.' This distinguishes it from sibling tools like container_logs_tool, which would focus on container stdout/stderr rather than systemd journal logs. The resource is precise enough to select the correct tool among the many service and container tools.

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

Usage Guidelines4/5

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

The description provides clear context that this tool operates on systemd journal logs for a unit, implying it is for unit-level logs rather than container-level logs. However, it does not explicitly mention alternatives or exclusions, such as 'for container logs, use container_logs_tool' – so it stops short of full 5-point guidance. The context is clear, but not fully explicit.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/crunchtools/mcp-podman'

If you have feedback or need assistance with the MCP directory API, please join our Discord server