Skip to main content
Glama

eip__CreatePrePaidPublicip

Creates a prepaid Elastic Public IP with configured bandwidth and subscription period, supporting auto-renew and auto-pay for Huawei Cloud resources.

Instructions

[EIP] 申请包年包月的弹性公网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": {
      "bandwidth": "<bandwidth>",
      "project_id": "<project_id>",
      "publicip": "<publicip>"
    },
    "name": "eip__CreatePrePaidPublicip"
  }
}

Input Schema

NameRequiredDescriptionDefault
publicipYes弹性公网IP对象
bandwidthYes带宽对象
project_idYes项目ID
extendParamNo按需转包周期参数
enterprise_project_idNo企业项目ID。最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/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, yet it says nothing about this being a billable purchase order, whether payment is taken immediately (is_auto_pay in the schema implies it may not be), whether the operation is reversible, or what happens on failure. '申请' hints at a request/order flow but no cost, authorization, or side-effect context is disclosed.

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?

A single front-loaded sentence with a bracketed service tag and no filler; it is efficiently sized. It is arguably over-terse for a five-parameter nested creation call, but nothing in the sentence is wasted.

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?

For a procurement-style create operation with nested publicip and bandwidth objects and a prepaid extendParam block, and with no annotations and no output schema, one line is not enough. The agent is left without knowing billing consequences, the relationship to CreatePublicip or ChangePublicipToPeriod, or what identifier a successful call returns.

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 every nested field (publicip.type, bandwidth.share_type, extendParam.period_type, etc.) already carries its own description, so the baseline of 3 applies. The description adds no meaning about how the required publicip and bandwidth objects relate, nor about the prepaid-only semantics of extendParam.

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 action and resource — applying for a prepaid (包年包月, i.e. yearly/monthly subscription) elastic public IP — which implicitly separates it from the postpaid eip__CreatePublicip and from conversion tools like eip__ChangePublicipToPeriod. It does not explicitly name any sibling, so the differentiation is inferred from the billing-mode phrase rather than stated.

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 explicit when-to-use guidance, no mention of prerequisites (account balance, project quota), and no pointer to alternatives such as CreatePublicip for pay-as-you-go or ChangePublicipToPeriod for converting an existing IP. The only usage signal is the '包年包月' wording, which implies prepaid purchase but leaves the agent to infer the selection rule.

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