Skip to main content
Glama
GeminiDesk MCP
by LZ7TOP

Inspect macOS launchd Service Detail

services_inspect_launchd

Inspect macOS launchd services by label and domain to retrieve detailed launchctl configuration and runtime status for troubleshooting.

Instructions

查看指定 macOS launchd 服务的详细配置与运行状态(launchctl print)。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "label": "<label>"
    },
    "name": "services_inspect_launchd"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelYes服务 Label(如 com.apple.Finder 或自定义服务名)
domainNo服务域:gui(当前用户)、system(系统级)或 auto 自动探测auto

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.4/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 behavioral burden. It does convey that this is a read/inspection operation backed by 'launchctl print', which implies non-mutating raw output, but it omits whether elevated permissions are needed, what happens when auto domain detection fails, and what the output looks like. Useful but incomplete disclosure for a zero-annotation tool.

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?

A single front-loaded sentence with no filler, and the mechanism is appended compactly in parentheses. Slightly terse for a tool with no annotations, but nothing is wasted.

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 (two parameters, one required) and has no output schema, so the description need not explain return values. However, with no annotations at all, it should have covered the read-only nature and permission/failure behavior explicitly; as written it is adequate but leaves real gaps.

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%, so both the label format and the domain enum (gui/system/auto) are already fully documented in the schema. The description adds no meaning about how 'domain' interacts with detection or why a caller would force a domain, so the baseline 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 gives a concrete verb and resource: inspect the detailed configuration and running status of a specified macOS launchd service. The parenthetical '(launchctl print)' anchors it to a specific underlying operation, which distinguishes it implicitly from control-oriented siblings such as services_control_launchd. It stops short of naming a sibling, so it does not earn 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 Guidelines3/5

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

Usage is only implied: the word 'specified' (指定) signals that the caller must already know the service label, hinting that a list tool is a precursor, but no alternative is named and no when-not guidance is given. Nothing tells the agent when to prefer this over services_list_system or services_control_launchd.

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