Skip to main content
Glama
roycedamien

Microsoft 365 Core MCP Server

by roycedamien

backup_policies

Read-onlyIdempotent

Export Microsoft 365 policies to JSON for backup, disaster recovery, and migration. Supports Conditional Access, Intune policies, and security configurations.

Instructions

Export Microsoft 365 policies to JSON format for backup, disaster recovery, and migration. Supports Conditional Access, Named Locations, Authentication Strengths, Intune policies, and more.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAction to perform - backup exports policies, list shows available types
policyTypesNoTypes of policies to backup. Use "all" to backup all types
outputFormatNoOutput format - json for full backup, summary for overview
includeMetadataNoInclude metadata like tenant ID, export timestamp
Behavior4/5

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

Annotations indicate readOnlyHint=true, idempotentHint=true, and destructiveHint=false, covering safety and idempotency. The description adds valuable context by specifying the output format (JSON) and supported policy types (e.g., Conditional Access, Intune policies), which goes beyond annotations. It doesn't mention rate limits, authentication needs, or detailed behavioral traits, but with annotations present, the bar is lower, and the description provides useful supplemental information.

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

Conciseness5/5

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

The description is concise and front-loaded, with two sentences that efficiently convey the core purpose and scope. Every sentence earns its place: the first states the main action and use cases, and the second lists supported policy types without redundancy. No wasted words or unnecessary details.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (4 parameters, 100% schema coverage, annotations provided), the description is reasonably complete. It covers the tool's purpose, output format, and supported policy types. However, without an output schema, it doesn't explain return values (e.g., structure of JSON output), and it lacks details on error handling or limitations. Annotations help, but some gaps remain for a tool with multiple parameters and no output schema.

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 well-documented in the schema (e.g., 'action' with enum values, 'policyTypes' with options). The description adds minimal parameter semantics beyond the schema, mentioning 'JSON format' which aligns with the 'outputFormat' parameter but doesn't provide additional details. Baseline 3 is appropriate since the schema does the heavy lifting.

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: 'Export Microsoft 365 policies to JSON format for backup, disaster recovery, and migration.' It specifies the verb (export), resource (Microsoft 365 policies), and format (JSON), and lists supported policy types. However, it doesn't explicitly differentiate from sibling tools like 'manage_conditional_access_policies' or 'manage_intune_windows_policies', which appear to be management-focused rather than export-focused.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for backup, disaster recovery, and migration scenarios, providing some context. However, it doesn't explicitly state when to use this tool versus alternatives (e.g., 'manage_*' tools for editing policies or 'generate_*_report' tools for reporting). No exclusions or prerequisites are mentioned, leaving usage guidelines somewhat vague.

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