Skip to main content
Glama
GeminiDesk MCP
by LZ7TOP

List System Services (launchctl / systemd)

services_list_system

Lists local system and user-level daemon services on macOS and Linux using launchctl or systemctl, with optional name and running-state filters.

Instructions

读取和查看本机全部系统及用户级守护服务列表(macOS 下使用 launchctl list,Linux 下使用 systemctl)。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "services_list_system"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo最大返回条目数
filterNo按服务名称关键字过滤
statusNo按运行状态过滤all

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; it does establish that this is a read/view operation and discloses the platform-specific backend commands, which is genuinely useful context. It omits permission requirements, whether privileged services are included, and how results are shaped or ordered.

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

Conciseness4/5

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

One front-loaded sentence with purpose first and platform detail in parentheses; there is no filler. It is slightly dense for a single sentence, but every clause contributes.

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?

For a three-parameter read-only listing tool with no output schema, the description is adequate on purpose but silent on what an entry contains, whether root is needed for system-level units, and how filtering interacts with the items returned. These are meaningful gaps for an agent deciding whether to call it.

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% with documented limit, filter and status parameters, so the baseline of 3 applies. The description adds nothing about the filtering/pagination semantics and its emphasis on 全部 (all) sits slightly at odds with the existence of filter parameters.

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 and resource: read/list all system- and user-level daemon services on the local machine, and it even names the underlying mechanism (launchctl list on macOS, systemctl on Linux). It does not explicitly differentiate itself from sibling listing tools such as services_list_dev or services_list_ports, so it falls short of a 5.

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 when-to-use or when-not-to-use guidance and no named alternative. An agent must infer from the word 全部 (all) that this is the broad local inventory versus the more targeted dev/ports/process listing siblings, which is inference, not guidance.

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