Skip to main content
Glama

gaussdb__CreateAccessControl

Configures IP whitelist or blacklist access rules for a GaussDB database proxy, defining which IP addresses or CIDR ranges can access the instance.

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>",
      "ip_list": "<ip_list>",
      "project_id": "<project_id>",
      "proxy_id": "<proxy_id>",
      "type": "<type>"
    },
    "name": "gaussdb__CreateAccessControl"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYes访问控制方式。 取值: - white:表示白名单。 - black:表示黑名单。
ip_listYes控制访问的IP地址数组,最多可添加300个IP地址或网段。
proxy_idYes数据库代理ID,严格匹配UUID规则。
project_idYes租户在某一Region下的project ID。
instance_idYes实例ID,严格匹配UUID规则。

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?

No annotations are supplied, so the description carries the full behavioral burden and delivers almost nothing. It does not disclose whether this replaces or appends to existing rules, whether it is destructive to prior configuration, what permissions are needed, or that the proxy/instance must be in a valid state.

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?

It is a single short sentence with no wasted words and is trivially front-loaded, but the brevity reflects under-specification rather than disciplined editing. There is no structure to speak of.

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 five-parameter, fully-required mutation tool with no annotations and no output schema, the description leaves out call prerequisites, side effects, and result behavior entirely. The rich schema compensates for parameter details but not for operational context.

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% and all five parameters are described in the schema, including the white/black enum, the 300-entry limit, and the UUID-matching rules. The description adds no meaning beyond that, so the baseline 3 applies.

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 generic verb+resource pair ('设置访问控制规则' / set access control rules) and is tagged as a GaussDB tool, but it does not say the rules are proxy-level whitelist/blacklist entries, nor does it differentiate this from the sibling gaussdb__SwitchAccessControl. An agent can guess the domain but not the precise operation.

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 prerequisite (e.g. proxy must exist), and no mention of the sibling SwitchAccessControl as the alternative for toggling versus setting rules. The agent must infer everything from the tool name.

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