Skip to main content
Glama

css__StartLogs

Enable log collection for a specified CSS cluster by configuring an OBS bucket, backup path, and agency to store cluster logs.

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": {
      "agency": "<agency>",
      "cluster_id": "<cluster_id>",
      "logBasePath": "<logBasePath>",
      "logBucket": "<logBucket>",
      "project_id": "<project_id>"
    },
    "name": "css__StartLogs"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionNoaction支持base_log_collect和real_time_log_collect两种,base就是之前历史的能力,real_time为实时采集能力,默认不传就是base,兼容之前的逻辑base_log_collect
agencyYes委托名称,委托给CSS,允许CSS调用您的其他云服务。
keep_daysNo日志保存时间。action等于real_time_log_collect时必选
logBucketYes用于存储日志的OBS桶的桶名。
cluster_idYes指定开启日志的集群ID。
project_idYes项目ID。获取方法请参见[获取项目ID和名称](css_03_0071.xml)。
logBasePathYes日志在OBS桶中的备份路径。
index_prefixNo保存日志的索引前缀。action等于real_time_log_collect时必选
target_cluster_idNo保存日志的目标集群。action等于real_time_log_collect时必选

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.7/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, and it discloses nothing beyond the name: not whether the operation is idempotent, what happens if logging is already enabled, what side effects occur on the OBS bucket, or that the action parameter changes the collection mode. For a 9-parameter mutation with conditional requirement chains, this is a critical gap.

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 single sentence contains no wasted words, but it is sized far below the complexity of the tool rather than appropriately sized, and nothing useful is front-loaded. Brevity here reflects under-specification, not efficiency.

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?

With 9 parameters, 5 of them required, mode-dependent required fields, no annotations, and no output schema, the description should explain the two collection modes and conditional parameters. It instead supplies one generic clause, leaving an agent unable to call this tool correctly from the description alone.

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 the schema already explains agency, logBucket, logBasePath, the enum for action, and the action-conditional requirements for keep_days, index_prefix, and target_cluster_id. The description adds nothing 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.

Purpose2/5

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

The description says only 'this API enables the log function' — it names a verb (enable) and a resource (logs), but gives no indication of scope: which logs, for what cluster, or how it relates to siblings like StopLogs, ListLogsJob, or StartLogAutoBackupPolicy. It is close to a restatement of the tool name StartLogs and cannot be distinguished from other log-related siblings without reading the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/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 mention of alternatives, no preconditions, and no exclusions. The agent gets no signal about when to choose this over StopLogs or StartLogAutoBackupPolicy.

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