Skip to main content
Glama

rds__ListSlowLogFile

Retrieve slow log files for a specified RDS instance to review database performance issues and support query analysis.

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

Input Schema

NameRequiredDescriptionDefault
limitNo查询记录数。取值范围[1, 100]。
offsetNo索引位置,偏移量。
project_idYes项目ID。
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?

No annotations are supplied, so the description carries the full behavioral burden, yet it only implies read-only via "查询". It does not disclose pagination behavior for the offset/limit window, ordering of results, what a "file" contains versus a log entry, or any permission requirements.

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?

The single short sentence is front-loaded and free of waste, but its brevity reflects under-specification rather than disciplined editing. The "[RDS]" prefix adds a small amount of scoping signal and nothing else.

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?

For a listing tool with a fully documented schema and no output schema, the description should at least indicate what the returned file records look like and how paging interacts with the list. It says nothing about return content, so an agent cannot anticipate the response shape.

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% – all four parameters (limit, offset, project_id, instance_id) are documented in the schema, including the [1, 100] range for limit. The description adds no meaning beyond that, so the baseline of 3 applies.

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?

"查询慢日志文件列表" states a verb (query) and a resource (slow log file list), so the basic operation is inferable. However, it essentially restates the tool name and gives no basis for distinguishing it from siblings such as rds__ListSlowLogs, rds__ListSlowLogsNew, or gaussdb__DownloadSlowLogFile, which all sit in the same slow-log area.

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 rather than the other slow-log listing tools, and no stated prerequisites or follow-up (e.g. whether a returned file is then fed to a download tool). The agent must infer selection purely from the name.

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