Skip to main content
Glama

roma__AssociateCertificateV2

Associates an SSL certificate with a ROMA independent domain to support HTTPS API requests that require certificate binding.

Instructions

[ROMA] 如果创建API时,“定义API请求”使用HTTPS请求协议,那么在独立域名中需要添加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>",
      "domain_id": "<domain_id>",
      "group_id": "<group_id>",
      "instance_id": "<instance_id>",
      "name": "<name>",
      "private_key": "<private_key>",
      "project_id": "<project_id>"
    },
    "name": "roma__AssociateCertificateV2"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes证书名称。长度为4 ~ 50位的字符串,字符串由中文、英文字母、数字、下划线组成,且只能以英文或中文开头。
typeNo证书可见范围global
group_idYes分组的编号
domain_idYes域名的编号
project_idYes项目ID,获取方式请参见API参考的“附录 > 获取项目ID”章节。
instance_idYes所属实例ID,当type=instance时必填
private_keyYes证书私钥
cert_contentYes证书内容
trusted_root_caNo信任的根证书CA

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?

No annotations are supplied, so the description carries the full burden. It does not disclose that this is a mutating association requiring certificate content and a private key, what happens if a certificate is already bound, whether the operation is idempotent, or what permissions/instance scope are needed. Only the HTTPS precondition is conveyed.

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 short sentence with no wasted wording, but it is front-loaded with a scenario condition instead of the operation itself. The result is under-specification rather than true conciseness.

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?

For a nine-parameter mutating tool with no annotations and no output schema, the description is far too thin: it omits the core action, any behavioral effects, and any error/conflict semantics. The scenario context is the only useful signal provided.

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 nine parameters (name, type, group_id, domain_id, project_id, instance_id, private_key, cert_content, trusted_root_ca) are already documented in the schema. The description adds no meaning about any of them, which is acceptable at baseline given complete schema coverage, but nothing extra is contributed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description only states a conditional scenario ('if the API request definition uses HTTPS, an SSL certificate must be added to the independent domain') rather than the action the tool performs. It never says that the tool binds/associates a certificate to a domain, so the agent must infer the verb+resource from the tool name alone. No differentiation from siblings such as BatchAssociateCertsV2 or DisassociateCertificateV2 is offered.

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 an implied precondition (HTTPS protocol in the API definition) which hints at when this is relevant, but no explicit when-to-use instruction, no when-not-to-use, and no named alternatives (e.g., the batch variant). The agent is left to guess that this handles a single certificate-domain association.

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