Skip to main content
Glama

aad__AddPolicyBlackAndWhiteIpList

Add IP addresses to a whitelist or blacklist for a specified AAD policy, enabling access control by allowing or blocking traffic from chosen sources.

Instructions

[AAD] 策略添加黑白名单

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": {
      "ip_list": "<ip_list>",
      "policy_id": "<policy_id>",
      "type": "<type>"
    },
    "name": "aad__AddPolicyBlackAndWhiteIpList"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYes类型。white:白名单,black:黑名单
ip_listYesip列表
policy_idYes策略id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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 burden, yet it discloses nothing about this write operation: no permission/auth requirements, no idempotency or duplicate-IP behavior, no indication whether entries are appended or replace existing rules, and no limits despite the schema allowing a huge maxItems. For an unannotated mutation tool this is a substantial gap.

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?

It is a single short phrase with zero padding and the resource is front-loaded, but it is terse to the point of being a title rather than a description. Nothing is wasted because almost nothing is said.

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?

A three-parameter write tool with no annotations and no output schema needs the description to cover side effects and error conditions, and this one covers none of them. The only information available comes from the schema fields themselves.

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%, and the schema already explains the enum values (white/black), the IP list, and the policy id, so the baseline of 3 applies. The description adds no additional meaning about formats, constraints, or interaction between policy_id and ip_list.

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?

The phrase 「策略添加黑白名单」 gives a verb (添加) and a resource (黑白名单) scoped to a policy, and the verb does differentiate it from the delete variants in the sibling list. However, it never says the entity being added is an IP list, so an agent must read the tool name or schema to learn what is actually appended.

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 (e.g. that the policy must already exist), and no mention of alternatives such as AddBlackWhiteIpList or AddWafWhiteIpRule, which sit in the same family. The agent gets only an implied 'use this to add entries'.

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