Skip to main content
Glama

Service Stop

service_stop
Destructive

Use this to stop one specifically named OS service on a paired computer when requested. Stopping may interrupt users, applications or network availability; confirm the service name and impact first.

Input Schema

NameRequiredDescriptionDefault
nameYesService/unit/launchd label.
scopeNoScope of the operation; choose user scope unless the task explicitly requires a system service.
deviceYesReMCP device id returned by list_devices. Required for every device operation.

Output Schema

NameRequiredDescriptionDefault
dataNoService control structured result for service. Stable fields are declared explicitly; platform-specific fields may be added. Large results may return truncated/bytes/preview instead of the full payload.
textYesConcise human-readable result of the tool call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and idempotentHint=false, so the safety profile is covered. The description adds context that isn't in the annotations: stopping may interrupt users, applications, or network availability, and the service name plus impact should be confirmed beforehand.

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 sentences: the purpose and target first, the impact warning and confirmation requirement second. No filler, and the destructive caveat is placed where an agent will read it before choosing parameters.

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?

An output schema exists and annotations carry the mutation-safety signals, so the description only needs to cover intent and preconditions, which it does. A note on what happens when the service is already stopped, or on error/authorization behavior, would close the remaining 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%, and the engine labels are already documented in the schema, including the guidance to choose user scope unless system is required. The description only restates that a single named service on a paired device is targeted, adding no syntax or format detail beyond 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?

States a specific verb and resource: stop exactly one named OS service on a paired computer, with the 'one service at a time' scope made explicit. The action verb cleanly distinguishes it from siblings like service_start, service_restart, service_list and service_status without needing to name them.

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

Usage Guidelines4/5

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

Gives an explicit trigger ('when requested') plus a precondition ('confirm the service name and impact first'), which is real routing guidance toward caution. It stops short of naming alternatives such as service_restart for cases where the user wants the service back up, so it's not a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources