Skip to main content
Glama

sdrs__ListReplications

Lists replication pairs for specified protection groups or across the current tenant when no group is provided, with filters for name, status, instance, and availability zone.

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>"
    },
    "name": "sdrs__ListReplications"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo复制对的名称。支持模糊查询。
limitNo每次请求返回结果个数限制,取值范围为[0,1000]的正整数,默认值为1000。
offsetNo每次请求开始的下标,即偏移量,默认值为0。offset必须为数字,不能为负数。
statusNo复制对的状态。
project_idYes项目ID。
query_typeNo查询场景类型。如需查询异常状态的复制对列表,query_type的值为“status_abnormal”。否则,query_type取值为空或“general”。
server_group_idNo保护组的ID。
server_group_idsNo保护组的ID列表,格式为server_group_ids=['server_group_id1','server_group_id2',...,'server_group_idx'],请使用URL编码进行转换。返回“server_group_ids”中有效server_group_id的复制对列表,无效的server_group_id会被忽略。支持查询最多30个server_group_id对应的复制对列表。如果“server_group_id”和“server_group_ids”查询参数同时存在,“server_group_id”会被忽略。
availability_zoneNo复制对所在的保护组的当前生产站点可用区。
protected_instance_idNo保护实例的ID。
protected_instance_idsNo保护实例的ID列表,格式为protected_instance_ids=['protected_instance_id1','protected_instance_id2',...,'protected_instance_idx'],请使用URL编码进行转换。返回“protected_instance_ids”中有效protected_instance_id的复制对列表,无效的protected_instance_id会被忽略。支持查询最多30个protected_instance_id对应的复制对列表。如果“protected_instance_id”和“protected_instance_ids”查询参数同时存在,“protected_instance_id”会被忽略。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description must carry behavioral disclosure; it does signal read-only listing semantics and the tenant-wide fallback scope, which is meaningful. It omits permission requirements, result-size expectations, and what a returned item contains (no output schema exists), so the burden is only partly met.

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 front-loaded sentence states the primary case first and the fallback second, with no filler. The '[SDRS]' prefix is a harmless namespace tag, though it consumes space without adding semantics.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 11-parameter list tool with rich per-parameter schema documentation and no output schema, the description covers the essential scoping decision an agent must make. Return-shape and pagination expectations are not described, but the schema's limit/offset entries largely cover the latter.

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 parameters are documented in detail, including the server_group_id vs server_group_ids precedence and the encoding format, so the schema does the heavy lifting. The description contributes only the meaning of omitting server_group_id, leaving the other ten filters (name fuzzy match, status, query_type, pagination) entirely to the schema.

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 specific verb (查询/list) and resource (复制对/replication pairs) and states two scopes: within a named protection group, or tenant-wide when none is given. It does not distinguish itself from siblings such as sdrs__ListProtectionGroups or sdrs__ListProtectedInstances, but the resource is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The conditional 'if no protection group is specified, query all replication pairs under the current tenant' implicitly tells the agent how to choose scope, which is useful. However, no alternative tool is named and there is no guidance on when to prefer this over other listing endpoints or when the tenant-wide default is unsafe on a large tenant.

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