Skip to main content
Glama

gaussdb__UpdateClickHouseSlowLogSensitiveStatus

Update the slow log desensitization switch for a ClickHouse instance using its project ID, instance ID, and the desired switch status.

Instructions

[GAUSSDB] 修改慢日志脱敏状态。

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": {
      "instance_id": "<instance_id>",
      "open_slow_log_switch": "<open_slow_log_switch>",
      "project_id": "<project_id>"
    },
    "name": "gaussdb__UpdateClickHouseSlowLogSensitiveStatus"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes租户在某一Region下的project ID。
instance_idYesClickHouse实例ID,严格匹配UUID规则。
open_slow_log_switchYes慢日志脱敏开关。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations supplied, the description carries the full burden but provides almost nothing: it does not state required permissions, whether the change is reversible, what effect the switch has on existing slow-log storage, or whether it applies per-instance. Only the bare implication of a state mutation 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?

The single sentence is waste-free and front-loaded, but it is under-specified for a three-required-parameter mutation tool rather than genuinely well-sized. There is no structural hierarchy because there is only one clause.

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 mutation tool with no annotations and no output schema, the definition should explain the effect of the switch and any permissions or side effects. The schema covers the parameters, but the behavioral gaps leave an agent unable to safely predict the outcome of the call.

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 three parameters (project_id, instance_id, open_slow_log_switch) are already documented in the schema. The description adds no meaning beyond that, which lands at the baseline 3.

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 "修改慢日志脱敏状态" names a verb (modify) and a resource (slow-log desensitization status), so the agent can tell roughly what it does. However, it essentially restates the tool name (UpdateClickHouseSlowLogSensitiveStatus) without mentioning ClickHouse, the instance scope, or distinguishing itself from read-side siblings such as gaussdb__ShowClickHouseSlowLogSensitiveStatus.

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, no prerequisites, and no mention of how this differs from the similar-sounding siblings gaussdb__SetSensitiveSlowLog or gaussdb__UpdateSlowlogSensitiveSwitch. The agent must infer that this is the write counterpart to the Show tool.

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