Skip to main content
Glama

Turn off a hosted MCP server

disable
Idempotent

Stops a hosted MCP server and removes its tools from the session. Refused while calls are still in flight, so you can safely shut down idle servers.

Instructions

Stops a hosted MCP server and removes its tools. Refused while it still has calls in flight.

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": {
      "name": "<name>"
    },
    "name": "disable"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesServer name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description still earns credit by disclosing two behaviors not in the annotations: that the server's tools are removed, and that the operation is blocked by in-flight calls. It does not state whether configuration is preserved for a later 'enable', nor what the refusal looks like to the caller.

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, zero filler, with the core effect front-loaded and the blocking condition second. Nothing could be removed without losing information.

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 one-parameter mutation tool that already carries annotations, this covers the essential effect and the one failure mode. It falls short only on recovery details and reversibility (whether state survives for a subsequent 'enable'), which an agent would likely want before disabling a production server.

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?

There is a single required parameter with 100% schema description coverage ('Server name'), so the schema fully documents it. The description adds no naming convention, qualification, or format detail beyond that, making the baseline of 3 appropriate.

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 (stops) and resource (hosted MCP server) plus a concrete secondary effect (removes its tools). That effect alone separates it from the sibling 'restart' and 'enable', which would not remove tools, so an agent can pick it 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?

The phrase 'Refused while it still has calls in flight' gives an explicit precondition for when the call will fail, which is real usage context. However, there is no guidance on when to choose 'disable' versus 'restart' or 'enable', and no statement about how to recover from the refusal (wait, drain, or check status via 'servers'/'info').

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

Deploy Server

Other Tools