Skip to main content
Glama

apig__UpdateIngressEipV2

Updates the inbound public bandwidth of an ELB-type API Gateway instance, enabling adjustment of public ingress bandwidth settings.

Instructions

[APIG] 更新实例入公网带宽,仅当实例为ELB类型时支持

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": {
      "instance_id": "<instance_id>",
      "project_id": "<project_id>"
    },
    "name": "apig__UpdateIngressEipV2"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID,获取方式请参见[获取项目ID](apig-api-180713009.xml)。
instance_idYes实例ID,在API网关控制台的“实例信息”中获取。
bandwidth_sizeNo入公网带宽
bandwidth_charging_modeNo入公网带宽计费类型:bandwidth

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/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 behavioral burden. It usefully discloses the ELB-only eligibility gate, but for a mutating, billing-relevant operation it says nothing about permissions required, whether the change is disruptive to existing traffic, or that switching bandwidth_charging_mode alters how the customer is charged.

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?

One compact sentence that front-loads the operation and appends the eligibility caveat; nothing is redundant. It is arguably too terse for a mutation tool, but there is no wasted wording.

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 four-parameter update tool with full schema coverage and no output schema, purpose and precondition are adequately covered. However, with zero annotations the description should have addressed side effects and billing/authorization implications of changing ingress bandwidth and charging mode, which it omits.

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 all four parameters — including the bandwidth_charging_mode enum and its default — are already documented in the schema. The description adds no format, unit, range, or interaction detail beyond that, 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 names a specific verb (更新 / update) and a precise resource (实例入公网带宽 / instance ingress public bandwidth), plus a scoping constraint (ELB instances only). The 入公网 (ingress) qualifier implicitly distinguishes it from the egress sibling apig__UpdateEngressEipV2, 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 Guidelines4/5

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

The clause '仅当实例为ELB类型时支持' gives a clear precondition that tells the agent when this tool is applicable and implicitly when it is not. It stops short of pointing to an alternative for non-ELB instances or the egress counterpart, so it falls short of a 5.

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