Skip to main content
Glama

elb__UpdateWhitelist

Enable, disable, or change IP access control for an Elastic Load Balancer whitelist by updating its IP list and switch status.

Instructions

[ELB] 更新白名单。可以打开或关闭白名单,或更新访问控制的IP。

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": {
      "project_id": "<project_id>",
      "whitelist": "<whitelist>",
      "whitelist_id": "<whitelist_id>"
    },
    "name": "elb__UpdateWhitelist"
  }
}

Input Schema

NameRequiredDescriptionDefault
whitelistYes白名单对象
project_idYes操作用户的项目ID。
whitelist_idYes待更新的白名单id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

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 disclosure burden. It states that this is a mutation covering the enable flag and IP list, but does not say whether the supplied whitelist object replaces the existing IP set, whether fields can be updated independently, what permissions are required, or what happens on failure. For a mutation tool with zero annotation coverage, that is a significant gap.

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?

Two short, front-loaded sentences with no filler: the resource is named first, then the supported operations. Nothing is padded, though the brevity comes at the cost of behavioral detail rather than being optimally balanced.

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

Completeness3/5

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

The tool has three required parameters including a nested object and no output schema or annotations. The description names the two mutable aspects but leaves the replace-vs-merge semantics of the nested whitelist object and the effect of omitting enable_whitelist undefined, which is a material gap for a mutation tool.

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%, and the schema already documents the nested whitelist IP string, the enable_whitelist boolean, project_id, and whitelist_id. The description only restates the two mutable aspects at a high level, adding no format or constraint detail beyond the schema, so the baseline 3 applies.

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 uses a specific verb and resource (update whitelist) and clarifies that the operation covers two things: toggling access control on/off and changing the IP list. The verb distinguishes it from the CreateWhitelist, DeleteWhitelist, and ShowWhitelist siblings, though no sibling is named explicitly.

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 when to use the tool by stating the two supported modes (enable/disable and IP update), which lets an agent infer it is the tool for modifying an existing whitelist. It gives no explicit when-not guidance, prerequisites, or pointer to alternatives such as CreateWhitelist for new entries.

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