Skip to main content
Glama

aad__ShowPolicy

Retrieve details for an AAD policy by policy ID to inspect its configuration.

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": {
      "policy_id": "<policy_id>"
    },
    "name": "aad__ShowPolicy"
  }
}

Input Schema

NameRequiredDescriptionDefault
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, and it discloses nothing beyond the bare verb. Read-only semantics are only implied by "查询"; nothing is said about permissions, error behavior (e.g. unknown policy_id), or what the response contains.

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 description is a single short phrase with no wasted words, but the terseness reflects under-specification rather than efficient communication. There is no structure to front-load because there is only one clause.

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 simple single-parameter read tool this could be adequate, but with no annotations, no output schema, and a crowded family of policy-related siblings, the description leaves the agent without enough context to distinguish or correctly interpret the call.

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?

With one parameter at 100% schema coverage, the schema already documents policy_id as a 32-64 character path string. The description adds no meaning beyond that, which is the expected baseline when schema coverage is complete.

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 "查询策略详情" names a verb (query) and resource (policy details), so the basic operation is identifiable. However, it is entirely generic: with siblings like aad__ShowWafPolicy and aad__ListPolicy in the same service, "policy" is not disambiguated, and the description never states which kind of policy or what "details" include.

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 instead of aad__ListPolicy for enumeration or aad__ShowWafPolicy for WAF-specific policies. The agent must infer the choice entirely from tool names.

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