Skip to main content
Glama
crunchtools

io.github.crunchtools/systemd

by crunchtools

unit_mask_tool

Prevent a systemd unit from being started, even manually, by masking it. Refuses to mask protected units.

Instructions

Mask a unit so it cannot be started even manually. Refused for protected units.

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

A4/5.0
Behavior4/5

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

No annotations are present, so the description carries the behavioral burden. It discloses the key mutating effect ('cannot be started even manually') and a notable exception ('Refused for protected units'). It does not mention reversibility via unmask, but the core behavior is clearly exposed.

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?

Two short sentences with no filler. The main effect is front-loaded and the exception is stated efficiently, making every sentence valuable.

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?

For a simple single-parameter tool with an output schema, the description is largely complete: it states the action, the consequence, and a protective refusal case. It could add a mention of undoability via unmask, but nothing critical is missing for invoking 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?

The input schema covers 100% of the single parameter with 'Systemd unit name', so the schema already documents what is needed. The description does not add extra meaning beyond that, matching the baseline for high schema coverage.

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 a specific verb ('Mask') and names the resource ('a unit'), and clearly states the effect: the unit cannot be started even manually. This distinguishes it from related operations like enable, disable, and unmask.

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 the tool is for situations where even manual starts must be blocked, which hints at when it should be preferred over disable. However, it does not explicitly name alternatives or state when not to use it, leaving some inference to the agent.

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