Skip to main content
Glama

create_lb_stickiness_policy

Creates a CloudStack load balancer stickiness policy for a rule using cookie or source-based methods to keep client sessions bound to the same backend.

Instructions

Create a load balancer stickiness policy

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": {
      "lbruleid": "<lbruleid>",
      "methodname": "<methodname>",
      "name": "<name>"
    },
    "name": "create_lb_stickiness_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesPolicy name
lbruleidYesLoad balancer rule ID
methodnameYesStickiness method (LbCookie, AppCookie, SourceBased)
descriptionNoPolicy description

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

D1.9/5.0
Behavior1/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, and it discloses nothing: not whether the operation is idempotent, what permissions are required, what happens if a policy already exists for the rule, or what the call returns. For a mutating create operation this is a serious gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short sentence with no filler and the verb front-loaded, so nothing is wasted. However, it is under-specified rather than concise: the length reflects missing information, not efficient communication.

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

Completeness1/5

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

This is a four-parameter mutating tool with no annotations and no output schema, so the description is the only place behavioral and usage context could come from, and it provides none. An agent cannot determine prerequisites, side effects, or expected results from it.

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% — each of name, lbruleid, methodname, and description is documented in the schema, including the enumerated stickiness methods — so the schema does the work. The description adds no meaning beyond it, which matches the baseline of 3 for high-coverage schemas.

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

Purpose2/5

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

The description is essentially the tool name with 'lb' expanded to 'load balancer': 'Create a load balancer stickiness policy.' It confirms a create verb on a stickiness-policy resource, which is enough to tell it apart from delete_/list_ siblings by name alone, but it adds no scope, target, or effect detail beyond the identifier.

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

Usage Guidelines2/5

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

There is no guidance about when to use this tool versus alternatives such as create_load_balancer_rule or update-style siblings, and no preconditions (e.g., that a load balancer rule must already exist) are mentioned. The reader must infer all usage context from the name.

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