Skip to main content
Glama

gaussdb__UpdateSlowlogSensitiveSwitch

Enable or disable slow query log desensitization for a specified GaussDB instance, controlling whether sensitive data is masked in slow logs.

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__UpdateSlowlogSensitiveSwitch"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes租户在某一Region下的project ID。
instance_idYes实例ID。
open_slow_log_switchYes慢日志开关状态。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/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 behavioral burden, and it discloses almost nothing. It does not state that this is a mutating write operation with side effects on slow-log output, whether the change takes effect immediately or is reversible, or what permissions the caller needs. For a mutation tool with zero annotation coverage this is a substantive 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 bracketed service tag plus one short clause, with the action front-loaded and no filler. It is efficient, though the brevity reflects under-specification rather than disciplined editing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

All three required parameters are documented in the schema and no output schema exists, so the structured data covers the mechanics of the call. However, a mutation tool with no annotations leaves the agent guessing about effect timing, reversibility and permissions — the description should close that gap and does not.

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%: project_id, instance_id and open_slow_log_switch are each documented in the schema itself, so the description need not repeat them. The description adds nothing beyond that baseline, such as whether open_slow_log_switch=true means desensitization is on or masked logging is enabled, which is a genuine ambiguity in the boolean's polarity.

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 action pair (开启或关闭 = enable/disable) applied to a specific resource (慢日志脱敏状态 = slow-log desensitization state), so an agent can tell it mutates a toggle rather than reading or listing anything. It does not, however, distinguish itself from the read counterpart gaussdb__ShowSlowlogSensitiveStatus or from gaussdb__UpdateClickHouseSlowLogSensitiveStatus, so there is no sibling differentiation.

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 statement of when to use this tool versus the sibling status-query tool, no mention of prerequisites such as needing to read the current state first, and no note about which instance types or regions it applies to. Usage is only implied by the verb 'enable/disable'; the agent receives no routing guidance.

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