Skip to main content
Glama

aad__CreatePolicy

Creates an AAD policy for a specified instance; provide a policy name and optional description to define it.

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": {
      "name": "<name>",
      "package_id": "<package_id>"
    },
    "name": "aad__CreatePolicy"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes策略名
package_idYes实例id
descriptionNo描述

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.2/5.0
Behavior1/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full behavioral burden, and it discloses nothing beyond the word "create". It does not say whether the name must be unique, whether the operation is idempotent or irreversible, what permissions the caller needs, or what happens on duplicate names.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three characters plus a service tag are not wasteful, but brevity here reflects under-specification rather than disciplined concision; nothing is front-loaded because nothing is there. It should have spent at least one sentence on what a policy is and what creation requires.

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?

For a mutating create tool with two required parameters, no annotations, and no output schema, the definition is far too thin: it never mentions the required name and package_id or what is returned. The [AAD] service tag is the only contextual signal it contributes.

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% with per-field Chinese descriptions for name, package_id, and description, so the schema already explains the parameters. The tool description adds no additional meaning, which is acceptable at full coverage but earns only the baseline.

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?

"创建策略" (create policy) states a verb and resource, and the [AAD] prefix scopes it to one service, so an agent can tell it is a create operation. It gives no detail about what a policy contains or how it differs from the many policy-creation siblings (cbr__CreatePolicy, apig__CreateRequestThrottlingPolicy, hss__CreateAntiVirusPolicy), leaving disambiguation to the service prefix 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 when-to-use guidance: nothing says when to call this versus UpdatePolicy or ListPolicy, nor what prerequisites (an existing package_id/instance) are needed. The only implied usage comes from the verb "create" itself.

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