Skip to main content
Glama
roycedamien

Microsoft 365 Core MCP Server

by roycedamien

manage_defender_policies

Destructive

Configure and manage Microsoft Defender for Office 365 security policies including Safe Attachments, Safe Links, anti-phishing, and anti-malware settings to protect email and collaboration environments.

Instructions

Manage Microsoft Defender for Office 365 policies including Safe Attachments, Safe Links, anti-phishing, and anti-malware.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAction to perform on Defender policy
policyTypeYesType of Defender policy
policyIdNoDefender policy ID for specific operations
displayNameNoDisplay name for the policy
descriptionNoDescription of the policy
isEnabledNoWhether the policy is enabled
settingsNoPolicy settings
appliedToNoPolicy application scope
Behavior3/5

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

Annotations indicate destructiveHint=true (implying potential data loss), readOnlyHint=false, and idempotentHint=false. The description doesn't contradict these but adds minimal behavioral context beyond the generic 'manage' verb. It doesn't elaborate on the destructive nature, authentication needs, rate limits, or error handling, leaving the annotations to carry most of the behavioral disclosure burden.

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. It avoids redundancy and wastes no words, though it could be slightly more structured by separating policy examples with commas or bullets for clarity.

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 (8 parameters, nested objects, destructive operations) and lack of output schema, the description is minimally adequate. It identifies the resource scope but doesn't address return values, error conditions, or operational constraints. The annotations help, but more context would be beneficial for safe invocation.

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 100% schema description coverage, the schema fully documents all 8 parameters and their nested structures. The description mentions policy types (Safe Attachments, Safe Links, etc.) which align with the policyType enum, but adds no additional semantic context beyond what the schema already provides. The baseline score of 3 is appropriate given the comprehensive schema coverage.

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 verb 'manage' and specifies the resource as 'Microsoft Defender for Office 365 policies' with examples of policy types (Safe Attachments, Safe Links, anti-phishing, anti-malware). This distinguishes it from other security policy tools like manage_security_alert_policies or manage_dlp_policies, though it doesn't explicitly contrast with siblings.

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, appropriate contexts, or exclusions, nor does it reference sibling tools like manage_exchange_policies or manage_security_alert_policies that might handle related security functions.

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