Skip to main content
Glama

css__EnableOrDisableElb

Opens or closes the Elasticsearch load balancer for a specified cluster, letting you control load-balancer access using the cluster ID and project ID.

Instructions

[CSS] 该接口打开或关闭es负载均衡器。

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": {
      "cluster_id": "<cluster_id>",
      "enable": "<enable>",
      "project_id": "<project_id>"
    },
    "name": "css__EnableOrDisableElb"
  }
}

Input Schema

NameRequiredDescriptionDefault
agencyNo委托名称。
elb_idNo负载均衡器id。
enableYes打开或关闭es负载均衡器。
cluster_idYes指定待更改的集群ID。
project_idYes项目ID。获取方法请参见[获取项目ID和名称](css_03_0071.xml)。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/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 explaining behaviour. It says the load balancer is turned on or off but does not explain the consequences of disabling it, whether the operation is reversible, what permissions are required, or what the response looks like.

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?

The single sentence is efficient and front-loaded with the service tag, but its brevity leaves the description under-specified rather than informative.

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?

This is a mutation tool that accepts five parameters, has no annotations and no output schema, and yet the description is only one sentence. The agent is left without any information about safety, permissions, or the effects of disabling the load balancer.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema documents every parameter, so the description's only job is to clarify the required 'enable' boolean. Instead, it merely restates the same wording, adding no meaning about 'cluster_id', 'elb_id', 'agency', or 'project_id', and it does not explain what disabling actually affects.

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 names a specific verb-resource pair: turning the ES load balancer on or off. An agent knows exactly what the tool acts on, though there is no differentiation from related ELB managing siblings.

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 the tool is used to toggle the load balancer, and the required 'enable' boolean makes the binary behaviour clear. However, it does not say when to use it instead of other ELB tools, nor does it list any prerequisites or exclusions.

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