Skip to main content
Glama

rds__CreateSqlLimit

Creates an SQL throttling rule for a Huawei Cloud RDS instance by setting maximum concurrency and wait time for a specified database and query.

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>",
      "instance_id": "<instance_id>",
      "max_concurrency": "<max_concurrency>",
      "max_waiting": "<max_waiting>",
      "project_id": "<project_id>"
    },
    "name": "rds__CreateSqlLimit"
  }
}

Input Schema

NameRequiredDescriptionDefault
db_nameYes数据库名称。
query_idNo由SQL的语法解析树计算出的内部哈希码,默认为0,取值范围(-9223372036854775808~ 9223372036854775807)。
project_idYes项目ID
instance_idYes实例ID
max_waitingYes最大等待时间,单位为秒。
search_pathNo为不是模式限定的名称设置模式搜索顺序,默认为public。
query_stringNoSQL语句的文本形式。(注:query_id与query_string只可以存在一个)
max_concurrencyYes同时执行的SQL数量,小于等于0表示不限制,默认为0,取值范围(-1~50000)。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.4/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. It implies a mutating create, but discloses nothing about required permissions, whether an existing limit is overwritten, whether the rule takes effect immediately, or what the response contains — a serious gap for a write tool with zero annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

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

The definition is a single bracketed fragment; it is short but under-specified rather than concise. There is no structure, no front-loaded context beyond the service tag, and no sentence that helps an agent act.

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 an eight-parameter, five-required mutation with no annotations and no output schema, the description leaves the essential behavioral questions unanswered. The rich input schema covers parameters, but the definition itself is not complete enough to call this tool safely.

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 the schema documents all eight parameters, including the query_id/query_string mutual exclusion and max_concurrency bounds. The description adds nothing 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 phrase "新增SQL限流" (add SQL throttling) names a verb and a resource, so the basic action is identifiable. However, it is a bare label with no scope detail and gives no way to tell it apart from the closely named sibling rds__UpdateSqlLimit or the das__CreateSqlLimitRules family, which appear to address the same concept.

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 or permission note, and no mention of when to choose this over the sibling SQL-limit tools. The agent must infer everything 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