Skip to main content
Glama
DynamicEndpoints

Microsoft 365 Core MCP Server

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 communications.

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
Behavior4/5

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

The description doesn't contradict the annotations (destructiveHint=true, readOnlyHint=false, idempotentHint=false). While the annotations already indicate this is a destructive, non-idempotent write operation, the description adds context by specifying the policy types managed. However, it doesn't elaborate on what 'destructive' means in this context (e.g., policy deletion consequences) or mention authentication requirements or rate limits.

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 a single, efficient sentence that front-loads the core purpose. Every word earns its place by specifying the resource (Microsoft Defender for Office 365 policies) and enumerating the policy types managed. There's zero waste or redundancy.

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?

For a complex tool with 8 parameters, nested objects, destructive operations, and no output schema, the description is adequate but has clear gaps. It covers what policy types are managed but doesn't explain the multi-action nature (list/get/create/update/delete), expected outputs, or important behavioral considerations beyond what annotations provide. The combination of good annotations and thorough schema helps compensate somewhat.

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 input schema already documents all 8 parameters thoroughly. The description mentions policy types that map to the policyType enum but doesn't add meaningful semantic context beyond what's in the schema. The baseline of 3 is appropriate when 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 manages Microsoft Defender for Office 365 policies and lists specific policy types (Safe Attachments, Safe Links, anti-phishing, anti-malware). It provides a specific verb ('manage') and resource ('policies'), but doesn't explicitly distinguish this tool from its many sibling tools on the server, which mostly manage different Microsoft 365 resources.

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 when other tools might be more suitable. With many sibling tools managing different Microsoft 365 components, 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/DynamicEndpoints/m365-core-mcp'

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