Skip to main content
Glama

aad__ShowWafPolicy

Retrieve AAD web application firewall policy configuration for a specified domain and protection region to inspect current WAF settings.

Instructions

[AAD] 查询WEB防护策略配置

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": {
      "domain_name": "<domain_name>",
      "overseas_type": "<overseas_type>"
    },
    "name": "aad__ShowWafPolicy"
  }
}

Input Schema

NameRequiredDescriptionDefault
domain_nameYes域名
overseas_typeYes防护区域,0-大陆,1-海外

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.7/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. "查询" weakly implies a read, but nothing is said about whether it is read-only, what permissions or account context are required, what the response contains, or how an invalid domain/region is handled.

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 phrase with no padding and the resource named up front. It is efficient, though its brevity borders on under-specification rather than active conciseness.

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 two-parameter read tool with fully documented parameters and no output schema, the definition is minimally adequate. The absence of annotations and of any stated return shape or scope leaves real gaps for an agent deciding when and how to call it.

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%: domain_name is documented as 域名 and overseas_type as 0=大陆/1=海外. The description adds no meaning beyond the schema, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"查询WEB防护策略配置" gives a verb (查询/query) and a resource (WEB防护策略配置), so the basic action is identifiable. However, it does not distinguish this from near siblings such as aad__ShowPolicy or aad__ShowWafQps, leaving an agent to guess which configuration view this returns.

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 contains no when-to-use guidance, no prerequisites, and no named alternative among the many policy-related siblings. An agent is given no basis for choosing this tool over aad__ShowPolicy.

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