Skip to main content
Glama
crunchtools

io.github.crunchtools/systemd

by crunchtools

Unit Reload Tool

unit_reload_tool

Reload a systemd unit's configuration without restarting, applying changes to a running service. Specify the unit name to trigger the reload.

Instructions

Ask a unit to reload its configuration without restarting.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
unit_nameYesSystemd unit name

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It correctly indicates the operation is non-restarting, which is a key behavioral trait. However, it does not disclose potential side effects, whether the reload is synchronous, or what happens if the unit is not running, which would be useful for an agent invoking the tool.

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 action and object. Every word earns its place, and there is no redundant or vague filler.

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

Completeness3/5

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

The tool is simple with one parameter and an output schema, so the description does not need to explain return values. However, given the sibling set includes unit_restart_tool and daemon_reload_tool, the description could have clarified the distinction between reloading a unit's config and reloading systemd's manager configuration. The lack of behavioral details (e.g., effect on running processes) leaves a moderate gap.

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% for the single parameter, and the description adds no additional meaning beyond the schema's 'Systemd unit name'. The description's mention of 'unit' aligns with the parameter, but it does not clarify format, validity rules, or how the unit_name is resolved, so it adds minimal value over the schema.

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 specific verb ('reload') and resource ('unit's configuration'), and the title reinforces the tool's purpose. It is clear enough to distinguish from siblings like unit_start_tool or unit_restart_tool, though it does not explicitly name a sibling or contrast itself with unit_restart_tool.

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

Usage Guidelines3/5

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

The description implies when to use the tool: when a unit's configuration has changed and needs to be reloaded without a full restart. However, it does not explicitly state when not to use it or mention alternatives like unit_restart_tool or daemon_reload_tool, leaving some ambiguity for an agent deciding between reload and restart.

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