Skip to main content
Glama

sdrs__ListProtectionGroups

Lists all SDRS protection groups for the current tenant, with filters for name, status, availability zone, and query type to locate specific groups.

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

Input Schema

NameRequiredDescriptionDefault
nameNo保护组的名称。支持模糊查询。
limitNo每次请求返回结果个数限制,取值范围为[0,1000]的正整数,默认值为1000。
offsetNo每次请求开始的下标,即偏移量,默认值为0。offset必须为数字,不能为负数。
statusNo保护组状态。
project_idYes项目ID。
query_typeNo查询场景类型。
availability_zoneNo保护组的当前生产站点可用区。

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 provided, so the description carries the full burden of behavioral disclosure, yet it only adds tenant-level scope ('当前租户') beyond the schema. It says nothing about pagination semantics, default ordering, result-set size, permissions, or what the response looks like for a 7-parameter listing operation.

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, front-loaded sentence with a service tag and no filler. It is efficient, though it is arguably too terse for the amount of behavior left unstated.

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?

With 7 parameters, no annotations, and no output schema, the definition needs to explain far more: filtering behavior, pagination expectations, and the meaning of the query scenarios. The one-line description leaves the agent entirely dependent on the schema and unable to reason about result volume or safe use.

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 per-parameter descriptions for name, limit, offset, status, query_type, and availability_zone, so the baseline is 3. The description adds no meaning beyond the schema and does not clarify the ambiguous filter scenarios, such as how query_type interacts with status.

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 states a specific verb and resource ('查询...保护组列表' = query the protection group list) with tenant-wide scope, which distinguishes it implicitly from singular/detail siblings like ShowProtectionGroup and mutation siblings like Create/DeleteProtectionGroup. It stops short of naming any sibling explicitly, so differentiation relies on the reader inferring behavior from the sibling names.

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: nothing says when to prefer this over ShowProtectionGroup for a single group, or how it relates to the other List* siblings. The 'all groups' scope is weakly implied by '所有的保护组列表', but no exclusions, prerequisites, or alternatives are stated, leaving the agent to infer selection criteria.

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