Skip to main content
Glama

gaussdbfornosql__SwitchSlowlogDesensitization

Enable or disable slow log desensitization for a GaussDB for NoSQL instance to protect sensitive data in slow query logs.

Instructions

[GAUSSDBFORNOSQL] 设置慢日志脱敏状态

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

Input Schema

NameRequiredDescriptionDefault
project_idYes租户在某一region下的project ID。
instance_idYes实例ID,可以调用5.3.3 查询实例列表和详情接口获取。如果未申请实例,可以调用5.3.1 创建实例接口创建。
desensitization_statusYes实例慢日志脱敏开关开启状态,取值:

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/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 delivers almost nothing. It implies a mutation via 设置 but does not say whether the change takes effect immediately, applies to already-stored logs or only new ones, is reversible, or what permissions/instance state are required.

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 sentence with the vendor prefix then verb+resource — front-loaded and free of filler. It is not bloated; it is simply thin.

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?

This is a three-parameter mutation tool with no annotations and no output schema, so the description is the only place behavior can be explained — and it explains none of it. An agent can guess the intent but cannot confirm side effects, required instance state, or the valid values for the status parameter.

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 coverage is 100%, so the baseline is 3 and the description adds nothing beyond it. Notably, the schema's own description of desensitization_status is truncated ("取值:" with no allowed values listed), a risk the description does not compensate for.

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 concrete verb (设置/set) and resource (慢日志脱敏状态 / slow log desensitization status), which is more than a tautology. However, it never positions itself against the obvious read counterpart ShowSlowLogDesensitization, so the agent must infer the read/write split from the names 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?

There is no when-to-use guidance, no mention of prerequisites, and no named alternative. The agent gets no help deciding between this tool and the sibling status-query tool or other switch tools.

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