Skip to main content
Glama

rds__SwitchSqlLimit

Enable, disable, or disable all SQL throttling rules on a Huawei Cloud RDS instance for a specified database and SQL limit ID.

Instructions

[RDS] 开启/关闭/禁用所有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": {
      "action": "<action>",
      "db_name": "<db_name>",
      "id": "<id>",
      "instance_id": "<instance_id>",
      "project_id": "<project_id>"
    },
    "name": "rds__SwitchSqlLimit"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesSQL限流ID。
actionYesSQL限流动作标志。
db_nameYes数据库名称。
project_idYes项目ID
instance_idYes实例ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/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 burden and discloses little: it does not say whether the change is reversible, whether it affects already-running sessions or only future traffic, what permissions are needed, or whether 'all' scopes to the whole database or just the given id. The three actions are named in the description but never mapped to acceptable values for the `action` field.

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 phrase that is front-loaded and wastes nothing, but it is under-specified rather than economical - the brevity leaves the action semantics and the 'all' scope unexplained.

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 mutating tool with five required parameters, no annotations, and no output schema. The description does not cover the action value space, the meaning of 'all' versus `id`, or the effect on existing throttling, so it is not complete enough for an agent to call it confidently.

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%, so the baseline is 3 and the schema already documents all five required parameters. However, the most semantically important parameter, `action`, is described only as 'SQL限流动作标志' with no enum, and the description names three verbs without indicating which string values they correspond to, so it adds no usable meaning.

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 gives a specific verb set (开启/关闭/禁用 - enable/disable/forbid) and a specific resource (所有SQL限流 - all SQL throttling rules), so an agent can tell it controls SQL throttling state on an RDS instance. It is not differentiated from nearby siblings such as rds__UpdateSqlLimit or das__ChangeSqlLimitSwitchStatus, and the word '所有' (all) conflicts with the required single `id` parameter.

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 rds__UpdateSqlLimit, rds__CreateSqlLimit, or das__ChangeSqlLimitSwitchStatus. No prerequisites (instance state, permissions) or exclusions are given, so the agent must infer the situation from the name alone.

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