Skip to main content
Glama

gaussdb__UpdateAuditLog

Enable or disable full SQL audit logging for a GaussDB instance by specifying the project, instance, and switch status.

Instructions

[GAUSSDB] 开启或者关闭全量SQL。

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>",
      "project_id": "<project_id>",
      "switch_status": "<switch_status>"
    },
    "name": "gaussdb__UpdateAuditLog"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes租户在某一region下的project ID。
instance_idYes实例ID。
switch_statusYes全量SQL开关状态。

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?

With no annotations supplied, the description carries the full behavioral burden, and it discloses almost nothing: it never says this is a mutating operation, whether enabling has performance/storage cost or takes effect immediately, whether the change is reversible, or what permissions are needed. Only the fact that a switch is being flipped 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with zero filler and an explicit service tag. It is efficient, though the brevity borders on under-specification rather than crispness.

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 parameterized mutation tool with no annotations and no output schema, the definition is too thin. It omits the impact of enabling full SQL, prerequisites, and the expected result of the call, leaving the agent to infer everything beyond the surface action.

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%, with project_id, instance_id, and switch_status each documented in the schema itself. The description adds no extra meaning such as accepted switch values beyond the ON example or the default state, so the baseline 3 applies.

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 pair (enable/disable, 开启或者关闭) and resource (full SQL audit logging), so an agent can tell it is a state toggle rather than a read. It does not differentiate itself from siblings like ShowAuditLog or ListAuditLogDownloadLink, and the wording 'full SQL' is not tied explicitly to the 'AuditLog' in the tool name.

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, when-not-to-use, or alternative guidance is given. The agent is not told whether this is the right tool for viewing audit settings versus changing them, nor whether any prerequisite state must exist before toggling.

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