Skip to main content
Glama
crunchtools

io.github.crunchtools/systemd

by crunchtools

Unit List Tool

unit_list_tool

List active or all systemd units, filter by glob pattern for loaded or installed files to inspect services, sockets, timers, and targets.

Instructions

List systemd units.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNo"loaded" for units currently loaded in memory, "files" for all installed unit files (includes units not currently loaded)loaded
patternNoGlob pattern to filter unit names (e.g. "mcp-*.service")
all_unitsNoInclude inactive/dead units (default shows only active/failed)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/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 behavioral disclosure. 'List' implies a read-only operation, but the description does not disclose defaults, output shape, filtering behavior, or any prerequisites.

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, front-loaded sentence with no filler or repetition. Every word contributes to stating the tool's purpose.

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, the schema fully documents parameters, and an output schema exists, so return values do not need description. The main gap is the absence of usage guidance, but that is already penalized under usage guidelines.

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 provides complete, detailed descriptions for all three parameters, including defaults and examples. The tool description adds no parameter-level meaning, so the baseline of 3 applies.

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

Purpose4/5

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

The description states a clear verb and resource: 'List systemd units.' It is unambiguous about what the tool does and is easily distinguished from status/show/start-style siblings, though it does not explicitly name alternatives or 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?

No guidance is given about when to use this tool versus sibling tools like unit_status_tool or unit_show_tool. The description does not mention filtering modes, loaded vs installed units, or any exclusions.

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