Skip to main content
Glama

codeartsinspector__DeleteDomains

Deletes a tenant's website domain asset in CodeArts Inspector by specifying the project ID and domain name.

Instructions

[CODEARTSINSPECTOR] 删除租户的网站资产

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

Input Schema

NameRequiredDescriptionDefault
project_idYes用户的project_id,获取方法请参见[获取项目ID](https://support.huaweicloud.com/api-vss/vss_api_04_019.html)。
domain_nameYes网站域名

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/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 burden for a destructive operation, but it only states that something is deleted. It does not say whether deletion is irreversible, what happens to associated scan results or hosts, whether the domain must be unauthorized first, or what permissions are required. For a destructive mutation with zero annotation coverage, this is a significant behavioral disclosure 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?

The description is a single short phrase with no filler, and the destructive verb is front-loaded. It earns its brevity structurally, though the terseness reflects under-specification rather than optimal conciseness.

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 destructive tool with no annotations, no output schema, and no description of side effects, recovery options, or error behavior, the definition is not complete enough. An agent would need to infer the consequences of calling it, which is risky for a deletion operation.

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 both domain_name and project_id are fully documented in the schema itself, establishing a baseline of 3. The description adds nothing about parameter meaning, formats, or constraints beyond what the schema already provides, so it neither helps nor hurts.

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 gives a specific verb (删除/delete) and resource (租户的网站资产/tenant website assets), which tells an agent that this is a removal operation scoped to a tenant. However, '网站资产' (website assets) is broader and vaguer than the tool name DeleteDomains, and it does not explicitly distinguish itself from siblings such as DeleteHost or DeleteGroup that also remove assets. An agent can infer the intent but not with full confidence about the object type.

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, no mention of prerequisites, and no reference to alternatives like DeleteGroup or DeleteHost. The only implied guidance comes from the word 'delete' in the name and description, which is the minimum possible context.

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