Skip to main content
Glama

rds__ListSlowLogStatisticsForLts

Retrieve slow query log statistics for an RDS instance within a specified time range, with optional filtering by database, statement type, and sorting.

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_time": "<end_time>",
      "instance_id": "<instance_id>",
      "project_id": "<project_id>",
      "start_time": "<start_time>"
    },
    "name": "rds__ListSlowLogStatisticsForLts"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNo指定排序字段。"executeTime",表示按照执行时间降序排序。字段为空或传入其他值,表示按照执行次数降序排序。
typeNo语句类型,取空值,表示查询所有语句类型。
limitNo每页多少条记录(查询结果),取值范围是1~100,不填时默认为10。
orderNo排序顺序。默认desc。
offsetNo索引位置,偏移量。默认为0,表示从第一条数据开始查询。
databaseNo数据库名称。
end_timeYes结束时间,格式为“yyyy-mm-ddThh:mm:ssZ”。
project_idYes租户在某一region下的project ID。获取方法请参见获取项目ID。
start_timeYes开始日期,格式为“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 carries the full burden, yet it says nothing about read-only nature, permission/tenant requirements implied by project_id, or how results are aggregated. It does not disclose what the 'statistics' contain (aggregates per statement type, counts, average execution time) or any pagination behavior beyond the schema fields.

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?

A single short sentence with the resource and scope front-loaded and no wasted words. Its brevity borders on under-specification rather than being genuinely tight.

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?

With ten parameters, no annotations, and no output schema, the description should explain the shape of the returned statistics and any operational constraints. Instead it offers one line that leaves the return semantics and usage context entirely undocumented.

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 all ten parameters are already documented including the time format, type enum, and sort semantics. The description adds no additional meaning beyond what the schema provides, which matches the baseline of 3.

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 (query slow log statistics) scoped to an instance, which is clear on its own. It does not distinguish this tool from near-identical siblings such as rds__ListSlowlogStatistics or gaussdb__ShowSlowLogStatistics, so the agent gets no help telling 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 guidance on when to use this tool versus the many sibling slow-log tools, and no mention of prerequisites, LTS enablement, or the time-window requirement. The agent must infer usage entirely from the name and schema.

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