Skip to main content
Glama

rds__ListSlowLogsNew

Query Huawei Cloud RDS slow logs for a specified instance and time range, with optional statement type and pagination filters to diagnose database performance issues.

Instructions

[RDS] 查询数据库慢日志。(与原v3接口相比修改offset,符合华为云服务开放 API遵从性规范3.0)

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

Input Schema

NameRequiredDescriptionDefault
typeNo语句类型,取空值,表示查询所有语句类型。
limitNo每页多少条记录,取值范围是1~100,不填时默认为10。
offsetNo索引位置,偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。
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.9/5.0
Behavior2/5

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

No annotations are provided, so the description must carry the full behavioral burden. It mentions an offset change relative to v3 and API-compliance conformance, but discloses nothing about permissions, ordering, time-range limits, pagination beyond offset, or what is returned.

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 purpose is front-loaded in a single short sentence. The parenthetical about the v3 offset change and compliance specification is of limited use to an invoking agent, but it does not bloat the description.

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?

For a seven-parameter query tool with no annotations and no output schema, the description is only minimally complete. The input schema covers parameters fully, but return format, result ordering, and pagination behavior are left entirely unexplained.

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 already explains every parameter, including offset, limit, dates, and the type enum. The description adds no parameter meaning beyond the vague note that offset was changed relative to the v3 interface, so baseline 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 gives a specific verb and resource: querying RDS database slow logs. It does not distinguish this tool from close siblings such as rds__ListSlowLogs or rds__ListSlowLogStatisticsForLts, so sibling differentiation is missing.

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?

It states only that the tool queries slow logs, with no guidance on when to use it instead of rds__ListSlowLogs or other slow-log tools, and no stated exclusions or prerequisites. Usage is left to inference 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