Skip to main content
Glama
GeminiDesk MCP
by LZ7TOP

Control Homebrew / Docker Service

services_control_dev

Start, stop, or restart Homebrew services and Docker containers to manage local services; requires the services.manage permission.

Instructions

启动、停止或重启 Homebrew Services 或 Docker 容器,需开启 services.manage。

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": {
      "provider": "<provider>",
      "target": "<target>",
      "action": "<action>"
    },
    "name": "services_control_dev"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes执行动作
targetYesHomebrew 服务名或 Docker 容器名/ID
providerYes服务提供方:homebrew 或 docker

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden but at least discloses an access prerequisite (services.manage) that no structured field provides. It gives no information about the state change's impact — whether stopping a service affects dependent workloads, whether containers are removed or merely halted, or what is returned.

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?

A single sentence with the action set front-loaded, followed by the resource scope and the permission prerequisite. Nothing is padded and the most decision-relevant information arrives first.

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 mutation tool with complete schema coverage and no output schema, the essentials are present and the permission gate is noted. Gaps remain around error behavior for unknown targets and the effect of stopping a running service, which matter for a control tool that changes system state.

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 enum constraints on both provider and action, so the schema already explains all three parameters fully. The description adds nothing beyond the schema — not even that target semantics differ between a Homebrew service name and a Docker container name/ID. 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?

States a specific verb set (start/stop/restart) and the exact resource set (Homebrew Services or Docker containers), so the agent knows precisely what class of object is acted on. It does not name the sibling services_control_launchd, leaving the boundary between the two control tools implicit rather than explicit.

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 it (any start/stop/restart of homebrew or docker targets) and adds a prerequisite — services.manage must be enabled — which is genuinely useful routing context. It contains no explicit when-not guidance or pointer to the launchd sibling for launchd-managed services.

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