Skip to main content
Glama
roycedamien

Microsoft 365 Core MCP Server

by roycedamien

manage_retention_policies

Destructive

Configure lifecycle rules for content across Exchange, SharePoint, OneDrive, and Teams by creating, updating, or deleting retention policies.

Instructions

Manage retention policies for content across Exchange, SharePoint, OneDrive, and Teams with lifecycle rules.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAction to perform on retention policy
policyIdNoRetention policy ID for specific operations
isEnabledNoWhether the policy is enabled
locationsNoLocations where the policy applies
descriptionNoDescription of the retention policy
displayNameNoDisplay name for the retention policy
retentionSettingsYesRetention policy settings
Behavior3/5

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

Annotations already provide destructiveHint=true; description adds 'with lifecycle rules' but no further behavioral context like irreversible actions or permission requirements.

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?

Single sentence front-loaded with key resource and scope; concise but could be structured with bullet points for actions.

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 7 parameters including nested objects and no output schema, the description provides a high-level overview but lacks details like available actions or behavior of nested settings.

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 coverage is 100% with detailed parameter descriptions; description adds no extra meaning beyond the schema's documentation, thus baseline score of 3.

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

Purpose5/5

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

Description clearly states verb 'Manage', resource 'retention policies', and scope 'across Exchange, SharePoint, OneDrive, and Teams', distinguishing it from sibling tools like manage_exchange_policies or manage_sharepoint_policies.

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?

No explicit guidance on when to use this tool vs siblings, no examples of when not to use, and no reference to alternative tools.

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