Skip to main content
Glama

elb__CreateWhitelist

Creates a whitelist for an ELB listener to control access, allowing only approved IP addresses or CIDR ranges to reach backend services.

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>"
    },
    "name": "elb__CreateWhitelist"
  }
}

Input Schema

NameRequiredDescriptionDefault
whitelistYes白名单对象
project_idYes项目id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It discloses the access-control effect (only whitelisted IPs can reach the listener's backend), which is meaningful behavior beyond the schema, but says nothing about permissions, duplicate/conflict handling, or whether creation overwrites an existing whitelist.

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 sentences: the action first, then the behavioral consequence. No filler or repetition, though the second sentence could be folded into the first for an even tighter statement.

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?

For a mutation tool with a nested object parameter, no annotations, and no output schema, the description explains the functional effect but omits prerequisites (auth/project scope), duplicate-whitelist behavior, and what the call returns. Adequate but with clear gaps for a create operation.

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 includes nested field descriptions for listener_id, whitelist IP syntax, enable_whitelist toggle, and tenant_id, so the schema does the heavy lifting. The description adds the contextual meaning of the whitelist (access gating) but no format or value guidance beyond what the nested schema already states.

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 states a specific verb and resource ('创建白名单' / create whitelist) and immediately explains its effect: it controls listener access so that only whitelisted IPs reach the backend service. The create/delete/show/update whitelist sibling verbs are distinguishable from the verb alone, but the description never names or contrasts those alternatives.

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 conditional clause '若开启了白名单功能' implies when the tool's effect applies, giving some usage context. It does not say when to use create versus UpdateWhitelist, nor what happens if a whitelist already exists for the listener, leaving the choice to inference.

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