Skip to main content
Glama

codeartsinspector__AuthorizeDomains

Authorizes a tenant's website domain for CodeArts Inspector by specifying the domain name, authentication mode, and project ID.

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__AuthorizeDomains"
  }
}

Input Schema

NameRequiredDescriptionDefault
auth_modeNo认证方式:file
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.5/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 describing the tool's behavior. It says nothing about the effect of authorizing (e.g. whether it triggers a verification process, whether it is reversible, what permissions are required, or whether it is synchronous), which leaves an agent unable to predict the outcome of calling a mutation-like operation.

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 wasted words, but it is under-specified rather than concise, and there is no front-loaded explanation of the action or its result. It functions as a label instead of a useful description.

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 tool with three parameters, two of them required, no output schema, and no annotations, the definition is far too sparse. An agent lacks the context needed to decide between AuthorizeDomains and CreateDomains, or to understand the consequences of authorizing a domain.

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 the baseline is 3. The description adds no information beyond the schema fields: it neither explains auth_mode's enum semantics (file/auto/free) nor the expected domain_name format, so the schema does the heavy lifting.

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?

"认证租户的网站资产" pairs a verb (authorize/verify) with a resource (tenant website assets), so the general domain is clear. However, it does not clarify what '认证' actually does — domain ownership verification, quota authorization, or asset onboarding — and gives no differentiation from sibling tools such as CreateDomains or ListDomains.

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?

The description gives no guidance about when to use this tool, what prerequisites are required to obtain the required project_id, or how the tool relates to the sibling domain tools. An agent must guess the context entirely from the name.

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