Skip to main content
Glama

sdrs__ListProtectedInstances

Lists all protected instances in the current tenant and supports filtering by project, name, status, server group, and availability zone to inspect disaster recovery resources.

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__ListProtectedInstances"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo保护实例的名称。支持模糊查询。
limitNo每次请求返回结果个数限制,取值范围为[0,1000]的正整数,默认值为1000。
offsetNo每次请求开始的下标,即偏移量,默认值为0。offset必须为数字,不能为负数。
statusNo保护实例状态。
project_idYes项目ID。
query_typeNo查询场景类型。status_abnormal:表示查询异常状态的保护实例列表。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_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对应的所有保护实例列表。如果“server_group_id”或者“server_group_ids”查询参数存在时,“protected_instance_ids”会被忽略。

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 behavioral burden. It does convey that the result set is tenant-scoped and unfiltered, but says nothing about pagination (despite a limit/offset in the schema), authorization requirements, ordering, or what data comes back — significant gaps for a read tool with no readOnlyHint.

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?

A single short sentence with the resource front-loaded and zero wasted wording. Its terseness is efficient but tips into under-specification, and the '[SDRS]' prefix carries little selection value.

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

Completeness3/5

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

For a ten-parameter listing tool the schema does the heavy lifting and no output schema exists, so the description needn't explain return values. Still missing are the disambiguation from tag-based siblings and any hint about pagination behavior when the default limit of 1000 is reached.

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, including the enum for query_type and the URL-encoded list formats, are fully documented in the input schema. The description adds no meaning beyond that, which is acceptable at the stated baseline.

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?

States a specific verb and resource: query the list of all protected instances under the current tenant, plus the scoping qualifier 'current tenant'. It does not, however, distinguish itself from tag-based siblings such as ListProtectedInstancesByTags or ListProtectedInstancesProjectTags, so an agent cannot tell from the description alone which list variant it wants.

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 when-to-use guidance, no prerequisites, and no named alternative. The word 'all' (所有) faintly implies an unfiltered listing versus the tag-based siblings, but that inference is left entirely to the agent rather than stated.

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