Skip to main content
Glama

disable_lb_pool_member

Destructive

Gracefully drains a load balancer pool member so existing connections finish and no new traffic is routed. Previews the blast radius by default; set confirm to apply the change.

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.

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": {
      "pool": "<pool>",
      "server": "<server>"
    },
    "name": "disable_lb_pool_member"
  }
}

Input 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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.5.2
    • removedInput schema / properties / confirmed
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "boolean"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Deprecated alias for confirm; removed in the next minor release. confirmed=False holds even when confirm=True.",
      -  "title": "Confirmed"
      -}
  2. Addedv2.4.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, so the description's value-add is the two-phase confirm/preview contract, the exact blast_radius payload returned by a preview, the "noop" outcome for an already-disabled member, and three distinct refusal conditions. The only real gap is that it doesn't say whether the drain has a timeout or how long connections may linger before the disable takes effect.

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 marker, the one-line purpose, and the drain behavior before the confirm contract. The refusal list and usage sentence are dense but earn their place; the explanation for why not to set confirm=True is slightly verbose but is a deliberate safety guardrail.

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 mutation with no output schema, the description covers what a preview returns, what confirm does, terminal noop state, refusal cases, and the inverse tool. An agent has everything needed to call it correctly without inspecting anything else.

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 parameters are documented without description help. The description nevertheless adds consequential semantics for confirm: that a preview is the default, what it returns, and the policy that the agent must not self-confirm — meaning that goes beyond the schema's terse "False (default) returns the blast radius and changes nothing."

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 ("Disable a pool member") plus the operational mode ("graceful drain — existing connections complete, no new traffic"). The [WRITE] prefix and the contrast with enable_lb_pool_member / set_virtual_service_enabled make it unambiguous against siblings.

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?

Explicit when-to-use ("maintenance or rolling deployments"), an explicit prerequisite ("run list_lb_pool_members first for the server IP"), and the reversal path (enable_lb_pool_member). It also names when NOT to proceed: don't set confirm=True on your own, and the pool's last enabled member is refused.

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