Skip to main content
Glama

das__ListSqlLimitRules

Queries existing SQL limit rules for MySQL or PostgreSQL database instances, with pagination to review configured throttling rules and their details.

Instructions

[DAS] 查询SQL限流规则。目前仅支持MySQL和PostgreSQL数据库。

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": {
      "datastore_type": "<datastore_type>",
      "instance_id": "<instance_id>",
      "project_id": "<project_id>"
    },
    "name": "das__ListSqlLimitRules"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo查询记录数。默认为100,不能为负数,最小值为1,最大值为100。
offsetNo偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。
project_idYes项目ID
instance_idYes实例ID
database_nameNo数据库名(PostgreSQL必填)
datastore_typeYes数据库类型

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/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 disclosure burden. '查询' signals a read, but the description does not state whether results are paginated, what fields each rule returns, whether project/instance permissions are required, or what an empty result means. With zero annotation coverage, only the datastore-type restriction is added beyond the schema.

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

Conciseness4/5

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

Two tight sentences with the purpose front-loaded and the support constraint immediately after. The '[DAS]' prefix carries almost no information for an agent but is a minor cost.

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

Completeness4/5

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

For a six-parameter read-only list tool whose schema fully documents every field, the description covers what it does and which datastores it applies to, which is close to sufficient. Minor gaps remain around return shape and the interaction between database_name and datastore_type, but no output schema exists so return-value detail is not strictly required.

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 limit, offset, project_id, instance_id, database_name and datastore_type are all already documented. The description only reinforces the datastore_type enum restriction and adds no new meaning, such as how database_name interacts with datastore_type, so the baseline of 3 applies.

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 states a specific verb and resource ('查询SQL限流规则' – query SQL limit rules) and adds a scope constraint, only MySQL and PostgreSQL are supported. The 'List' verb distinguishes it from the Create/Delete/Update/Parse siblings that share the same resource, though no sibling is named explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by the verb: an agent infers it should call this to read existing rules rather than mutate them. The '仅支持MySQL和PostgreSQL' clause functions as a real precondition that rules out other datastores, but there is no explicit statement of when to prefer this over das__ShowSqlLimitSwitchStatus or rds__ListSqlLimit.

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