Skip to main content
Glama

gaussdb__SetSqlFilterRule

Configure SQL throttling rules for a GaussDB instance by defining per-node SQL patterns and maximum concurrency limits to control database load.

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>",
      "sql_filter_rules": "<sql_filter_rules>"
    },
    "name": "gaussdb__SetSqlFilterRule"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes租户在某一region下的project ID。
instance_idYes实例ID。
sql_filter_rulesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2/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 burden and discharges almost none of it. It does not state whether setting rules replaces or merges with existing rules, whether rules take effect immediately, what permissions are required, or whether the operation 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 technically concise with no wasted words, but that is because it says almost nothing. Brevity here reflects under-specification rather than efficient structure.

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

Completeness1/5

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

For a mutation tool with nested array parameters, no annotations, and no output schema, the description is far too thin. An agent cannot determine effect semantics, prerequisites, or result behavior from a seven-character restatement of the tool name.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 67% for a three-parameter tool with deep nesting (node_id → rules → sql_type/patterns → pattern/max_concurrency), and the description adds zero parameter meaning. Key questions such as whether multiple node_id entries can be sent, how sql_type values are enumerated, or how the unconditional structure behaves are left to the schema alone.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description is essentially a Chinese translation of the tool name ("设置SQL限流规则" = set SQL filter rule), adding no information beyond the identifier itself. It does not distinguish this tool from siblings like gaussdb__DeleteSqlFilterRule or gaussdb__ShowSqlFilterRule, nor does it clarify scope such as whether rules are instance-wide or node-level.

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 guidance on when to use this tool versus DeleteSqlFilterRule, ShowSqlFilterRule, or the filter-control tools. No prerequisites, ordering, or exclusion conditions are stated, leaving the agent to infer usage entirely.

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