Skip to main content
Glama

elb__CountPreoccupyIpNum

Calculate pre-occupied IP counts for ELB creation, specification changes, shared-to-dedicated upgrades, and first Layer 7 listener additions.

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

Input Schema

NameRequiredDescriptionDefault
sceneNo参数解释:计算共享型升级为独享型ELB负载均衡器实例的所需预占IP。
ip_versionNo负载均衡器IP地址类型,取值4,6 。
project_idYes所属项目id。
l7_flavor_idNo负载均衡器七层规格的ID。传入该字段表示计算创建该规格的LB的预占IP数量,或变更LB的原七层规格到该规格所需要的新增预占IP数量。
nat64_enableNo参数解释:
loadbalancer_idNo负载均衡器ID。计算LB变更或创建LB中的第一个七层监听器的新增预占IP。
ip_target_enableNo跨VPC后端转发开关。
availability_zone_idNo计算创建AZ列表为availability_zone_id的负载均衡器实例的预占IP。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.4/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full burden of behavioral disclosure, yet it only implies a read-only count operation. It does not state permissions, side effects, whether any resources are affected, or what the result represents.

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

Conciseness2/5

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

The single sentence is short but structurally incomplete: it ends with a colon and omits the promised scenario list. This is under-specification rather than useful conciseness, and the most important information is never delivered.

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 an eight-parameter tool with no annotations and no output schema, so the description needs to do substantial work. Instead, it provides only a fragment of a purpose statement, leaving the agent without enough context to invoke it confidently.

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%, so the schema already documents all eight parameters, including scene, ip_version, and loadbalancer_id. The description adds no parameter-level meaning beyond the structured schema, making the baseline 3 appropriate.

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

Purpose3/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 ('calculate pre-occupied IP quantity') for ELB, so the broad purpose is inferable. However, the sentence ends with a dangling colon and never lists the 'following scenarios,' leaving the actual scope vague and offering no differentiation from sibling counting tools.

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 on when to use this tool, when not to use it, or which alternatives exist for related IP-counting operations. The phrase 'following scenarios' hints at multiple use cases but provides none of them.

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