Skip to main content
Glama

aad__CreateDomain

Create a domain protected by Anti-DDoS by specifying the domain name, origin server, and HTTP/HTTPS ports.

Instructions

[AAD] 创建防护域名

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": {
      "domain_name": "<domain_name>",
      "enterprise_project_id": "<enterprise_project_id>",
      "ips": "<ips>",
      "overseas_type": "<overseas_type>",
      "port_http": "<port_http>",
      "real_server": "<real_server>",
      "real_server_type": "<real_server_type>"
    },
    "name": "aad__CreateDomain"
  }
}

Input Schema

NameRequiredDescriptionDefault
ipsYes高防实例ip列表。多个高防实例ip必须属于同一企业项目。
cert_nameNo证书名称(必须是已经存在的证书)
port_httpYesHTTP端口,与port_https不能同时为空。DDoS高防支持的HTTP端口可在控制台查看。
port_httpsNoHTTPS端口,与port_http不能同时为空。DDoS高防支持的HTTPS端口可在控制台查看。
waf_switchNo开启0,关闭1
domain_nameYes域名
real_serverYes源站(源站ip/源站域名)
overseas_typeYes防护区域,0-大陆,1-海外
real_server_typeYes源站类型。 0 - 源站IP, 1 - 源站域名。
enterprise_project_idYes企业项目id,与接入的高防实例所属企业项目保持一致。可在华为云EPS服务中查看企业项目id,default企业项目id为"0"。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/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 disclosure burden, and it supplies almost nothing. "Create" implies mutation but the description does not state permission requirements, whether the operation is idempotent or reversible, what happens on port conflicts, or what the response contains — all important for a 7-required-parameter write call.

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

Conciseness3/5

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

The definition is a single short phrase with no filler, but that brevity comes at the cost of under-specification rather than genuine conciseness. The tag prefix [AAD] is the only structural signal, and there is no front-loaded detail beyond the verb.

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 mutation tool with 10 parameters, 7 required, no annotations, and no output schema, a four-word description is far too thin. Critical context — certificate prerequisites, enterprise-project consistency with the protected instances, port requirements — exists only in the schema and is never framed for the agent.

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 10 parameters (including port_http/port_https mutual-exclusion and real_server_type) are already documented in the schema. The description adds no parameter meaning of its own, which is acceptable but earns only the baseline.

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 gives a clear verb+resource ("创建防护域名" / create protected domain), so an agent can tell it is a creation operation for a DDoS protection domain. It does not differentiate from the very similar sibling aad__CreateAadDomain, leaving the agent to guess which creation tool applies.

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 guidance, no prerequisites, and no mention of the near-duplicate aad__CreateAadDomain sibling. The agent gets no help deciding between this tool and alternatives, nor any indication that a domain must reference existing certificates and a matching enterprise project.

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