Skip to main content
Glama

rds__SwitchLogReplay

Pause or resume WAL log replay for a Huawei Cloud RDS instance; set pause_log_replay to true to stop replay or false to resume.

Instructions

[RDS] 中止/恢复wal日志回放

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>",
      "pause_log_replay": "<pause_log_replay>",
      "project_id": "<project_id>"
    },
    "name": "rds__SwitchLogReplay"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes租户在某一region下的project ID
instance_idYes实例id
pause_log_replayYes“true”表示中止回放,“false”表示恢复回放,其他情况表示不做操作

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 supplied, so the description carries the full disclosure burden, and it discloses almost nothing. It does not say whether replay resumes from where it stopped, how long the pause persists, whether the setting survives a reboot, or what permissions the caller needs. For a state-changing operation on a database instance, that is a substantial gap.

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 clause with no wasted wording, and the action is front-loaded in the bracketed RDS prefix plus the verb phrase. It is efficient, though the brevity borders on under-specification rather than crispness.

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 mutates instance behavior, has three required parameters, no annotations, and no output schema, yet the description is one line with no behavioral or safety context. An agent could invoke it but would do so without knowing the consequences or prerequisites.

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%: project_id, instance_id, and pause_log_replay are each documented in the schema, including the somewhat unusual tri-state semantics of pause_log_replay. The description adds nothing beyond the schema, so the baseline of 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 names a concrete action on a concrete resource: abort or resume WAL log replay for an RDS instance. That is far more specific than the 'Switch' in the tool name, so an agent understands the operation. It does not, however, contrast with siblings such as rds__RestoreLogReplayDatabase or rds__ShowReplayDelayStatus, which share the same log-replay domain.

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?

The description gives no guidance on when to pause versus resume other than what the parameter values imply, and it does not say when to choose this tool over the other replay-related siblings. It also omits prerequisites, such as whether the instance must be in a particular state for the switch to take effect.

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