Skip to main content
Glama
sandraschi

Windows Operations MCP

by sandraschi

winops_svc_restart

Restart a Windows service and wait for it to reach the running state. Set an optional timeout (5-120 seconds) to control how long to wait before returning the status.

Instructions

Restart a Windows service and wait for running state.

Return Format

{"success": bool, "name": str, "status": str}

Examples

restart(service_name="spooler")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
service_nameYesWindows service name to restart.
wait_timeoutNoSeconds to wait for running state.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

Annotations already declare the operation as non-read-only, non-idempotent, and non-destructive. The description adds 'wait for running state', which is a behavioral detail beyond the annotations. However, it does not disclose failure handling, permission requirements, or effects on dependent services, providing only moderate added value.

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?

The description is highly concise and well-structured: a two-sentence purpose statement, a return format block, and a single-line example. Each element earns its place, and the main verb is front-loaded.

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?

Given the low complexity (2 parameters, 1 required, output schema provided), the description covers the core behavior, waiting, and return format. It lacks usage context and failure details, but those are partially covered by the success bool in the return format. Overall slightly above average completeness.

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 coverage is 100%, with both parameters clearly described (service_name and wait_timeout with default and range). The description includes an example but adds no additional semantic meaning beyond what the schema already provides, meriting the baseline score.

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 clearly states 'Restart a Windows service and wait for running state', specifying a concrete action and resource. It distinguishes itself from sibling tools like winops_svc_start and winops_svc_stop by focusing on the restart operation and its blocking behavior.

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 guidance on when to use this tool versus start/stop alternatives, nor any mention of prerequisites or side effects. The description merely states what it does, leaving the AI without context for choosing between this and related service tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sandraschi/windows-operations-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server