Skip to main content
Glama

sdrs__AttachProtectedInstanceReplication

Attach a specified replication pair to a protected instance in Huawei Cloud SDRS using the protected instance ID, replication ID, and device mount point.

Instructions

[SDRS] 将指定的复制对挂载到指定的保护实例上。

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": {
      "project_id": "<project_id>",
      "protected_instance_id": "<protected_instance_id>",
      "replicationAttachment": "<replicationAttachment>"
    },
    "name": "sdrs__AttachProtectedInstanceReplication"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID。
protected_instance_idYes保护实例的ID。
replicationAttachmentYes表示挂载复制对操作。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.7/5.0
Behavior1/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, and it discloses nothing beyond the bare action: no permission/authorization requirements, no side effects on the instance or replication pair, no idempotency or conflict behavior, no indication of what happens if the pair is already attached. For a mutating attach operation with zero annotation coverage this is a serious 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 sentence with the bracketed service prefix, no redundant wording, and the action stated up front. It is efficient, though its terseness is part of the transparency problem rather than a model of well-structured guidance.

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 three-parameter mutating tool with a nested object, no annotations, and no output schema, the description says nothing about prerequisites, effects, or expected result. An agent could not call this correctly and safely on the description alone; only the schema fields are covered.

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 each parameter, including the nested replicationAttachment object with device and replication_id, is documented in the schema itself. The description only restates the relationship between the two IDs and adds no format, constraint, or validation meaning beyond the schema, so the 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?

Names a specific verb (attach/挂载) and both resources involved (replication pair and protected instance), plus the SDRS service tag, so the agent can distinguish it from the inverse sdrs__DetachProtectedInstanceReplication. It stops short of explicitly naming that sibling or the preconditions, so it is clear but not fully differentiated.

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 statement of when to use this versus the detach sibling, nor any prerequisite such as the protected instance needing to be in a specific state or the replication pair being unattached and available. The agent must infer all usage conditions from the tool 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