Skip to main content
Glama

sdrs__ListFailureJobs

Lists failed jobs across all protection groups or within a specified group, with filters for resource name, resource type, and failure status to identify and troubleshoot unsuccessful disaster recovery operations.

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

Input Schema

NameRequiredDescriptionDefault
limitNo每次请求返回结果个数限制。取值范围为[0,1000]的正整数,默认值为1000。
offsetNo每次请求开始的下标,即偏移量,默认值为0。offset必须为数字,不能为负数。
project_idYes项目ID。
resource_nameNo保护组资源名称。
resource_typeNo资源类型。server_groups:表示保护组。protected_instances:表示保护实例。replications:表示复制对。disaster_recovery_drills:表示容灾演练。
failure_statusNo失败任务状态。createFail:表示创建失败。deleteFail:表示删除失败。attachFail:表示挂载失败。detachFail:表示卸载失败。expandFail:表示扩容失败。resizeFail:表示变更规格失败。startFail:表示开启保护失败。stopFail:表示停止保护失败。reverseFail:表示切换失败。failoverFail:表示故障切换失败。reprotectFail : 表示重保护失败。
server_group_idNo保护组ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/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, yet it gives only the purpose. It says nothing about permission/project scoping, result ordering, whether the list is a point-in-time snapshot, or what a 'failure task' record comprises; only the read-only nature of 查询 is implicit in the verb.

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 compact sentence with the resource front-loaded and no filler. The bracketed vendor tag [SDRS] and the redundant repetition of 列表 are minor noise but cost nothing meaningful.

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 seven-parameter read tool with a fully documented schema and no output schema, the description covers purpose and scope but omits anything about returned content, ordering, or pagination semantics. Adequate as a minimum, but an agent must rely entirely on the schema for the rest.

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%, including documented enums for resource_type and failure_status, so the schema already explains every parameter. The description only restates the server_group_id filtering behavior already documented, adding no syntax, defaults, or interaction detail beyond 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 (失败任务列表 failure jobs) and even states the two scopes: all protection groups, or one specified protection group. It does not explicitly contrast with siblings such as DeleteAllServerGroupFailureJobs, but the read-vs-delete distinction is clear enough from the wording.

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 sentence implies the selection rule — use the specified-protection-group form when a group is given, otherwise list everything — but never names any alternative tool or states exclusions. Usage is inferred from the scope wording rather than spelled out.

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