Skip to main content
Glama
MCP-OpenStack-Ops

MCP-OpenStack-Ops

by call518

Get Load Balancer Status

get_load_balancer_status

Retrieve an OpenStack load balancer's status tree and Octavia traffic counters, or a listener's statistics, by name or ID.

Instructions

Show a load balancer's status tree and statistics, or a listener's statistics (like 'openstack loadbalancer status show' and 'openstack loadbalancer stats show').

Statistics are Octavia's traffic counters (bytes in/out, connections), not Gnocchi measurements. Give lb_name_or_id, listener_name_or_id, or both.

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

Input Schema

NameRequiredDescriptionDefault
lb_name_or_idNoLoad balancer name or ID. Returns status (its load_balancer_status: provisioning and operating status with listeners, pools, members and health monitors) and statistics (its load_balancer_stats).
listener_name_or_idNoListener name or ID. Returns listener_statistics (its listener_stats, including request_errors).

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv4.1.3

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does more than most: it enumerates what the status tree contains (provisioning and operating status with listeners, pools, members and health monitors), names the metrics returned (bytes in/out, connections, listener request_errors), and explicitly disambiguates them from Gnocchi measurements. It stops short of stating permission requirements or behavior when no identifier is given.

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?

Three sentences, front-loaded with the purpose, followed by the disambiguation caveat and then the argument instruction. Every sentence adds information an agent would otherwise have to guess.

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?

An output schema exists, so return values need not be explained, and the description still summarizes them well. The one gap is the degenerate case where neither identifier is passed, which matters because no parameter is marked required and both default to an empty string.

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 description coverage is 100%, so both parameters are already well documented in the schema, including the return shape each one triggers. The description adds only the combination rule ('... or both'), which is meaningful because both parameters default to empty and none are required, but it does not explain the empty-string default or the neither-provided case.

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 ('Show a load balancer's status tree and statistics, or a listener's statistics') and pins the exact semantics by analogy to 'openstack loadbalancer status show' / 'stats show'. It also distinguishes itself from the neighboring get_load_balancer_details and the get_gnocchi_* family by declaring that statistics are Octavia traffic counters, not Gnocchi measurements.

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 closing line 'Give lb_name_or_id, listener_name_or_id, or both' tells the agent which argument combinations are valid, which is genuinely useful given that required_parameters is 0. However, it never says when to pick this over get_load_balancer_details or get_load_balancer_listeners, and there is no stated exclusion or error condition when neither argument is supplied.

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