Skip to main content
Glama

roma__UpdateCertificateV2

Updates an existing SSL certificate for ROMA, letting you change its name, certificate content, private key, algorithm type, and visibility scope by certificate ID and project.

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>",
      "certificate_id": "<certificate_id>",
      "name": "<name>",
      "private_key": "<private_key>",
      "project_id": "<project_id>"
    },
    "name": "roma__UpdateCertificateV2"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes证书名称
typeNo证书可见范围:global
project_idYes项目ID,获取方式请参见API参考的“附录 > 获取项目ID”章节。
instance_idNo所属实例ID,当type=instance时必填
private_keyYes证书私钥
cert_contentYes证书内容
algorithm_typeNo证书算法类型:
certificate_idYes证书的编号
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.4/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 and supplies almost nothing. It does not disclose that this is a destructive replacement of certificate material, what permissions are required, that name/type/project_id are re-supplied on update, or that SM2 algorithm requires additional signature fields — all of which are only implied by the schema.

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?

It is a single front-loaded phrase with no wasted words, but its brevity is under-specification rather than efficiency — there is essentially no content to structure.

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 a mutation tool with 11 parameters, 5 required fields, no annotations, and no output schema, a five-character phrase is wholly inadequate. Nothing tells the agent what is replaced, what is optional, or what the operation returns.

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 all 11 parameters, including enum values and the SM2-conditional fields, are already documented in the schema. The description adds no parameter meaning beyond that, which meets the baseline for a fully covered schema.

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 (modify/update) and a resource (SSL certificate), and the [ROMA] prefix places it in the right service family. However, it gives no indication of what aspects of the certificate are being modified or how it differs from siblings like CreateCertificateV2 or ShowDetailsOfCertificateV2 beyond the generic update verb.

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 reference to alternatives. An agent must infer from the name alone that this replaces an existing certificate rather than creating or associating one.

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