Skip to main content
Glama
roycedamien

Microsoft 365 Core MCP Server

by roycedamien

manage_azure_ad_roles

Destructive

Assign, remove, and list Azure AD administrative roles and role assignments to control user and group permissions in Microsoft 365 environments.

Instructions

Manage Azure AD administrative roles including role assignments, custom roles, and privilege escalation controls.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAzure AD role management action
roleIdNoID of the directory role
principalIdNoID of the principal (user, group, SP)
assignmentIdNoID of the role assignment to remove
filterNoOData filter string
Behavior3/5

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

Annotations indicate destructiveHint=true, readOnlyHint=false, and idempotentHint=false, which already inform the agent about safety and idempotency. The description adds some context by mentioning 'privilege escalation controls,' hinting at high-risk operations, but doesn't elaborate on behavioral traits like rate limits, authentication requirements, or side effects beyond what annotations provide. No contradiction with annotations exists.

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?

The description is a single, efficient sentence that front-loads the core purpose without unnecessary words. It could be slightly improved by structuring usage guidelines, but it avoids redundancy and waste, earning a high score for 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?

Given the tool's complexity (managing Azure AD roles with destructive operations) and the absence of an output schema, the description is minimally adequate. It covers the scope but lacks details on return values, error conditions, or operational constraints. With annotations providing safety hints, it meets a basic threshold but doesn't fully address the tool's high-stakes nature.

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 all parameters documented in the schema (e.g., action with enum values, roleId, principalId). The description doesn't add any parameter-specific details beyond the schema, such as explaining how 'filter' works or providing examples. With high schema coverage, the baseline score of 3 is appropriate.

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

Purpose4/5

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

The description clearly states the tool's purpose: 'Manage Azure AD administrative roles including role assignments, custom roles, and privilege escalation controls.' It specifies the verb ('manage'), resource ('Azure AD administrative roles'), and scope (role assignments, custom roles, privilege escalation controls). However, it doesn't explicitly differentiate from sibling tools like 'manage_azure_ad_apps' or 'manage_service_principals', which prevents a perfect score.

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 provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., requiring specific permissions), contextual triggers (e.g., 'use when onboarding users'), or exclusions (e.g., 'not for basic user management'). With many sibling tools available, this lack of differentiation is a significant gap.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/roycedamien/m365-core-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server