Skip to main content
Glama

ccm__CreateCertificate

Requests a new X.509 certificate from a specified parent CA by defining subject details, key and signature algorithms, validity period, and optional usages or SANs.

Instructions

[CCM] 申请证书。

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>",
      "issuer_id": "<issuer_id>",
      "key_algorithm": "<key_algorithm>",
      "signature_algorithm": "<signature_algorithm>",
      "validity": "<validity>"
    },
    "name": "ccm__CreateCertificate"
  }
}

Input Schema

NameRequiredDescriptionDefault
validityYes证书有效期,分以下三种情况:
issuer_idYes父CA证书ID。
key_usagesNo密钥用法,具体标准参见RFC 5280中:[4.2.1.3节](https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.3)。
key_algorithmYes密钥算法,可选值如下:
distinguished_nameYes证书名称配置,详情请参见**CertDistinguishedName**字段数据结构说明。
extended_key_usageNo增强型密钥用法,详情请参见**ExtendedKeyUsage**字段数据结构说明。
signature_algorithmYes签名哈希算法,可选值如下:
customized_extensionNo自定义扩展信息,详情请参见**CustomizedExtension**字段数据结构说明。
enterprise_project_idNo企业多项目ID。用户未开通企业多项目时,不需要输入该字段。 用户开通企业多项目时,查询资源可以输入该字段。 若用户不输入该字段,默认查询租户所有有权限的企业多项目下的资源。 此时“enterprise_project_id”取值为“all”。 若用户输入该字段,取值满足以下任一条件.
subject_alternative_namesNo主体备用名称,详情请参见**SubjectAlternativeName**字段数据结构说明。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.4/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it discloses nothing beyond the bare purpose. It does not say whether the certificate is issued immediately, what permissions or parent CA state are required, whether a private key is returned, or whether the operation is reversible.

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?

It is a single short sentence with no wasted words, but this is under-specification rather than conciseness: for a 10-parameter, nested-object mutation tool the one-line text omits everything an agent would need.

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?

Given 10 parameters with nested objects, 5 required fields, no annotations, and no output schema, the description is far too thin. It does not explain what a successful call returns (e.g., certificate ID or PEM body) or how to chain into ccm__ShowCertificate or ccm__ExportCertificate.

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 detailed field-level descriptions for distinguished_name, validity, issuer_id, and the extension objects, so the schema already does the semantic work. The description adds nothing beyond it, which lands at the baseline of 3 for high-coverage schemas.

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 and resource ('申请证书' / apply for a certificate) that matches the tool name, so an agent knows it creates a certificate. However, it gives no scope or differentiation from close siblings such as ccm__CreateCertificateByCsr or ccm__CreateCertificateAuthorityOrder, which also issue certificates.

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 guidance on when to use this tool versus ccm__CreateCertificateByCsr (issuance from a CSR) or the CA-creation/order tools. Neither prerequisites (e.g., an existing parent CA) nor exclusions are mentioned, leaving the agent to infer selection from the name 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