Skip to main content
Glama

rds__UpdateSqlLimit

Update a SQL limit rule on a Huawei Cloud RDS instance by setting database name, rule ID, max concurrency, and max wait time to control query traffic.

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": {
      "db_name": "<db_name>",
      "id": "<id>",
      "instance_id": "<instance_id>",
      "max_concurrency": "<max_concurrency>",
      "max_waiting": "<max_waiting>",
      "project_id": "<project_id>"
    },
    "name": "rds__UpdateSqlLimit"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesSQL限流ID。
db_nameYes数据库名称。
project_idYes项目ID
instance_idYes实例ID
max_waitingYes最大等待时间,单位为秒。
max_concurrencyYes同时执行的sql数量,小于等于0表示不限制,默认为0,取值范围(-1~50000)。

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?

With no annotations supplied, the description carries the full behavioral burden, yet it says nothing about whether the update takes effect on live traffic immediately, whether changes are reversible, whether required parameters must match the existing rule, or what constitutes a valid target rule. Only the bare mutation intent 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.

Conciseness3/5

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

The single bracketed phrase is front-loaded and free of waste, but it is so terse that it falls into under-specification rather than genuine conciseness. There is no structure beyond a product tag and a verb phrase.

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 six-parameter, all-required mutation tool with no annotations and no output schema, so the description is the only place to explain effects and preconditions — and it provides none. For that complexity level, a four-character phrase is not sufficient context for correct invocation.

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 all six parameters (including max_concurrency's -1~50000 range and max_waiting in seconds) are already documented in the schema. The description adds no additional meaning about how these values interact or what happens on out-of-range input, so 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 specific verb and resource ('修改SQL限流' – modify SQL throttling), which is more than a tautology. However, it gives no scope or qualifier that separates it from close siblings such as rds__SwitchSqlLimit (which presumably toggles rather than edits thresholds) or das__UpdateSqlLimitRules, so an agent cannot distinguish them from the text 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 prerequisites (e.g. the rule must already exist), and no mention of alternatives such as SwitchSqlLimit for enabling/disabling versus this tool for editing thresholds. Usage must be inferred entirely from the verb.

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