Skip to main content
Glama

ccm__CreateCertificateAuthority

Creates a certificate authority (CA) in Huawei Cloud CCM, supporting on-demand or period-based CAs with configurable distinguished name, key algorithm, validity, issuer, and CRL settings.

Instructions

[CCM] 创建CA,分以下三种情况:

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": {
      "distinguished_name": "<distinguished_name>",
      "key_algorithm": "<key_algorithm>",
      "type": "<type>"
    },
    "name": "ccm__CreateCertificateAuthority"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYes创建的CA类型。
ca_idNoCA证书ID。如果为空,则创建按需CA;如果不为空,则保存包周期CA信息。
validityNo证书有效期,分以下三种情况:
issuer_idNo父CA证书ID,分以下三种情况:
key_usagesNo密钥用法,具体标准参见RFC 5280中:[4.2.1.3节](https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.3)。
path_lengthNoCA证书路径长度,分以下三种情况:
key_algorithmYes密钥算法,可选值如下:
crl_configurationNo证书CRL配置,详情请参见**CrlConfiguration**字段数据结构说明。
distinguished_nameYes证书名称配置,详情请参见**DistinguishedName**字段数据结构说明。
signature_algorithmNo签名哈希算法。
enterprise_project_idNo企业多项目ID。用户未开通企业多项目时,不需要输入该字段。 用户开通企业多项目时,查询资源可以输入该字段。 若用户不输入该字段,默认查询租户所有有权限的企业多项目下的资源。 此时“enterprise_project_id”取值为“all”。 若用户输入该字段,取值满足以下任一条件.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.3/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden of behavioral disclosure, yet it says nothing about permissions required, whether the created CA starts in a disabled state, whether a CSR/certificate must be issued separately, or whether the operation is billable. It does not contradict anything, but it discloses essentially no behavior beyond the verb.

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

Conciseness2/5

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

The text is short but not concise in the useful sense: it is a truncated fragment ending in a colon that introduces content which never follows. Under-specification rather than economy is the problem, and the single sentence earns its place only for the first clause.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 11-parameter mutation tool with nested objects, no annotations and no output schema, the description is far too thin. An agent gets no information about the branching creation scenarios, required permissions, side effects, or what the call returns, so it cannot reliably invoke this tool from the definition alone.

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 every one of the 11 parameters, including the nested distinguished_name, validity and crl_configuration objects, is already documented in the input schema. The description adds no parameter meaning on top of that, which is the expected baseline 3 when 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?

The description names a concrete verb and resource ("创建CA" / create a CA), so the basic operation is identifiable. But it stops at "分以下三种情况:" ("the following three cases:") without ever listing those cases, and it never distinguishes this tool from siblings such as CreateCertificateAuthorityObsAgency or CreateCertificateAuthorityOrder. The result is a recognizable but under-specified purpose.

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?

No when-to-use or when-not-to-use guidance is given, and no alternative tool is named. The dangling promise of "three cases" hints that conditional branches exist (e.g. on-demand vs. subscription CA) but never states the conditions, leaving the agent to infer them from the schema alone.

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