Skip to main content
Glama

apig__CreateOrder

Create a subscription-based dedicated API Gateway instance with network, bandwidth, and renewal options to provision managed Huawei Cloud gateway capacity.

Instructions

[APIG] 创建包周期专享版实例。

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": "apig__CreateOrder"
  }
}

Input Schema

NameRequiredDescriptionDefault
period_numNo订购周期数:1-9
product_idNo产品编号
project_idYes项目ID,获取方式请参见[获取项目ID](apig-api-180713009.xml)。
period_typeNo订购周期类型:
payment_modeNo支付模式:ALL_UPFRONT
promotion_idNo促销产品编号
charging_modeNo计费模式:
instance_infoNo实例信息
is_auto_renewNo是否支持自动续费:
promotion_infoNo促销信息
promotion_plan_idNo促销计划编号
composite_product_idNo组合产品编号

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 provided, so the description carries the full burden of behavioral disclosure. It reveals only that a prepaid instance is created; it says nothing about this being a billable purchase with a committed period, whether the operation is idempotent, what happens on failure, what permissions or account state (e.g., enterprise project for certain accounts) are needed, or how long provisioning takes. For a procurement/mutation tool with zero annotation coverage, this 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?

A single front-loaded sentence with no wasted words, and the '[APIG]' prefix plus the '包周期专享版' qualifier are the only content. It is arguably too terse for a 12-parameter purchasing tool, but as a matter of conciseness and structure it is efficient.

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?

The tool is complex: 12 parameters, nested instance_info objects, enums, and no annotations or output schema. A one-sentence description leaves an agent without any sense of cost implications, provisioning behavior, or prerequisites. Only the core purpose is covered; the surrounding context an agent needs before committing to a purchase is absent.

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%, with every parameter including the nested instance_info fields documented inline, so the schema does the heavy lifting. The description contributes nothing about the 12 parameters - not even the required project_id or the fact that the entire instance_info object is required. Baseline 3 applies when the schema is fully self-documenting.

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+resource in Chinese: '创建包周期专享版实例' (create a subscription/prepaid dedicated-edition instance). The '包周期' qualifier meaningfully narrows it away from the pay-as-you-go sibling (apig__CreatePostPayResizeOrder), so an agent can distinguish intent. It stops short of explicitly naming or contrasting alternatives, keeping it at 4 rather than 5.

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 when-to-use or when-not-to-use guidance. The prepaid qualifier implies the tool is for subscription purchases rather than pay-as-you-go, but the description never states this tradeoff or points to the resize/post-pay alternative in the sibling list. An agent must infer selection criteria entirely from the phrase '包周期'.

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