Skip to main content
Glama
rsp2k
by rsp2k

lb_list_forwarding_rules

Get all forwarding rules for a specified load balancer by providing its ID or label.

Instructions

List forwarding rules for a load balancer.

Args: load_balancer_id: The load balancer ID or label (e.g., "web-lb", "api-load-balancer", or UUID)

Returns: List of forwarding rules

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
load_balancer_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.1

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It doesn't mention whether this operation might have side effects, requires specific permissions, or has any rate limits. It also doesn't describe the format or structure of the returned list, such as whether it includes pagination or field details. For a read operation, this is a gap; the agent cannot know if listing is safe or returns a large dataset.

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?

The description is concise and includes the essential parameter detail and return type. However, the Args/Returns structure is a bit verbose for a single parameter; it could be more compact. The parameter explanation is front-loaded, which is good. No wasted words, but formatting could be improved.

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

Completeness2/5

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

The tool has an output schema, but the description does not explain what the list contains (e.g., rule names, conditions, actions). It also lacks guidance on error scenarios or prerequisites, such as whether the load balancer must exist. Given the complexity of the load balancer API, the description feels incomplete: it covers what it does but not enough context for an agent to handle edge cases or interpret results.

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 has 0% description coverage, leaving the parameter 'load_balancer_id' without a description. The tool description compensates by explaining that it accepts an ID or label (e.g., 'web-lb', 'api-load-balancer', or UUID), which adds valuable meaning beyond the schema's bare 'string' type. This is helpful for an agent to know how to format the parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states that this tool lists forwarding rules for a load balancer, which distinguishes it from sibling tools like lb_create_forwarding_rule, lb_get_forwarding_rule, and lb_delete_forwarding_rule. The verb 'List' and resource 'forwarding rules for a load balancer' are specific and unambiguous. Slight deduction for not explicitly mentioning the load balancer context in the title, but the description is clear.

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 description implies usage when you need to list forwarding rules for a load balancer, but does not explicitly state when to use it versus alternatives like lb_get_forwarding_rule (for a single rule) or lb_create_forwarding_rule (for adding). It provides the required parameter and return type, but no explicit guidance on selection conditions. However, the purpose is clear enough that an agent can infer usage.

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