Skip to main content
Glama

ccm__CreateCertificateByCsr

Signs and issues a certificate from a CSR using a specified parent CA ID and validity settings, with optional path length and enterprise project parameters.

Instructions

[CCM] 通过CSR签发证书。功能约束如下:

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": {
      "csr": "<csr>",
      "issuer_id": "<issuer_id>",
      "validity": "<validity>"
    },
    "name": "ccm__CreateCertificateByCsr"
  }
}

Input Schema

NameRequiredDescriptionDefault
csrYes证书签名请求。请使用“\r\n”或“\n”替代证书签名请求中的换行符,若通过console端请求此接口,则无需做符号转换。
typeNo证书类型,用于区分从属CA与私有证书。
validityYes证书有效期,分以下三种情况:
issuer_idYes父CA证书ID。
path_lengthNo路径长度,仅当签发从属CA时有效。
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.1/5.0
Behavior1/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, yet it discloses nothing about behavior. The pledge "功能约束如下:" ("the functional constraints are as follows") is followed by no constraints at all, leaving permission requirements, side effects, and irreversibility of issuance entirely unexplained.

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 truncates mid-thought after a colon, promising a constraint list that never arrives. The most load-bearing sentence is missing, so length is not the issue—incompleteness is.

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?

This is a mutation tool with seven parameters (three required), nested objects, no annotations, and no output schema, so the description must do heavy lifting. Instead it supplies one truncated sentence, leaving an agent without any basis for correct invocation beyond the schema.

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% and the schema itself documents each field including the nested validity and subject_alternative_names structures. The description adds no parameter meaning beyond that, so the baseline of 3 applies.

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 states a verb and resource ("签发证书" via CSR), which is enough to know the general operation. However, it never contrasts with the sibling ccm__CreateCertificate, which presumably also issues certificates, so the CSR-specific distinction is left implicit. The trailing "功能约束如下:" also dangles without content.

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 for obtaining a CSR, and no routing to or from alternatives such as CreateCertificate or ParseCertificateSigningRequest. The only hint of context is the implicit CSR requirement, which an agent must infer.

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