Skip to main content
Glama

css__UploadCerts

Uploads certificate files to a specified CSS cluster, using an OBS bucket object for TLS/SSL configuration.

Instructions

[CSS] 该接口用于上传证书文件。

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": {
      "cluster_id": "<cluster_id>",
      "project_id": "<project_id>"
    },
    "name": "css__UploadCerts"
  }
}

Input Schema

NameRequiredDescriptionDefault
cluster_idYes指定待操作的集群ID。
project_idYes项目ID。获取方法请参见[获取项目ID和名称](css_03_0071.xml)。
bucket_nameNo证书文件存放的OBS桶(桶类型必须为标准存储或者低频存储,不支持归档存储)。
certs_objectNo证书文件对象。证书文件大小不能超过1M。证书名称在4位到32位之间,必须以字母开头,以(.cer|.crt|.rsa|.jks|.pem|.p10|.pfx|.p12|.csr|.der|.keystore)结尾,可以包含字母、数字、中划线、下划线或者小数点,不能包含其他的特殊字符。

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 provided, so the description carries the full behavioral burden, yet it discloses nothing beyond the bare action. It does not state required permissions, whether the upload is idempotent or overwrites an existing certificate, what happens on failure, or any limits on quantity or time. For a write/mutation operation with zero annotation coverage, this is a serious gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short, front-loaded sentence with zero redundant wording; nothing needs trimming. It is efficient but borders on under-specification rather than concise value delivery, so it does not earn a 5.

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?

With four parameters, a required path pair, no output schema and no annotations, the description should explain behaviors such as what the response contains or the effect of uploading a duplicate certificate. Instead it repeats only the name. An agent would have to guess at preconditions and side effects before calling it.

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 cluster_id, project_id, bucket_name (storage class constraint) and certs_object (size and filename rules), so the baseline is 3. The description adds no additional meaning about parameter interaction or defaults—for example, whether bucket_name and certs_object are jointly required. It neither compensates nor detracts.

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 ("上传证书文件" / upload certificate files), so the basic action is identifiable. However, it is wrapped in boilerplate ("该接口用于") and gives no scope or differentiation from siblings such as css__DeleteCerts, css__ListCerts, or css__ShowCertsDetail. An agent knows roughly what it does but not how it differs from adjacent certificate operations.

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 rather than alternatives, no prerequisites, and no mention of required permissions or cluster state. The only hints (bucket type, file naming rules) live in the schema, not the description. The agent must infer usage entirely.

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