Skip to main content
Glama

das__ShowSqlLimitSwitchStatus

Retrieves the SQL throttling switch status for a MySQL instance, helping you verify whether SQL limit control is enabled before tuning or troubleshooting.

Instructions

[DAS] 查询SQL限流的开关状态。目前仅支持MySQL实例

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__ShowSqlLimitSwitchStatus"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID
instance_idYes实例ID
datastore_typeYes数据库类型

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full disclosure burden; it does communicate that this is a read (查询) and that only MySQL instances are supported. It does not state permission requirements, whether the check is per-instance, or what the switch status response looks like. That is adequate but thin for a zero-annotation tool.

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?

The definition consists of two short sentences, and the purpose statement comes first. It is efficient, though borderline under-specified rather than tight for the right reasons.

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

Completeness3/5

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

This is a simple three-parameter read tool with full schema coverage, so little is required. However, with no output schema, the description should say what 'switch status' returns (for example, an on/off flag), and it does not, leaving that return-shape question unanswered.

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 three parameters are already documented, which sets the baseline at 3. The description does implicitly narrow datastore_type to MySQL even though the schema's enum lists PostgreSQL, which is a useful clarification, but it says nothing about project_id or instance_id behavior.

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 plus resource: query (查询) the SQL throttling switch status (SQL限流的开关状态). It is easily distinguished from the ChangeSqlLimitSwitchStatus sibling by the Show/Change split, but it never explicitly names the mutation counterpart, so it falls short of a full 5.

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?

The phrase '目前仅支持MySQL实例' gives a real precondition and is the most valuable part of the sentence, but it says nothing about when to prefer this tool over sibling status tools or when it should not be called. Usage is implied rather than directed.

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