Skip to main content
Glama

stop_server

Stops the sd-server instance launched by this MCP to free VRAM and RAM, without affecting other running instances.

Instructions

Stop sd-server (frees VRAM/RAM). Stops only the instance started by this MCP.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose the resource free and the instance scope, which is genuinely useful. It does not say what happens if the server isn't running (error vs no-op), whether the stop is graceful, or whether it's idempotent/safe to retry.

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 short sentences, both load-bearing: the first names the action and benefit, the second the scope constraint. Nothing redundant, front-loaded, easy to parse.

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?

For a zero-param, no-output-schema control tool this is nearly sufficient: action, effect, and blast radius are all covered. The main gap is failure/no-server-running behavior, which matters for an agent deciding whether to call it defensively.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so the baseline is 4. There is no parameter meaning to explain, and the description correctly does not invent any.

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?

States a specific verb and resource ('Stop sd-server') plus the immediate effect ('frees VRAM/RAM'), and clarifies scope against siblings like restart_server by saying it stops only the instance started by this MCP. An agent can distinguish it from start_server/restart_server without opening the schema.

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 implied by the action (stop the server to free memory), but the description never says when to prefer this over restart_server or what state the server must be in first. No explicit exclusions or alternatives are named beyond the implicit scope note.

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