Skip to main content
Glama

aad__AssociateIpToPolicyAndPackage

Binds protected IP addresses to a specified AAD policy so those addresses use the policy and its protection package.

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>"
    },
    "name": "aad__AssociateIpToPolicyAndPackage"
  }
}

Input Schema

NameRequiredDescriptionDefault
ip_listYes防护ip列表
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 behavioral burden for a mutation tool. It does not disclose whether the operation is additive or replacing, whether it is idempotent, what permissions/authorization are needed, consequences of binding an already-bound IP, or any limits on list size — all of which matter for a write operation.

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?

The single phrase is free of waste and front-loads the [AAD] service tag, but it is so short that it reads as a title rather than a usable definition. Conciseness here comes at the cost of information rather than from tight editing.

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?

This is a two-parameter mutation tool with no annotations and no output schema, so the description should explain side effects, idempotency, and the policy-vs-package scoping distinction. None of that is present, leaving the agent with essentially only the schema to work from.

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% ('防护ip列表' and '策略id'), so the schema already documents both parameters and the baseline of 3 applies. The description adds no extra meaning such as IP format expectations beyond the schema's 7–128 char bound, or whether policy_id refers to a policy scoped to the target package.

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 description '[AAD] 策略和实例绑定防护对象' states the resources involved (policy, instance/package, protection object) and implies a bind action, but never uses an explicit verb form and is essentially a paraphrased label. It does not clearly separate this from the sibling aad__AssociateIpToPolicy (policy-only binding) or from the Disassociate counterpart, so the agent must infer the difference from the tool name alone.

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 guidance on when to use this tool versus aad__AssociateIpToPolicy, aad__DisassociateIpFromPolicyAndPackage, or the various Add/Update IP-list tools in the sibling set. Prerequisites (the policy/package must already exist, IP format constraints) and any exclusions are entirely absent.

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