Skip to main content
Glama

aad__ListPolicy

Lists AAD protection policies with pagination and optional policy-name filtering, helping you review configured policies for Huawei Cloud Anti-DDoS.

Instructions

[AAD] 查询策略列表

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "aad__ListPolicy"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo每页显示的条目数量,默认值:2000
offsetNo开始查询的偏移量,默认值:0
policy_nameNo策略名

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?

With no annotations supplied, the description carries the full behavioral-disclosure burden. It implies a read-only query via '查询', but does not state permissions, pagination behavior, rate limits, or return characteristics; the schema covers pagination parameters but the description adds no behavioral context beyond the basic purpose.

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?

The description is a single short phrase with no filler and is front-loaded with the core action. It is extremely terse, however, and lacks the structure needed for usage or behavioral 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?

Given that this tool has no annotations, no output schema, and three parameters, the description is too thin to be complete. It states only the purpose, omitting when to use it, read-only behavior, pagination defaults beyond schema, and return expectations.

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 three parameters (limit, offset, policy_name) are already documented in the input schema. The description adds no further parameter meaning, which sets the baseline at 3.

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 policy list), which is enough to understand this is a list/query operation over policies. It does not distinguish itself from related siblings like ShowPolicy or ListFrequencyControlRule, so it stops short of the top score.

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?

The description provides no when-to-use guidance, no alternatives, and no conditions for choosing this tool over ShowPolicy or other list tools. Usage is only implied by the word 'list'.

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