Skip to main content
Glama

css__UpdateLogSetting

Updates the basic log configuration for a CSS cluster, including the OBS bucket, backup path, and agency used 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__UpdateLogSetting"
  }
}

Input Schema

NameRequiredDescriptionDefault
agencyYes委托名称,委托给CSS,允许CSS调用您的其他云服务。
logBucketYes用于存储日志的OBS桶的桶名。
cluster_idYes指定更改日志基础配置的集群ID。
project_idYes项目ID。获取方法请参见[获取项目ID和名称](css_03_0071.xml)。
logBasePathYes日志在OBS桶中的备份路径。

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, yet it only says the interface modifies the config. It does not state whether the update is a full replacement or a merge, what happens to unspecified fields, what permissions or delegation are required, or whether the change is reversible.

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 is front-loaded and free of filler, which is good. However, for a five-parameter mutation tool with no annotations, this length is arguably under-specified rather than genuinely concise.

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?

A mutation tool with no annotations and no output schema needs the description to cover side effects and prerequisites, and this one does not. The schema documents the parameters well, but the behavioral context an agent needs before invoking it is missing.

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?

All five required parameters have full schema descriptions (100% coverage), including the agency, bucket, base path, cluster ID, and project ID. The description adds no meaning beyond the schema, so the baseline 3 is appropriate.

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 (修改/modify) and resource (日志基础配置/log base configuration), so the operation is identifiable. It does not distinguish this tool from related siblings such as css__ShowGetLogSetting (read counterpart) or css__CreateLogBackup, leaving differentiation to the name alone.

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?

No when-to-use guidance is given, and no alternatives are mentioned. It also omits prerequisites that matter for a log-config mutation, such as needing a valid OBS bucket and an agency delegated to CSS.

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