Skip to main content
Glama
derekgallardo01

m365-audit-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
check_tenant_privacy_configA

Return the tenant's M365 privacy / compliance configuration with verification status.

Mirrors the structure of the m365-privacy-config checklist (data residency, Copilot no-training, Azure OpenAI retention, BAA scope) so the output can be pasted straight into a sign-off document for the compliance owner.

Returns a dict with the tenant metadata, a summary count of verified vs outstanding items, and per-item evidence (or action_required if not yet verified).

find_orphaned_documentsA

Find documents in the tenant that look orphaned.

A document is flagged if EITHER:

  • it has no owner (when include_no_owner is True), OR

  • it hasn't been accessed in days_threshold days.

Each flagged document includes a recommendation (archive, reassign, or review). Useful for monthly governance review or before enabling Copilot on a site (orphaned docs leak into Copilot grounding by default).

audit_conditional_access_policiesA

Audit Conditional Access policies for risks.

Lists every CA policy and flags any that aren't in enabled state (i.e. reportOnly or disabled). Report-only policies are documented intent that isn't actually enforcing; long-lived report-only policies are a common audit finding.

list_dlp_policiesA

List Data Loss Prevention (DLP) policies.

Optional location filter (e.g. "Exchange", "SharePoint", "OneDrive", "Teams"). Returns the policy id, displayName, state, locations, and sensitiveTypes covered. Useful for confirming that the surfaces a Copilot or AI build will touch are actually covered before go-live.

summarize_copilot_usageA

Summarize Microsoft 365 Copilot usage.

With no arguments, returns a tenant-wide summary plus per-team breakdown sorted by adoption percentage (lowest first - the rollout-gap teams). With team_id, returns the detailed stats + top prompts for that team.

Adoption is activeUsers / totalUsers. Teams below 50% get adoptionStatus: "low" so the user can see where rollout has stalled.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/derekgallardo01/m365-audit-mcp'

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