Skip to main content
Glama

virtualization_shutdown

Gracefully stops the virtualization MCP server on agent request, such as before upgrades or restarts, so it shuts down cleanly without killing the process externally.

Instructions

Shut down the virtualization-mcp server gracefully.

Lets an agent stop the server (e.g. before upgrades or restarts) without killing the process from the outside.

Return Format

Dict with success, human-readable message, and the shutdown reason. The process exits after responding.

Examples

await virtualization_shutdown(reason="upgrading to 1.7.0")

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": "virtualization_shutdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNoWhy the server is being shut down.agent request

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and it does disclose the most important trait: 'The process exits after responding,' which tells the agent its connection will terminate. It also flags that the shutdown is graceful rather than abrupt. It leaves unclear whether in-flight requests are cancelled, whether the change is reversible, or how the agent is expected to reconnect afterwards.

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?

The purpose is front-loaded in one sentence, followed by the rationale, return format, and a single example — nothing is padded or circular. The markdown headings and code block are slightly heavy for a one-parameter tool but they keep the sections scannable.

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 terminal, server-killing operation the definition covers purpose, motivation, output shape, and a terminal-behavior warning, which is solid. However, an output schema already exists, making the Return Format section partly redundant, while genuinely important context — irreversibility, connection loss, what happens to pending work, and how to resume — is missing. The space would have been better spent on those.

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% and the single `reason` parameter already carries a description ('Why the server is being shut down') plus a default, so the schema does the documentation work. The worked example shows a realistic value for `reason`, which is a mild addition but adds no syntax or format meaning beyond the schema.

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 first line states a specific verb and resource — 'Shut down the virtualization-mcp server gracefully' — and the follow-up sentence explains the effect from an agent's perspective. No sibling tool performs shutdown, so no differentiation is required, and the agent can tell exactly what this does from the opening line alone.

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?

It gives concrete usage context ('before upgrades or restarts') and contrasts with the alternative approach ('without killing the process from the outside'), which is real when-to-use guidance. It stops short of exclusions — it never warns against calling mid-task, while other operations are in flight, or that a restart is required to resume service.

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