@softeria/ms-365-mcp-server 0.187.1 → 0.188.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -60,7 +60,7 @@
60
60
  "toolName": "delete-mail-folder",
61
61
  "presets": ["mail", "outlook", "personal"],
62
62
  "scopes": ["Mail.ReadWrite"],
63
- "llmTip": "Deletes a mail folder and all its contents. This action is irreversible. Use list-mail-folders to find the folder ID."
63
+ "llmTip": "Deletes a mail folder and its contents. Not a permanent delete: the folder goes to Deleted Items and can be restored from there until it is purged. Use list-mail-folders to find the folder ID."
64
64
  },
65
65
  {
66
66
  "pathPattern": "/me/mailFolders/{mailFolder-id}/messages",
@@ -108,7 +108,7 @@
108
108
  "pathPattern": "/users/{user-id}/messages/{message-id}",
109
109
  "method": "get",
110
110
  "toolName": "get-shared-mailbox-message",
111
- "descriptionOverride": "Get a single Outlook message from another user's mailbox or a shared mailbox, by message ID. The user-id is the mailbox owner's ID or email address, and delegated access to that mailbox is required.",
111
+ "descriptionOverride": "Get a single Outlook message from another user's mailbox or a shared mailbox, by message ID. The user-id is the mailbox owner's ID or email address.",
112
112
  "presets": ["work"],
113
113
  "workScopes": ["Mail.Read.Shared"],
114
114
  "appScopes": [["Mail.Read"], ["Mail.ReadBasic.All"]]
@@ -138,7 +138,7 @@
138
138
  "pathPattern": "/users/{user-id}/messages/{message-id}/move",
139
139
  "method": "post",
140
140
  "toolName": "move-shared-mailbox-message",
141
- "descriptionOverride": "Move a message in another user's mailbox or a shared mailbox to a different folder. The user-id is the mailbox owner's ID or email address, and delegated access to that mailbox is required.",
141
+ "descriptionOverride": "Move a message in another user's mailbox or a shared mailbox to a different folder. The user-id is the mailbox owner's ID or email address.",
142
142
  "presets": ["work"],
143
143
  "workScopes": ["Mail.ReadWrite.Shared"],
144
144
  "appScopes": ["Mail.ReadWrite"],
@@ -148,7 +148,7 @@
148
148
  "pathPattern": "/users/{user-id}/messages/{message-id}",
149
149
  "method": "patch",
150
150
  "toolName": "update-shared-mailbox-message",
151
- "descriptionOverride": "Update a message in another user's mailbox or a shared mailbox — for example mark it read or unread (isRead), flag it (flag), change its categories or importance, or edit a draft's subject, body, or recipients. The user-id is the mailbox owner's ID or email address, and delegated access to that mailbox is required.",
151
+ "descriptionOverride": "Update a message in another user's mailbox or a shared mailbox — for example mark it read or unread (isRead), flag it (flag), change its categories or importance, or edit a draft's subject, body, or recipients. The user-id is the mailbox owner's ID or email address.",
152
152
  "presets": ["work"],
153
153
  "workScopes": ["Mail.ReadWrite.Shared"],
154
154
  "appScopes": ["Mail.ReadWrite"]
@@ -187,7 +187,7 @@
187
187
  "presets": ["work"],
188
188
  "workScopes": ["Mail.ReadWrite.Shared"],
189
189
  "appScopes": ["Mail.ReadWrite"],
190
- "llmTip": "Create a reply draft in a shared mailbox preserving thread metadata (conversationId, In-Reply-To, References). The 'user-id' is the shared mailbox email address (e.g. support@contoso.com). Does not send — use send-shared-mailbox-draft to send afterwards. Message.body (contentType 'html' for HTML) replaces the whole draft body, dropping the quoted history; 'comment' keeps it. Specifying both 'comment' and Message.body returns 400. Requires delegated access to the shared mailbox.",
190
+ "llmTip": "Create a reply draft in a shared mailbox preserving thread metadata (conversationId, In-Reply-To, References). The 'user-id' is the shared mailbox email address (e.g. support@contoso.com). Does not send — use send-shared-mailbox-draft to send afterwards. Message.body (contentType 'html' for HTML) replaces the whole draft body, dropping the quoted history; 'comment' keeps it. Specifying both 'comment' and Message.body returns 400.",
191
191
  "mcpApp": {
192
192
  "view": "mail-draft",
193
193
  "tools": { "get": "get-shared-mailbox-message", "send": "send-shared-mailbox-draft" }
@@ -200,7 +200,7 @@
200
200
  "presets": ["work"],
201
201
  "workScopes": ["Mail.ReadWrite.Shared"],
202
202
  "appScopes": ["Mail.ReadWrite"],
203
- "llmTip": "Create a reply-all draft in a shared mailbox preserving thread metadata (conversationId, In-Reply-To, References). The 'user-id' is the shared mailbox email address. Does not send — use send-shared-mailbox-draft to send afterwards. Message.body (contentType 'html' for HTML) replaces the whole draft body, dropping the quoted history; 'comment' keeps it. Specifying both 'comment' and Message.body returns 400. Requires delegated access to the shared mailbox.",
203
+ "llmTip": "Create a reply-all draft in a shared mailbox preserving thread metadata (conversationId, In-Reply-To, References). The 'user-id' is the shared mailbox email address. Does not send — use send-shared-mailbox-draft to send afterwards. Message.body (contentType 'html' for HTML) replaces the whole draft body, dropping the quoted history; 'comment' keeps it. Specifying both 'comment' and Message.body returns 400.",
204
204
  "mcpApp": {
205
205
  "view": "mail-draft",
206
206
  "tools": { "get": "get-shared-mailbox-message", "send": "send-shared-mailbox-draft" }
@@ -213,7 +213,7 @@
213
213
  "presets": ["work"],
214
214
  "workScopes": ["Mail.ReadWrite.Shared"],
215
215
  "appScopes": ["Mail.ReadWrite"],
216
- "llmTip": "Create a forward draft in a shared mailbox without sending. The 'user-id' is the shared mailbox email address. Does not send — use send-shared-mailbox-draft to send afterwards. Useful when the user wants to review before the forward goes out. Requires delegated access to the shared mailbox.",
216
+ "llmTip": "Create a forward draft in a shared mailbox without sending. The 'user-id' is the shared mailbox email address. Does not send — use send-shared-mailbox-draft to send afterwards. Useful when the user wants to review before the forward goes out.",
217
217
  "mcpApp": {
218
218
  "view": "mail-draft",
219
219
  "tools": { "get": "get-shared-mailbox-message", "send": "send-shared-mailbox-draft" }
@@ -232,7 +232,7 @@
232
232
  "pathPattern": "/users/{user-id}/mailFolders",
233
233
  "method": "get",
234
234
  "toolName": "list-shared-mailbox-folders",
235
- "descriptionOverride": "List the top-level mail folders in another user's mailbox or a shared mailbox. The user-id is the mailbox owner's ID or email address, and delegated access to that mailbox is required.",
235
+ "descriptionOverride": "List the top-level mail folders in another user's mailbox or a shared mailbox. The user-id is the mailbox owner's ID or email address.",
236
236
  "presets": ["work"],
237
237
  "workScopes": ["Mail.Read.Shared"],
238
238
  "appScopes": [["Mail.ReadBasic.All"], ["Mail.Read"]]
@@ -241,7 +241,7 @@
241
241
  "pathPattern": "/users/{user-id}/mailFolders/{mailFolder-id}/childFolders",
242
242
  "method": "get",
243
243
  "toolName": "list-shared-mailbox-child-folders",
244
- "descriptionOverride": "List the child folders of a mail folder in another user's mailbox or a shared mailbox. The user-id is the mailbox owner's ID or email address, and delegated access to that mailbox is required.",
244
+ "descriptionOverride": "List the child folders of a mail folder in another user's mailbox or a shared mailbox. The user-id is the mailbox owner's ID or email address.",
245
245
  "presets": ["work"],
246
246
  "workScopes": ["Mail.Read.Shared"],
247
247
  "appScopes": [["Mail.ReadBasic.All"], ["Mail.Read"]]
@@ -250,7 +250,7 @@
250
250
  "pathPattern": "/users/{user-id}/mailFolders",
251
251
  "method": "post",
252
252
  "toolName": "create-shared-mailbox-folder",
253
- "descriptionOverride": "Create a top-level mail folder in another user's mailbox or a shared mailbox. The user-id is the mailbox owner's ID or email address, and delegated access to that mailbox is required.",
253
+ "descriptionOverride": "Create a top-level mail folder in another user's mailbox or a shared mailbox. The user-id is the mailbox owner's ID or email address.",
254
254
  "presets": ["work"],
255
255
  "workScopes": ["Mail.ReadWrite.Shared"],
256
256
  "appScopes": ["Mail.ReadWrite"]
@@ -259,7 +259,7 @@
259
259
  "pathPattern": "/users/{user-id}/mailFolders/{mailFolder-id}/childFolders",
260
260
  "method": "post",
261
261
  "toolName": "create-shared-mailbox-child-folder",
262
- "descriptionOverride": "Create a subfolder inside a mail folder in another user's mailbox or a shared mailbox. The user-id is the mailbox owner's ID or email address, and delegated access to that mailbox is required.",
262
+ "descriptionOverride": "Create a subfolder inside a mail folder in another user's mailbox or a shared mailbox. The user-id is the mailbox owner's ID or email address.",
263
263
  "presets": ["work"],
264
264
  "workScopes": ["Mail.ReadWrite.Shared"],
265
265
  "appScopes": ["Mail.ReadWrite"]
@@ -268,7 +268,7 @@
268
268
  "pathPattern": "/users/{user-id}/messages/{message-id}/attachments",
269
269
  "method": "get",
270
270
  "toolName": "list-shared-mailbox-attachments",
271
- "descriptionOverride": "List the attachments on a message in another user's mailbox or a shared mailbox. The user-id is the mailbox owner's ID or email address, and delegated access to that mailbox is required.",
271
+ "descriptionOverride": "List the attachments on a message in another user's mailbox or a shared mailbox. The user-id is the mailbox owner's ID or email address.",
272
272
  "presets": ["work"],
273
273
  "workScopes": ["Mail.Read.Shared"],
274
274
  "appScopes": ["Mail.Read"],
@@ -278,7 +278,7 @@
278
278
  "pathPattern": "/users/{user-id}/messages/{message-id}/attachments",
279
279
  "method": "post",
280
280
  "toolName": "add-shared-mailbox-attachment",
281
- "descriptionOverride": "Add an attachment under 3MB to a draft message in another user's mailbox or a shared mailbox. The user-id is the mailbox owner's ID or email address, and delegated access to that mailbox is required.",
281
+ "descriptionOverride": "Add an attachment under 3MB to a draft message in another user's mailbox or a shared mailbox. The user-id is the mailbox owner's ID or email address.",
282
282
  "presets": ["work"],
283
283
  "workScopes": ["Mail.ReadWrite.Shared"],
284
284
  "appScopes": ["Mail.ReadWrite"],
@@ -288,7 +288,7 @@
288
288
  "pathPattern": "/users/{user-id}/messages/{message-id}/attachments/{attachment-id}",
289
289
  "method": "delete",
290
290
  "toolName": "delete-shared-mailbox-attachment",
291
- "descriptionOverride": "Delete an attachment from a message in another user's mailbox or a shared mailbox. The user-id is the mailbox owner's ID or email address, and delegated access to that mailbox is required.",
291
+ "descriptionOverride": "Delete an attachment from a message in another user's mailbox or a shared mailbox. The user-id is the mailbox owner's ID or email address.",
292
292
  "presets": ["work"],
293
293
  "workScopes": ["Mail.ReadWrite.Shared"],
294
294
  "appScopes": ["Mail.ReadWrite"]
@@ -661,7 +661,7 @@
661
661
  "pathPattern": "/users/{user-id}/calendar/events",
662
662
  "method": "get",
663
663
  "toolName": "list-shared-calendar-events",
664
- "descriptionOverride": "List events in another user's default calendar. The user-id is the calendar owner's ID or email address, and delegated access to that calendar is required. Recurring events are returned as a single series master, not expanded into occurrences - use get-shared-calendar-view for that.",
664
+ "descriptionOverride": "List events in another user's default calendar. The user-id is the calendar owner's ID or email address. Recurring events are returned as a single series master, not expanded into occurrences - use get-shared-calendar-view for that.",
665
665
  "presets": ["work"],
666
666
  "workScopes": ["Calendars.Read.Shared"],
667
667
  "appScopes": [["Calendars.ReadBasic"], ["Calendars.Read"]],
@@ -681,7 +681,7 @@
681
681
  "pathPattern": "/users/{user-id}/calendar/events",
682
682
  "method": "post",
683
683
  "toolName": "create-shared-calendar-event",
684
- "descriptionOverride": "Create an event in another user's default calendar. The user-id is the calendar owner's ID or email address, and delegated write access to that calendar is required. Times use nested objects, not flat fields: start: {dateTime, timeZone}, end: {dateTime, timeZone}. Do NOT use startDateTime/startTimeZone. For recurring events use the calendar owner's own time zone name rather than UTC, since Graph resolves DST against the zone in start.timeZone.",
684
+ "descriptionOverride": "Create an event in another user's default calendar. The user-id is the calendar owner's ID or email address. Times use nested objects, not flat fields: start: {dateTime, timeZone}, end: {dateTime, timeZone}. Do NOT use startDateTime/startTimeZone. For recurring events use the calendar owner's own time zone name rather than UTC, since Graph resolves DST against the zone in start.timeZone.",
685
685
  "presets": ["work"],
686
686
  "workScopes": ["Calendars.ReadWrite.Shared"],
687
687
  "appScopes": ["Calendars.ReadWrite"],
@@ -772,7 +772,7 @@
772
772
  "scopes": ["Files.Read"],
773
773
  "appScopes": [["Files.Read.All"], ["Sites.Read.All"], ["Sites.Selected"]],
774
774
  "deltaToken": true,
775
- "llmTip": "Tracks changes to a driveItem and its children over time. Returns a collection of driveItems that have been created, modified, or deleted. Use get-drive-root-item first to get the root driveItem-id, then pass it here. Supports $select. For incremental sync, pass the @odata.deltaLink from the last page as token on the next call."
775
+ "llmTip": "Tracks changes to a driveItem and its children. An item can appear more than once; use its last occurrence. Deleted items have a deleted facet. Use get-drive-root-item first to get the root driveItem-id, then pass it here. Supports $select."
776
776
  },
777
777
  {
778
778
  "pathPattern": "/drives/{drive-id}/root",
@@ -815,7 +815,7 @@
815
815
  "presets": ["files", "onedrive", "personal"],
816
816
  "scopes": [["Files.ReadWrite"], ["Sites.Selected"]],
817
817
  "appScopes": [["Sites.ReadWrite.All"], ["Sites.Selected"]],
818
- "llmTip": "For large file uploads (no size limit, and no minimum unlike the Outlook attachment session). Returns a pre-authenticated uploadUrl; the caller PUTs the bytes there itself. This server does not perform the PUT. For new files use path: /items/{parentId}:/{fileName}:/createUploadSession. Body (optional): { item: { '@microsoft.graph.conflictBehavior': 'rename' } }."
818
+ "llmTip": "For large file uploads (up to 250 GB; no minimum, unlike the Outlook attachment session). Returns a pre-authenticated uploadUrl; the caller PUTs the bytes there itself, without an Authorization header, in ranges under 60 MiB that are multiples of 320 KiB (except the last). This server does not perform the PUT. For new files use path: /items/{parentId}:/{fileName}:/createUploadSession. Body (optional): { item: { '@microsoft.graph.conflictBehavior': 'rename' } }."
819
819
  },
820
820
  {
821
821
  "pathPattern": "/drives/{drive-id}/items/{driveItem-id}",
@@ -851,7 +851,7 @@
851
851
  "presets": ["files", "onedrive", "personal"],
852
852
  "scopes": ["Files.ReadWrite"],
853
853
  "appScopes": [["Files.ReadWrite.All"], ["Sites.ReadWrite.All"], ["Sites.Selected"]],
854
- "llmTip": "Shares a file or folder with specific users. Body: { recipients: [{ email: 'user@example.com' }], roles: ['read'], sendInvitation: true, message: 'Please review this file.' }. Roles: 'read', 'write', 'owner'. Set requireSignIn to true to require authentication."
854
+ "llmTip": "Shares a file or folder with specific users. Body: { recipients: [{ email: 'user@example.com' }], roles: ['read'], sendInvitation: true, message: 'Please review this file.' }. Roles: 'read', 'write'. Set requireSignIn to true to require authentication."
855
855
  },
856
856
  {
857
857
  "pathPattern": "/drives/{drive-id}/items/{driveItem-id}/createLink",
@@ -860,7 +860,7 @@
860
860
  "presets": ["files", "onedrive", "personal"],
861
861
  "scopes": ["Files.ReadWrite"],
862
862
  "appScopes": [["Files.ReadWrite.All"], ["Sites.ReadWrite.All"], ["Sites.Selected"]],
863
- "llmTip": "Create a shareable link for a file or folder WITHOUT sending an email invitation. Body: { type: 'view' | 'edit' | 'embed', scope: 'anonymous' | 'organization' | 'users', password?: string, expirationDateTime?: ISO-8601, retainInheritedPermissions?: boolean }. Returns a permission with link.webUrl. Pair with share-drive-item when you want to grant explicit access; use this when you only need a URL to paste into a doc/email/chat without triggering OneDrive notifications."
863
+ "llmTip": "Create a shareable link for a file or folder WITHOUT sending an email invitation. Body: { type: 'view' | 'edit' | 'embed', scope: 'anonymous' | 'organization' | 'users', password?: string, expirationDateTime?: ISO-8601, retainInheritedPermissions?: boolean }. 'embed' works only in OneDrive personal, 'organization' only in OneDrive for Business and SharePoint. Returns a permission with link.webUrl. Pair with share-drive-item when you want to grant explicit access; use this when you only need a URL to paste into a doc/email/chat without triggering OneDrive notifications."
864
864
  },
865
865
  {
866
866
  "pathPattern": "/drives/{drive-id}/items/{driveItem-id}/copy",
@@ -896,7 +896,7 @@
896
896
  "presets": ["files", "onedrive", "personal"],
897
897
  "scopes": ["Files.Read"],
898
898
  "appScopes": [["Files.Read.All"], ["Sites.Read.All"], ["Sites.Selected"]],
899
- "llmTip": "Lists all permissions (sharing links, direct access, inherited) on a file or folder. Each permission has roles, grantedTo (user), link (sharing URL), and inheritedFrom."
899
+ "llmTip": "Lists sharing permissions (sharing links, direct access, inherited) on a file or folder. A non-owner only sees the permissions that apply to them. Use grantedToV2; grantedTo is deprecated."
900
900
  },
901
901
  {
902
902
  "pathPattern": "/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}",
@@ -914,7 +914,7 @@
914
914
  "presets": ["files", "onedrive", "personal"],
915
915
  "scopes": [["Files.Read"], ["Sites.Selected"]],
916
916
  "appScopes": [["Files.Read.All"], ["Sites.Read.All"], ["Sites.Selected"]],
917
- "llmTip": "Lists version history of a file. Each version has id, lastModifiedDateTime, lastModifiedBy, and size. Use the version id with /versions/{id}/content to download a specific version."
917
+ "llmTip": "Lists versions of a file, newest first; the first is the current version. $orderby is not supported. Download an older version with /versions/{version-id}/content; for the current one use /content."
918
918
  },
919
919
  {
920
920
  "pathPattern": "/drives/{drive-id}/search(q='{q}')",
@@ -1071,7 +1071,7 @@
1071
1071
  "pathPattern": "/users/{user-id}/messages/{message-id}/$value",
1072
1072
  "method": "get",
1073
1073
  "toolName": "get-shared-mailbox-message-mime",
1074
- "descriptionOverride": "Download the raw MIME source (RFC 5322 .eml content) of a message in another user's mailbox or a shared mailbox, by message ID. The user-id is the mailbox owner's ID or email address, and delegated access to that mailbox is required.",
1074
+ "descriptionOverride": "Download the raw MIME source (RFC 5322 .eml content) of a message in another user's mailbox or a shared mailbox, by message ID. The user-id is the mailbox owner's ID or email address.",
1075
1075
  "presets": ["work"],
1076
1076
  "workScopes": ["Mail.Read.Shared"],
1077
1077
  "appScopes": ["Mail.Read"],
@@ -1093,7 +1093,7 @@
1093
1093
  "pathPattern": "/users/{user-id}/messages/{message-id}/attachments/{attachment-id}/$value",
1094
1094
  "method": "get",
1095
1095
  "toolName": "get-shared-mailbox-attachment-content",
1096
- "descriptionOverride": "Download the raw bytes of a file attachment of a message in another user's mailbox or a shared mailbox, by message ID and attachment ID. The user-id is the mailbox owner's ID or email address, and delegated access to that mailbox is required.",
1096
+ "descriptionOverride": "Download the raw bytes of a file attachment of a message in another user's mailbox or a shared mailbox, by message ID and attachment ID. The user-id is the mailbox owner's ID or email address.",
1097
1097
  "presets": ["work"],
1098
1098
  "workScopes": ["Mail.Read.Shared"],
1099
1099
  "appScopes": ["Mail.Read"],
@@ -1503,7 +1503,8 @@
1503
1503
  "toolName": "list-todo-task-lists-delta",
1504
1504
  "presets": ["personal", "tasks"],
1505
1505
  "scopes": ["Tasks.ReadWrite"],
1506
- "queryParams": ["select", "skiptoken"]
1506
+ "queryParams": ["select", "skiptoken"],
1507
+ "deltaToken": true
1507
1508
  },
1508
1509
  {
1509
1510
  "pathPattern": "/me/todo/lists/{todoTaskList-id}/tasks",
@@ -1757,7 +1758,7 @@
1757
1758
  "toolName": "create-planner-task-message",
1758
1759
  "scopes": ["Tasks.ReadWrite"],
1759
1760
  "apiVersion": "beta",
1760
- "llmTip": "Posts a message to a Planner task's chat (the modern 'task chat', not the legacy conversationThreadId comment). Microsoft is retiring the classic task comments experience and hiding it from the task (Planner 2026 update), so task chat is the current supported way to post per-task updates teammates will see, with @mentions. Body: { content: 'plain text or sanitized HTML', mentions?: [{ mentioned: 'user-id', position: 0, mentionType: 'user' }] } (mentions optional). No ETag/If-Match required. BETA Graph API: subject to change; delegated work/school accounts only — no application permissions, no personal Microsoft accounts, global cloud only (not GCC/DoD/21Vianet)."
1761
+ "llmTip": "Posts a message to a Planner task's chat (the modern 'task chat', not the legacy conversationThreadId comment). Task chat is currently available for basic plans; Premium plans use Teams conversations for task discussions. Only explicitly mentioned users receive notifications. Body: { content: 'plain text or sanitized HTML', mentions?: [{ mentioned: 'user-id', position: 0, mentionType: 'user' }] } (mentions optional). No ETag/If-Match required. BETA Graph API: subject to change; delegated work/school accounts only — no application permissions, no personal Microsoft accounts, global cloud only (not GCC/DoD/21Vianet)."
1761
1762
  },
1762
1763
  {
1763
1764
  "pathPattern": "/planner/tasks/{plannerTask-id}/messages/{plannerTaskChatMessage-id}",
@@ -1773,7 +1774,7 @@
1773
1774
  "toolName": "list-outlook-contacts",
1774
1775
  "presets": ["contacts", "outlook", "personal"],
1775
1776
  "scopes": ["Contacts.Read"],
1776
- "llmTip": "$filter only supports startswith() — contains() and eq on emailAddresses do not work. Use $search as alternative for broader matching."
1777
+ "llmTip": "To match an exact email address, use $filter=emailAddresses/any(a:a/address eq 'name@example.com'). For emailAddresses, only eq on the address sub-property is supported; contains(), startswith(), and other operators are not."
1777
1778
  },
1778
1779
  {
1779
1780
  "pathPattern": "/me/contacts/{contact-id}",
@@ -2462,7 +2463,8 @@
2462
2463
  "presets": ["work"],
2463
2464
  "workScopes": [["Sites.ReadWrite.All"], ["Sites.Selected"]],
2464
2465
  "appScopes": [["Sites.ReadWrite.All"], ["Sites.Selected"]],
2465
- "llmTip": "Updates fields on an existing list item. Body: { fields: { ColumnName: 'new value' } }. Send only the fields you want to change. Use $expand=fields on get-sharepoint-site-list-item to see current values first."
2466
+ "supportsIfMatch": true,
2467
+ "llmTip": "Updates fields on an existing list item. Body: { fields: { ColumnName: 'new value' } }. Send only the fields you want to change. Use $expand=fields on get-sharepoint-site-list-item to see current values first. For optimistic concurrency, pass its ETag as If-Match; enable includeHeaders=true when reading to capture the ETag. A stale ETag returns 412 without applying the update."
2466
2468
  },
2467
2469
  {
2468
2470
  "pathPattern": "/sites/{site-id}/lists/{list-id}/items/{listItem-id}",
@@ -2944,10 +2946,10 @@
2944
2946
  "pathPattern": "/me/events/delta()",
2945
2947
  "method": "get",
2946
2948
  "toolName": "list-calendar-events-delta",
2949
+ "descriptionOverride": "Incremental sync of events in the signed-in user's mailbox, not a calendarView. startDateTime sets the earliest event start to include. Each event has only id, type, start and end; use get-calendar-event for the rest. For a time-bounded view with expanded recurring instances, use list-calendar-view-delta instead.",
2947
2950
  "presets": ["calendar", "outlook", "personal"],
2948
2951
  "scopes": ["Calendars.Read"],
2949
- "queryParams": ["startDateTime", "skiptoken"],
2950
- "llmTip": "Incremental sync of events across the default calendar. First call returns all events plus @odata.deltaLink. Subsequent calls with that link return only additions/updates/removals. Deltas expire after ~30 days — start over if the server returns 410 Gone. For a time-bounded view with delta semantics, use list-calendar-view-delta instead."
2952
+ "queryParams": ["startDateTime", "skiptoken"]
2951
2953
  },
2952
2954
  {
2953
2955
  "pathPattern": "/me/calendarView/delta()",
@@ -2984,7 +2986,7 @@
2984
2986
  "presets": ["work"],
2985
2987
  "workScopes": ["Group.ReadWrite.All"],
2986
2988
  "appScopes": ["Group.ReadWrite.All"],
2987
- "llmTip": "Permanently deletes a group and all its associated resources (conversations, files, calendar, planner). This action is irreversible. Use get-group to verify the group before deleting."
2989
+ "llmTip": "Deletes a group. Microsoft 365 and security groups can be restored from deletedItems within 30 days. Use get-group to verify the group before deleting."
2988
2990
  },
2989
2991
  {
2990
2992
  "pathPattern": "/groups/{group-id}/members/$ref",
@@ -3447,6 +3449,6 @@
3447
3449
  "presets": ["teams", "teams-write", "work"],
3448
3450
  "workScopes": ["TeamsActivity.Send"],
3449
3451
  "contentType": "application/json",
3450
- "llmTip": "Sends a Teams activity feed notification to the current user (the badge + entry in their Activity tab). Body: { topic: { source: 'entityUrl' | 'text', value: <Graph URL or plain text>, webUrl: <required when source='text', click-through URL> }, activityType: <must be declared in the calling Teams app's manifest, OR the reserved 'systemDefault' which provides free-form Actor+Reason text>, previewText: { content: 'short preview' }, templateParameters?: [{ name, value }] (substituted into the manifest's localized notification template), teamsAppId?: <optional disambiguator when multiple installed apps share a Microsoft Entra app ID — fetch via list-my-installed-teams-apps>, chainId?, iconId? }. Use to ping the user with 'action required' notifications from agentic workflows. See https://learn.microsoft.com/graph/teams-send-activityfeednotifications."
3452
+ "llmTip": "Sends a Teams activity feed notification to the current user (the badge + entry in their Activity tab). Body: { topic: { source: 'entityUrl' | 'text', value: <Microsoft Graph URL to a teamsAppInstallation or teamsCatalogApp when source='entityUrl'; plain text when source='text'>, webUrl: <required for source='text', click-through URL> }, activityType: <must be declared in the calling Teams app's manifest, OR the reserved 'systemDefault' which provides free-form Actor+Reason text>, previewText: { content: 'short preview' }, templateParameters?: [{ name, value }] (substituted into the manifest's localized notification template), teamsAppId?: <optional disambiguator when multiple installed apps share a Microsoft Entra app ID — fetch via list-my-installed-teams-apps>, chainId?, iconId? }. Use to ping the user with 'action required' notifications from agentic workflows. See https://learn.microsoft.com/graph/teams-send-activityfeednotifications."
3451
3453
  }
3452
3454
  ]
@@ -54,7 +54,8 @@ import {
54
54
  paginationAllowed,
55
55
  positiveIntFromEnv,
56
56
  SKIPTOKEN_PARAM_DESCRIPTION,
57
- TIMEZONE_PARAM_DESCRIPTION
57
+ TIMEZONE_PARAM_DESCRIPTION,
58
+ IF_MATCH_PARAM_DESCRIPTION
58
59
  } from "./lib/param-descriptions.js";
59
60
  import { describePathParam } from "./lib/path-params.js";
60
61
  import { queryParameterSchema } from "./lib/query-parameter-schema.js";
@@ -2185,6 +2186,8 @@ async function executeGraphTool(tool, config, graphClient, params, authManager,
2185
2186
  }
2186
2187
  headers["Accept"] = paramValue;
2187
2188
  }
2189
+ } else if (paramName.toLowerCase() === "if-match" && config?.supportsIfMatch) {
2190
+ headers["If-Match"] = `${paramValue}`;
2188
2191
  } else if (isOdataParam) {
2189
2192
  queryParams[fixedParamName] = `${paramValue}`;
2190
2193
  logger.info(
@@ -2648,6 +2651,9 @@ function registerGraphToolWithMcp(server, tool, endpointConfig, graphClient, opt
2648
2651
  getAcceptParamDescription(endpointConfig.acceptType)
2649
2652
  );
2650
2653
  }
2654
+ if (endpointConfig?.supportsIfMatch && !Object.keys(paramSchema).some((name) => name.toLowerCase() === "if-match")) {
2655
+ paramSchema["If-Match"] = z.string().optional().describe(IF_MATCH_PARAM_DESCRIPTION);
2656
+ }
2651
2657
  if (endpointConfig?.blobOutput && paramSchema["fileName"] === void 0) {
2652
2658
  paramSchema["fileName"] = z.string().optional().describe(
2653
2659
  "Name of the file, used as the last segment of the returned resource URI when the server runs with blob output. Optional."
@@ -69,6 +69,7 @@ const DELTA_TOKEN_PARAM_DESCRIPTION = "Delta state to resume from: the @odata.de
69
69
  const COUNT_PARAM_DESCRIPTION = "Set true to enable advanced query mode (ConsistencyLevel: eventual). Required for complex $filter on flag/flagStatus or contains(). The response then includes @odata.count, the total for the filtered collection, which can exceed the items returned when fetchAllPages hits its page/item cap.";
70
70
  const MEMBER_NAME_PARAM_DESCRIPTION = "Case-insensitive text to match against each member's displayName and email. Applied after $select projection, so only fields you can see are matched. Without fetchAllPages only the fetched page is filtered, and @odata.count still reports the unfiltered total.";
71
71
  const CONFIRM_PARAM_DESCRIPTION = 'For destructive operations when the confirm gate is enabled (MS365_MCP_REQUIRE_CONFIRM=true; off by default). Set to true only after the user has explicitly approved this action. When the gate is on, calls without confirm: true return { error: "confirmation_required" } without touching user data.';
72
+ const IF_MATCH_PARAM_DESCRIPTION = "Optional ETag for a conditional update. Use the ETag from the list item read (with includeHeaders=true); if it is stale, Graph returns 412 and does not apply the update.";
72
73
  const TIMEZONE_PARAM_DESCRIPTION = 'IANA timezone name (e.g., "America/New_York", "Europe/London", "Asia/Tokyo") for calendar event times. If not specified, times are returned in UTC.';
73
74
  const EXPAND_EXTENDED_PROPERTIES_PARAM_DESCRIPTION = "When true, expands singleValueExtendedProperties on each event. Use this to retrieve custom extended properties (e.g., sync metadata) stored on calendar events.";
74
75
  function getAcceptParamDescription(acceptType) {
@@ -115,6 +116,7 @@ export {
115
116
  DEFAULT_MAX_PAGES,
116
117
  DELTA_TOKEN_PARAM_DESCRIPTION,
117
118
  EXPAND_EXTENDED_PROPERTIES_PARAM_DESCRIPTION,
119
+ IF_MATCH_PARAM_DESCRIPTION,
118
120
  MEMBER_NAME_PARAM_DESCRIPTION,
119
121
  ORDERBY_PARAM_DESCRIPTION,
120
122
  SELECT_PARAM_DESCRIPTION,
@@ -14,6 +14,7 @@ import {
14
14
  TIMEZONE_PARAM_DESCRIPTION,
15
15
  EXPAND_EXTENDED_PROPERTIES_PARAM_DESCRIPTION,
16
16
  getAcceptParamDescription,
17
+ IF_MATCH_PARAM_DESCRIPTION,
17
18
  MEMBER_NAME_PARAM_DESCRIPTION,
18
19
  DELTA_TOKEN_PARAM_DESCRIPTION
19
20
  } from "./param-descriptions.js";
@@ -157,6 +158,15 @@ function describeToolSchema(tool, config, ctx = {}) {
157
158
  schema: { ...ACCEPT_VALUE_JSON_SCHEMA }
158
159
  });
159
160
  }
161
+ if (config?.supportsIfMatch && !params.some((p) => p.name.toLowerCase() === "if-match")) {
162
+ params.push({
163
+ name: "If-Match",
164
+ in: "Header",
165
+ required: false,
166
+ description: IF_MATCH_PARAM_DESCRIPTION,
167
+ schema: { type: "string" }
168
+ });
169
+ }
160
170
  const llmTip = config?.llmTip;
161
171
  return {
162
172
  name: tool.alias,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@softeria/ms-365-mcp-server",
3
3
  "mcpName": "io.github.Softeria/ms-365-mcp-server",
4
- "version": "0.187.1",
4
+ "version": "0.188.1",
5
5
  "description": " A Model Context Protocol (MCP) server for interacting with Microsoft 365 and Office services through the Graph API",
6
6
  "type": "module",
7
7
  "main": "dist/index.js",
@@ -60,7 +60,7 @@
60
60
  "toolName": "delete-mail-folder",
61
61
  "presets": ["mail", "outlook", "personal"],
62
62
  "scopes": ["Mail.ReadWrite"],
63
- "llmTip": "Deletes a mail folder and all its contents. This action is irreversible. Use list-mail-folders to find the folder ID."
63
+ "llmTip": "Deletes a mail folder and its contents. Not a permanent delete: the folder goes to Deleted Items and can be restored from there until it is purged. Use list-mail-folders to find the folder ID."
64
64
  },
65
65
  {
66
66
  "pathPattern": "/me/mailFolders/{mailFolder-id}/messages",
@@ -108,7 +108,7 @@
108
108
  "pathPattern": "/users/{user-id}/messages/{message-id}",
109
109
  "method": "get",
110
110
  "toolName": "get-shared-mailbox-message",
111
- "descriptionOverride": "Get a single Outlook message from another user's mailbox or a shared mailbox, by message ID. The user-id is the mailbox owner's ID or email address, and delegated access to that mailbox is required.",
111
+ "descriptionOverride": "Get a single Outlook message from another user's mailbox or a shared mailbox, by message ID. The user-id is the mailbox owner's ID or email address.",
112
112
  "presets": ["work"],
113
113
  "workScopes": ["Mail.Read.Shared"],
114
114
  "appScopes": [["Mail.Read"], ["Mail.ReadBasic.All"]]
@@ -138,7 +138,7 @@
138
138
  "pathPattern": "/users/{user-id}/messages/{message-id}/move",
139
139
  "method": "post",
140
140
  "toolName": "move-shared-mailbox-message",
141
- "descriptionOverride": "Move a message in another user's mailbox or a shared mailbox to a different folder. The user-id is the mailbox owner's ID or email address, and delegated access to that mailbox is required.",
141
+ "descriptionOverride": "Move a message in another user's mailbox or a shared mailbox to a different folder. The user-id is the mailbox owner's ID or email address.",
142
142
  "presets": ["work"],
143
143
  "workScopes": ["Mail.ReadWrite.Shared"],
144
144
  "appScopes": ["Mail.ReadWrite"],
@@ -148,7 +148,7 @@
148
148
  "pathPattern": "/users/{user-id}/messages/{message-id}",
149
149
  "method": "patch",
150
150
  "toolName": "update-shared-mailbox-message",
151
- "descriptionOverride": "Update a message in another user's mailbox or a shared mailbox — for example mark it read or unread (isRead), flag it (flag), change its categories or importance, or edit a draft's subject, body, or recipients. The user-id is the mailbox owner's ID or email address, and delegated access to that mailbox is required.",
151
+ "descriptionOverride": "Update a message in another user's mailbox or a shared mailbox — for example mark it read or unread (isRead), flag it (flag), change its categories or importance, or edit a draft's subject, body, or recipients. The user-id is the mailbox owner's ID or email address.",
152
152
  "presets": ["work"],
153
153
  "workScopes": ["Mail.ReadWrite.Shared"],
154
154
  "appScopes": ["Mail.ReadWrite"]
@@ -187,7 +187,7 @@
187
187
  "presets": ["work"],
188
188
  "workScopes": ["Mail.ReadWrite.Shared"],
189
189
  "appScopes": ["Mail.ReadWrite"],
190
- "llmTip": "Create a reply draft in a shared mailbox preserving thread metadata (conversationId, In-Reply-To, References). The 'user-id' is the shared mailbox email address (e.g. support@contoso.com). Does not send — use send-shared-mailbox-draft to send afterwards. Message.body (contentType 'html' for HTML) replaces the whole draft body, dropping the quoted history; 'comment' keeps it. Specifying both 'comment' and Message.body returns 400. Requires delegated access to the shared mailbox.",
190
+ "llmTip": "Create a reply draft in a shared mailbox preserving thread metadata (conversationId, In-Reply-To, References). The 'user-id' is the shared mailbox email address (e.g. support@contoso.com). Does not send — use send-shared-mailbox-draft to send afterwards. Message.body (contentType 'html' for HTML) replaces the whole draft body, dropping the quoted history; 'comment' keeps it. Specifying both 'comment' and Message.body returns 400.",
191
191
  "mcpApp": {
192
192
  "view": "mail-draft",
193
193
  "tools": { "get": "get-shared-mailbox-message", "send": "send-shared-mailbox-draft" }
@@ -200,7 +200,7 @@
200
200
  "presets": ["work"],
201
201
  "workScopes": ["Mail.ReadWrite.Shared"],
202
202
  "appScopes": ["Mail.ReadWrite"],
203
- "llmTip": "Create a reply-all draft in a shared mailbox preserving thread metadata (conversationId, In-Reply-To, References). The 'user-id' is the shared mailbox email address. Does not send — use send-shared-mailbox-draft to send afterwards. Message.body (contentType 'html' for HTML) replaces the whole draft body, dropping the quoted history; 'comment' keeps it. Specifying both 'comment' and Message.body returns 400. Requires delegated access to the shared mailbox.",
203
+ "llmTip": "Create a reply-all draft in a shared mailbox preserving thread metadata (conversationId, In-Reply-To, References). The 'user-id' is the shared mailbox email address. Does not send — use send-shared-mailbox-draft to send afterwards. Message.body (contentType 'html' for HTML) replaces the whole draft body, dropping the quoted history; 'comment' keeps it. Specifying both 'comment' and Message.body returns 400.",
204
204
  "mcpApp": {
205
205
  "view": "mail-draft",
206
206
  "tools": { "get": "get-shared-mailbox-message", "send": "send-shared-mailbox-draft" }
@@ -213,7 +213,7 @@
213
213
  "presets": ["work"],
214
214
  "workScopes": ["Mail.ReadWrite.Shared"],
215
215
  "appScopes": ["Mail.ReadWrite"],
216
- "llmTip": "Create a forward draft in a shared mailbox without sending. The 'user-id' is the shared mailbox email address. Does not send — use send-shared-mailbox-draft to send afterwards. Useful when the user wants to review before the forward goes out. Requires delegated access to the shared mailbox.",
216
+ "llmTip": "Create a forward draft in a shared mailbox without sending. The 'user-id' is the shared mailbox email address. Does not send — use send-shared-mailbox-draft to send afterwards. Useful when the user wants to review before the forward goes out.",
217
217
  "mcpApp": {
218
218
  "view": "mail-draft",
219
219
  "tools": { "get": "get-shared-mailbox-message", "send": "send-shared-mailbox-draft" }
@@ -232,7 +232,7 @@
232
232
  "pathPattern": "/users/{user-id}/mailFolders",
233
233
  "method": "get",
234
234
  "toolName": "list-shared-mailbox-folders",
235
- "descriptionOverride": "List the top-level mail folders in another user's mailbox or a shared mailbox. The user-id is the mailbox owner's ID or email address, and delegated access to that mailbox is required.",
235
+ "descriptionOverride": "List the top-level mail folders in another user's mailbox or a shared mailbox. The user-id is the mailbox owner's ID or email address.",
236
236
  "presets": ["work"],
237
237
  "workScopes": ["Mail.Read.Shared"],
238
238
  "appScopes": [["Mail.ReadBasic.All"], ["Mail.Read"]]
@@ -241,7 +241,7 @@
241
241
  "pathPattern": "/users/{user-id}/mailFolders/{mailFolder-id}/childFolders",
242
242
  "method": "get",
243
243
  "toolName": "list-shared-mailbox-child-folders",
244
- "descriptionOverride": "List the child folders of a mail folder in another user's mailbox or a shared mailbox. The user-id is the mailbox owner's ID or email address, and delegated access to that mailbox is required.",
244
+ "descriptionOverride": "List the child folders of a mail folder in another user's mailbox or a shared mailbox. The user-id is the mailbox owner's ID or email address.",
245
245
  "presets": ["work"],
246
246
  "workScopes": ["Mail.Read.Shared"],
247
247
  "appScopes": [["Mail.ReadBasic.All"], ["Mail.Read"]]
@@ -250,7 +250,7 @@
250
250
  "pathPattern": "/users/{user-id}/mailFolders",
251
251
  "method": "post",
252
252
  "toolName": "create-shared-mailbox-folder",
253
- "descriptionOverride": "Create a top-level mail folder in another user's mailbox or a shared mailbox. The user-id is the mailbox owner's ID or email address, and delegated access to that mailbox is required.",
253
+ "descriptionOverride": "Create a top-level mail folder in another user's mailbox or a shared mailbox. The user-id is the mailbox owner's ID or email address.",
254
254
  "presets": ["work"],
255
255
  "workScopes": ["Mail.ReadWrite.Shared"],
256
256
  "appScopes": ["Mail.ReadWrite"]
@@ -259,7 +259,7 @@
259
259
  "pathPattern": "/users/{user-id}/mailFolders/{mailFolder-id}/childFolders",
260
260
  "method": "post",
261
261
  "toolName": "create-shared-mailbox-child-folder",
262
- "descriptionOverride": "Create a subfolder inside a mail folder in another user's mailbox or a shared mailbox. The user-id is the mailbox owner's ID or email address, and delegated access to that mailbox is required.",
262
+ "descriptionOverride": "Create a subfolder inside a mail folder in another user's mailbox or a shared mailbox. The user-id is the mailbox owner's ID or email address.",
263
263
  "presets": ["work"],
264
264
  "workScopes": ["Mail.ReadWrite.Shared"],
265
265
  "appScopes": ["Mail.ReadWrite"]
@@ -268,7 +268,7 @@
268
268
  "pathPattern": "/users/{user-id}/messages/{message-id}/attachments",
269
269
  "method": "get",
270
270
  "toolName": "list-shared-mailbox-attachments",
271
- "descriptionOverride": "List the attachments on a message in another user's mailbox or a shared mailbox. The user-id is the mailbox owner's ID or email address, and delegated access to that mailbox is required.",
271
+ "descriptionOverride": "List the attachments on a message in another user's mailbox or a shared mailbox. The user-id is the mailbox owner's ID or email address.",
272
272
  "presets": ["work"],
273
273
  "workScopes": ["Mail.Read.Shared"],
274
274
  "appScopes": ["Mail.Read"],
@@ -278,7 +278,7 @@
278
278
  "pathPattern": "/users/{user-id}/messages/{message-id}/attachments",
279
279
  "method": "post",
280
280
  "toolName": "add-shared-mailbox-attachment",
281
- "descriptionOverride": "Add an attachment under 3MB to a draft message in another user's mailbox or a shared mailbox. The user-id is the mailbox owner's ID or email address, and delegated access to that mailbox is required.",
281
+ "descriptionOverride": "Add an attachment under 3MB to a draft message in another user's mailbox or a shared mailbox. The user-id is the mailbox owner's ID or email address.",
282
282
  "presets": ["work"],
283
283
  "workScopes": ["Mail.ReadWrite.Shared"],
284
284
  "appScopes": ["Mail.ReadWrite"],
@@ -288,7 +288,7 @@
288
288
  "pathPattern": "/users/{user-id}/messages/{message-id}/attachments/{attachment-id}",
289
289
  "method": "delete",
290
290
  "toolName": "delete-shared-mailbox-attachment",
291
- "descriptionOverride": "Delete an attachment from a message in another user's mailbox or a shared mailbox. The user-id is the mailbox owner's ID or email address, and delegated access to that mailbox is required.",
291
+ "descriptionOverride": "Delete an attachment from a message in another user's mailbox or a shared mailbox. The user-id is the mailbox owner's ID or email address.",
292
292
  "presets": ["work"],
293
293
  "workScopes": ["Mail.ReadWrite.Shared"],
294
294
  "appScopes": ["Mail.ReadWrite"]
@@ -661,7 +661,7 @@
661
661
  "pathPattern": "/users/{user-id}/calendar/events",
662
662
  "method": "get",
663
663
  "toolName": "list-shared-calendar-events",
664
- "descriptionOverride": "List events in another user's default calendar. The user-id is the calendar owner's ID or email address, and delegated access to that calendar is required. Recurring events are returned as a single series master, not expanded into occurrences - use get-shared-calendar-view for that.",
664
+ "descriptionOverride": "List events in another user's default calendar. The user-id is the calendar owner's ID or email address. Recurring events are returned as a single series master, not expanded into occurrences - use get-shared-calendar-view for that.",
665
665
  "presets": ["work"],
666
666
  "workScopes": ["Calendars.Read.Shared"],
667
667
  "appScopes": [["Calendars.ReadBasic"], ["Calendars.Read"]],
@@ -681,7 +681,7 @@
681
681
  "pathPattern": "/users/{user-id}/calendar/events",
682
682
  "method": "post",
683
683
  "toolName": "create-shared-calendar-event",
684
- "descriptionOverride": "Create an event in another user's default calendar. The user-id is the calendar owner's ID or email address, and delegated write access to that calendar is required. Times use nested objects, not flat fields: start: {dateTime, timeZone}, end: {dateTime, timeZone}. Do NOT use startDateTime/startTimeZone. For recurring events use the calendar owner's own time zone name rather than UTC, since Graph resolves DST against the zone in start.timeZone.",
684
+ "descriptionOverride": "Create an event in another user's default calendar. The user-id is the calendar owner's ID or email address. Times use nested objects, not flat fields: start: {dateTime, timeZone}, end: {dateTime, timeZone}. Do NOT use startDateTime/startTimeZone. For recurring events use the calendar owner's own time zone name rather than UTC, since Graph resolves DST against the zone in start.timeZone.",
685
685
  "presets": ["work"],
686
686
  "workScopes": ["Calendars.ReadWrite.Shared"],
687
687
  "appScopes": ["Calendars.ReadWrite"],
@@ -772,7 +772,7 @@
772
772
  "scopes": ["Files.Read"],
773
773
  "appScopes": [["Files.Read.All"], ["Sites.Read.All"], ["Sites.Selected"]],
774
774
  "deltaToken": true,
775
- "llmTip": "Tracks changes to a driveItem and its children over time. Returns a collection of driveItems that have been created, modified, or deleted. Use get-drive-root-item first to get the root driveItem-id, then pass it here. Supports $select. For incremental sync, pass the @odata.deltaLink from the last page as token on the next call."
775
+ "llmTip": "Tracks changes to a driveItem and its children. An item can appear more than once; use its last occurrence. Deleted items have a deleted facet. Use get-drive-root-item first to get the root driveItem-id, then pass it here. Supports $select."
776
776
  },
777
777
  {
778
778
  "pathPattern": "/drives/{drive-id}/root",
@@ -815,7 +815,7 @@
815
815
  "presets": ["files", "onedrive", "personal"],
816
816
  "scopes": [["Files.ReadWrite"], ["Sites.Selected"]],
817
817
  "appScopes": [["Sites.ReadWrite.All"], ["Sites.Selected"]],
818
- "llmTip": "For large file uploads (no size limit, and no minimum unlike the Outlook attachment session). Returns a pre-authenticated uploadUrl; the caller PUTs the bytes there itself. This server does not perform the PUT. For new files use path: /items/{parentId}:/{fileName}:/createUploadSession. Body (optional): { item: { '@microsoft.graph.conflictBehavior': 'rename' } }."
818
+ "llmTip": "For large file uploads (up to 250 GB; no minimum, unlike the Outlook attachment session). Returns a pre-authenticated uploadUrl; the caller PUTs the bytes there itself, without an Authorization header, in ranges under 60 MiB that are multiples of 320 KiB (except the last). This server does not perform the PUT. For new files use path: /items/{parentId}:/{fileName}:/createUploadSession. Body (optional): { item: { '@microsoft.graph.conflictBehavior': 'rename' } }."
819
819
  },
820
820
  {
821
821
  "pathPattern": "/drives/{drive-id}/items/{driveItem-id}",
@@ -851,7 +851,7 @@
851
851
  "presets": ["files", "onedrive", "personal"],
852
852
  "scopes": ["Files.ReadWrite"],
853
853
  "appScopes": [["Files.ReadWrite.All"], ["Sites.ReadWrite.All"], ["Sites.Selected"]],
854
- "llmTip": "Shares a file or folder with specific users. Body: { recipients: [{ email: 'user@example.com' }], roles: ['read'], sendInvitation: true, message: 'Please review this file.' }. Roles: 'read', 'write', 'owner'. Set requireSignIn to true to require authentication."
854
+ "llmTip": "Shares a file or folder with specific users. Body: { recipients: [{ email: 'user@example.com' }], roles: ['read'], sendInvitation: true, message: 'Please review this file.' }. Roles: 'read', 'write'. Set requireSignIn to true to require authentication."
855
855
  },
856
856
  {
857
857
  "pathPattern": "/drives/{drive-id}/items/{driveItem-id}/createLink",
@@ -860,7 +860,7 @@
860
860
  "presets": ["files", "onedrive", "personal"],
861
861
  "scopes": ["Files.ReadWrite"],
862
862
  "appScopes": [["Files.ReadWrite.All"], ["Sites.ReadWrite.All"], ["Sites.Selected"]],
863
- "llmTip": "Create a shareable link for a file or folder WITHOUT sending an email invitation. Body: { type: 'view' | 'edit' | 'embed', scope: 'anonymous' | 'organization' | 'users', password?: string, expirationDateTime?: ISO-8601, retainInheritedPermissions?: boolean }. Returns a permission with link.webUrl. Pair with share-drive-item when you want to grant explicit access; use this when you only need a URL to paste into a doc/email/chat without triggering OneDrive notifications."
863
+ "llmTip": "Create a shareable link for a file or folder WITHOUT sending an email invitation. Body: { type: 'view' | 'edit' | 'embed', scope: 'anonymous' | 'organization' | 'users', password?: string, expirationDateTime?: ISO-8601, retainInheritedPermissions?: boolean }. 'embed' works only in OneDrive personal, 'organization' only in OneDrive for Business and SharePoint. Returns a permission with link.webUrl. Pair with share-drive-item when you want to grant explicit access; use this when you only need a URL to paste into a doc/email/chat without triggering OneDrive notifications."
864
864
  },
865
865
  {
866
866
  "pathPattern": "/drives/{drive-id}/items/{driveItem-id}/copy",
@@ -896,7 +896,7 @@
896
896
  "presets": ["files", "onedrive", "personal"],
897
897
  "scopes": ["Files.Read"],
898
898
  "appScopes": [["Files.Read.All"], ["Sites.Read.All"], ["Sites.Selected"]],
899
- "llmTip": "Lists all permissions (sharing links, direct access, inherited) on a file or folder. Each permission has roles, grantedTo (user), link (sharing URL), and inheritedFrom."
899
+ "llmTip": "Lists sharing permissions (sharing links, direct access, inherited) on a file or folder. A non-owner only sees the permissions that apply to them. Use grantedToV2; grantedTo is deprecated."
900
900
  },
901
901
  {
902
902
  "pathPattern": "/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}",
@@ -914,7 +914,7 @@
914
914
  "presets": ["files", "onedrive", "personal"],
915
915
  "scopes": [["Files.Read"], ["Sites.Selected"]],
916
916
  "appScopes": [["Files.Read.All"], ["Sites.Read.All"], ["Sites.Selected"]],
917
- "llmTip": "Lists version history of a file. Each version has id, lastModifiedDateTime, lastModifiedBy, and size. Use the version id with /versions/{id}/content to download a specific version."
917
+ "llmTip": "Lists versions of a file, newest first; the first is the current version. $orderby is not supported. Download an older version with /versions/{version-id}/content; for the current one use /content."
918
918
  },
919
919
  {
920
920
  "pathPattern": "/drives/{drive-id}/search(q='{q}')",
@@ -1071,7 +1071,7 @@
1071
1071
  "pathPattern": "/users/{user-id}/messages/{message-id}/$value",
1072
1072
  "method": "get",
1073
1073
  "toolName": "get-shared-mailbox-message-mime",
1074
- "descriptionOverride": "Download the raw MIME source (RFC 5322 .eml content) of a message in another user's mailbox or a shared mailbox, by message ID. The user-id is the mailbox owner's ID or email address, and delegated access to that mailbox is required.",
1074
+ "descriptionOverride": "Download the raw MIME source (RFC 5322 .eml content) of a message in another user's mailbox or a shared mailbox, by message ID. The user-id is the mailbox owner's ID or email address.",
1075
1075
  "presets": ["work"],
1076
1076
  "workScopes": ["Mail.Read.Shared"],
1077
1077
  "appScopes": ["Mail.Read"],
@@ -1093,7 +1093,7 @@
1093
1093
  "pathPattern": "/users/{user-id}/messages/{message-id}/attachments/{attachment-id}/$value",
1094
1094
  "method": "get",
1095
1095
  "toolName": "get-shared-mailbox-attachment-content",
1096
- "descriptionOverride": "Download the raw bytes of a file attachment of a message in another user's mailbox or a shared mailbox, by message ID and attachment ID. The user-id is the mailbox owner's ID or email address, and delegated access to that mailbox is required.",
1096
+ "descriptionOverride": "Download the raw bytes of a file attachment of a message in another user's mailbox or a shared mailbox, by message ID and attachment ID. The user-id is the mailbox owner's ID or email address.",
1097
1097
  "presets": ["work"],
1098
1098
  "workScopes": ["Mail.Read.Shared"],
1099
1099
  "appScopes": ["Mail.Read"],
@@ -1503,7 +1503,8 @@
1503
1503
  "toolName": "list-todo-task-lists-delta",
1504
1504
  "presets": ["personal", "tasks"],
1505
1505
  "scopes": ["Tasks.ReadWrite"],
1506
- "queryParams": ["select", "skiptoken"]
1506
+ "queryParams": ["select", "skiptoken"],
1507
+ "deltaToken": true
1507
1508
  },
1508
1509
  {
1509
1510
  "pathPattern": "/me/todo/lists/{todoTaskList-id}/tasks",
@@ -1757,7 +1758,7 @@
1757
1758
  "toolName": "create-planner-task-message",
1758
1759
  "scopes": ["Tasks.ReadWrite"],
1759
1760
  "apiVersion": "beta",
1760
- "llmTip": "Posts a message to a Planner task's chat (the modern 'task chat', not the legacy conversationThreadId comment). Microsoft is retiring the classic task comments experience and hiding it from the task (Planner 2026 update), so task chat is the current supported way to post per-task updates teammates will see, with @mentions. Body: { content: 'plain text or sanitized HTML', mentions?: [{ mentioned: 'user-id', position: 0, mentionType: 'user' }] } (mentions optional). No ETag/If-Match required. BETA Graph API: subject to change; delegated work/school accounts only — no application permissions, no personal Microsoft accounts, global cloud only (not GCC/DoD/21Vianet)."
1761
+ "llmTip": "Posts a message to a Planner task's chat (the modern 'task chat', not the legacy conversationThreadId comment). Task chat is currently available for basic plans; Premium plans use Teams conversations for task discussions. Only explicitly mentioned users receive notifications. Body: { content: 'plain text or sanitized HTML', mentions?: [{ mentioned: 'user-id', position: 0, mentionType: 'user' }] } (mentions optional). No ETag/If-Match required. BETA Graph API: subject to change; delegated work/school accounts only — no application permissions, no personal Microsoft accounts, global cloud only (not GCC/DoD/21Vianet)."
1761
1762
  },
1762
1763
  {
1763
1764
  "pathPattern": "/planner/tasks/{plannerTask-id}/messages/{plannerTaskChatMessage-id}",
@@ -1773,7 +1774,7 @@
1773
1774
  "toolName": "list-outlook-contacts",
1774
1775
  "presets": ["contacts", "outlook", "personal"],
1775
1776
  "scopes": ["Contacts.Read"],
1776
- "llmTip": "$filter only supports startswith() — contains() and eq on emailAddresses do not work. Use $search as alternative for broader matching."
1777
+ "llmTip": "To match an exact email address, use $filter=emailAddresses/any(a:a/address eq 'name@example.com'). For emailAddresses, only eq on the address sub-property is supported; contains(), startswith(), and other operators are not."
1777
1778
  },
1778
1779
  {
1779
1780
  "pathPattern": "/me/contacts/{contact-id}",
@@ -2462,7 +2463,8 @@
2462
2463
  "presets": ["work"],
2463
2464
  "workScopes": [["Sites.ReadWrite.All"], ["Sites.Selected"]],
2464
2465
  "appScopes": [["Sites.ReadWrite.All"], ["Sites.Selected"]],
2465
- "llmTip": "Updates fields on an existing list item. Body: { fields: { ColumnName: 'new value' } }. Send only the fields you want to change. Use $expand=fields on get-sharepoint-site-list-item to see current values first."
2466
+ "supportsIfMatch": true,
2467
+ "llmTip": "Updates fields on an existing list item. Body: { fields: { ColumnName: 'new value' } }. Send only the fields you want to change. Use $expand=fields on get-sharepoint-site-list-item to see current values first. For optimistic concurrency, pass its ETag as If-Match; enable includeHeaders=true when reading to capture the ETag. A stale ETag returns 412 without applying the update."
2466
2468
  },
2467
2469
  {
2468
2470
  "pathPattern": "/sites/{site-id}/lists/{list-id}/items/{listItem-id}",
@@ -2944,10 +2946,10 @@
2944
2946
  "pathPattern": "/me/events/delta()",
2945
2947
  "method": "get",
2946
2948
  "toolName": "list-calendar-events-delta",
2949
+ "descriptionOverride": "Incremental sync of events in the signed-in user's mailbox, not a calendarView. startDateTime sets the earliest event start to include. Each event has only id, type, start and end; use get-calendar-event for the rest. For a time-bounded view with expanded recurring instances, use list-calendar-view-delta instead.",
2947
2950
  "presets": ["calendar", "outlook", "personal"],
2948
2951
  "scopes": ["Calendars.Read"],
2949
- "queryParams": ["startDateTime", "skiptoken"],
2950
- "llmTip": "Incremental sync of events across the default calendar. First call returns all events plus @odata.deltaLink. Subsequent calls with that link return only additions/updates/removals. Deltas expire after ~30 days — start over if the server returns 410 Gone. For a time-bounded view with delta semantics, use list-calendar-view-delta instead."
2952
+ "queryParams": ["startDateTime", "skiptoken"]
2951
2953
  },
2952
2954
  {
2953
2955
  "pathPattern": "/me/calendarView/delta()",
@@ -2984,7 +2986,7 @@
2984
2986
  "presets": ["work"],
2985
2987
  "workScopes": ["Group.ReadWrite.All"],
2986
2988
  "appScopes": ["Group.ReadWrite.All"],
2987
- "llmTip": "Permanently deletes a group and all its associated resources (conversations, files, calendar, planner). This action is irreversible. Use get-group to verify the group before deleting."
2989
+ "llmTip": "Deletes a group. Microsoft 365 and security groups can be restored from deletedItems within 30 days. Use get-group to verify the group before deleting."
2988
2990
  },
2989
2991
  {
2990
2992
  "pathPattern": "/groups/{group-id}/members/$ref",
@@ -3447,6 +3449,6 @@
3447
3449
  "presets": ["teams", "teams-write", "work"],
3448
3450
  "workScopes": ["TeamsActivity.Send"],
3449
3451
  "contentType": "application/json",
3450
- "llmTip": "Sends a Teams activity feed notification to the current user (the badge + entry in their Activity tab). Body: { topic: { source: 'entityUrl' | 'text', value: <Graph URL or plain text>, webUrl: <required when source='text', click-through URL> }, activityType: <must be declared in the calling Teams app's manifest, OR the reserved 'systemDefault' which provides free-form Actor+Reason text>, previewText: { content: 'short preview' }, templateParameters?: [{ name, value }] (substituted into the manifest's localized notification template), teamsAppId?: <optional disambiguator when multiple installed apps share a Microsoft Entra app ID — fetch via list-my-installed-teams-apps>, chainId?, iconId? }. Use to ping the user with 'action required' notifications from agentic workflows. See https://learn.microsoft.com/graph/teams-send-activityfeednotifications."
3452
+ "llmTip": "Sends a Teams activity feed notification to the current user (the badge + entry in their Activity tab). Body: { topic: { source: 'entityUrl' | 'text', value: <Microsoft Graph URL to a teamsAppInstallation or teamsCatalogApp when source='entityUrl'; plain text when source='text'>, webUrl: <required for source='text', click-through URL> }, activityType: <must be declared in the calling Teams app's manifest, OR the reserved 'systemDefault' which provides free-form Actor+Reason text>, previewText: { content: 'short preview' }, templateParameters?: [{ name, value }] (substituted into the manifest's localized notification template), teamsAppId?: <optional disambiguator when multiple installed apps share a Microsoft Entra app ID — fetch via list-my-installed-teams-apps>, chainId?, iconId? }. Use to ping the user with 'action required' notifications from agentic workflows. See https://learn.microsoft.com/graph/teams-send-activityfeednotifications."
3451
3453
  }
3452
3454
  ]