Skip to main content
Glama

rds__ListSlowLogs

Query Huawei Cloud RDS slow query logs for a specific instance and date range, with optional statement-type filtering and pagination to diagnose database performance issues.

Instructions

[RDS] 查询数据库慢日志。

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": {
      "end_date": "<end_date>",
      "instance_id": "<instance_id>",
      "project_id": "<project_id>",
      "start_date": "<start_date>"
    },
    "name": "rds__ListSlowLogs"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNo语句类型,取空值,表示查询所有语句类型。
limitNo每页多少条记录,取值范围是1~100,不填时默认为10。
offsetNo页数偏移量,如1、2、3、4等,不填时默认为1。
end_dateYes结束时间,格式为“yyyy-mm-ddThh:mm:ssZ”。
project_idYes项目ID。
start_dateYes开始日期,格式为“yyyy-mm-ddThh:mm:ssZ”。
instance_idYes实例ID。

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, but it discloses nothing: not whether this is a read-only list, whether pagination is required, how results are ordered or bounded by the date range, or whether permissions/authorization are needed. The only behavioral hints (default page size 10, offset default, enum for statement type) come from the schema rather than the description.

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 sentence with zero wasted words and the service tag is front-loaded, but this is under-specification rather than genuine conciseness; the description is too thin for a 7-parameter, 4-required tool.

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?

The tool takes 7 parameters including path-level instance_id and project_id, has no output schema, and has no annotations, yet the description is one generic sentence. It leaves unclear what the response contains, whether pagination must be driven manually, and how it relates to the many sibling slow-log tools — far short of what this complexity requires.

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 every parameter carries its own description and examples, so the baseline of 3 applies. The description adds no additional meaning about how start_date/end_date interact, whether the range is inclusive, or how type filters combine with limit/offset.

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 names a verb and resource (query slow logs) and the [RDS] tag scopes it to that service, so the basic intent is clear. However, it gives no detail on what kind of slow logs or scope (instance-level vs project-level), and it does not distinguish it from close siblings like rds__ListSlowLogsNew or rds__ListSlowLogFile, leaving an agent unable to tell them apart.

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 at all: no conditions, no prerequisites, and no mention of alternatives such as rds__ListSlowLogsNew (likely a newer version), rds__ListSlowLogFile (files rather than entries), or rds__ListSlowLogStatisticsForLts (aggregates). An agent has to guess which slow-log tool to invoke.

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