Skip to main content
Glama

roma__CreateCertificateV2

Creates an SSL certificate in Huawei Cloud ROMA using certificate content, private key, project ID, and optional instance or global visibility settings.

Instructions

[ROMA] 创建SSL证书

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": {
      "cert_content": "<cert_content>",
      "name": "<name>",
      "private_key": "<private_key>",
      "project_id": "<project_id>"
    },
    "name": "roma__CreateCertificateV2"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes证书名称
typeNo证书可见范围:global
project_idYes项目ID,获取方式请参见API参考的“附录 > 获取项目ID”章节。
instance_idNo所属实例ID,当type=instance时必填
private_keyYes证书私钥
cert_contentYes证书内容
algorithm_typeNo证书算法类型:
trusted_root_caNo信任的根证书CA
private_key_signNo签名类型私钥内容,仅algorithm_type=SM2时必填
cert_content_signNo签名类型证书内容,仅algorithm_type=SM2时必填

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/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 behavioral burden for a mutation tool, and it discloses nothing: no permission/auth requirements, no duplicate-name behavior, no side effects on project or instance scoping. Only the word 'create' implies a write, and that is inferable from the name alone.

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 description is a single bracketed tag plus five characters, so there is no padding, but it is under-specified rather than concise. Being front-loaded is moot when there is essentially only one clause.

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?

This is a 10-parameter mutation tool with no annotations and no output schema, so the description should explain permissions, scope selection (instance vs global), and the SM2 key/certificate duality. It explains none of that, leaving the agent entirely dependent on 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 every one of the 10 parameters has an inline description (including enum semantics for type and algorithm_type and the SM2 conditional requirement), so the schema does the heavy lifting. The description adds no parameter meaning at all, which sets the baseline at 3.

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 names a specific verb and resource in Chinese ('创建SSL证书' = create SSL certificate), which is enough for an agent to identify the operation. It does not, however, distinguish this from near-identical siblings such as apig__CreateCertificateV2, UpdateCertificateV2, or AssociateCertificateV2, and says nothing about the instance-vs-global certificate scope.

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, and no mention of alternatives. Given that several siblings create or manipulate certificates (roma__ vs apig__ variants, UpdateCertificateV2), the agent gets no signal about when this specific creation tool is the right call.

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