Skip to main content
Glama

disable_lb_pool_member

Destructive

Drain and disable a pool member gracefully so existing connections finish and new traffic stops; preview impact before confirming changes.

Instructions

[WRITE] Disable a pool member with graceful drain — existing connections complete, no new traffic.

Without confirm=True this only previews: it returns blast_radius (pool name and uuid, the member's IP/port/state, and how many members are enabled before and after) and changes nothing. Show that to the user and get their explicit decision. Do not set confirm=True on your own because the user asked earlier: they have not seen what it changes yet. An already disabled member returns action "noop".

Refused with confirm=True: the pool's only enabled member (the pool would serve nothing — enable another first, or use set_virtual_service_enabled on purpose), an IP that matches more than one member, and a pool whose members cannot be read. Use for maintenance or rolling deployments; run list_lb_pool_members first for the server IP, enable_lb_pool_member to reverse it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
poolYesExact pool name as shown by list_lb_pools — matched literally, not fuzzily, and an unknown name is refused rather than ignored. Pools are often named differently from the Virtual Services that use them, so do not infer it from a VS name.
serverYesServer IP address.
confirmNoFalse (default) returns the blast radius and changes nothing. True applies it.
confirmedNoDeprecated alias for confirm; removed in the next minor release. confirmed=False holds even when confirm=True.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.4.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations declare destructiveHint=true, readOnlyHint=false, idempotentHint=false, and the description goes well beyond them: it documents the two-phase preview/apply protocol, the exact contents of blast_radius, the noop outcome for an already-disabled member, and the specific refusal conditions. For a destructive mutation this is unusually complete disclosure.

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?

Front-loaded with the [WRITE] tag and the drain semantics, then the confirm protocol, then refusals and usage. Dense but every sentence carries decision-relevant content. The heavily nested parentheticals slightly reduce scannability, keeping it short of a 5.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive tool with no output schema, the description covers both possible return shapes an agent will encounter (blast_radius payload on preview, "noop" on already-disabled) plus the refusal cases. Nothing needed to invoke it safely is missing.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning by framing confirm as a preview-versus-apply gate and explaining that the preview output must be surfaced to the user before applying. The deprecated confirmed alias is documented in both places, so it adds nothing there.

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, resource, and mechanism: "Disable a pool member with graceful drain — existing connections complete, no new traffic." This is unmistakably differentiated from the sibling enable_lb_pool_member and from set_virtual_service_enabled, which it names explicitly.

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

Usage Guidelines5/5

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

Gives explicit when-to-use (maintenance, rolling deployments), a prerequisite (run list_lb_pool_members first for the server IP), the inverse tool (enable_lb_pool_member), and multiple when-not conditions (already disabled → noop; sole enabled member → refused; ambiguous IP → refused). The confirm workflow guidance — "Do not set confirm=True on your own" — is exactly the kind of decision rule an agent needs.

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