Skip to main content
Glama
Microsoft 365 MCP Server

Microsoft 365 MCP Server

by Softeria

create-planner-task-message

create-planner-task-message
Destructive

Posts a chat message to a Microsoft Planner task to share updates or start discussions; optionally mention users to notify them.

Instructions

[beta] Create a new plannerTaskChatMessage on a plannerTask.

šŸ’” TIP: 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).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "body": "<body>",
      "plannerTaskId": "<plannerTaskId>"
    },
    "name": "create-planner-task-message"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
confirmNoFor 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.
plannerTaskIdYesValue for the 'plannerTaskId' path segment. Pass it under the name 'plannerTaskId', not as 'id'. Use the 'id' field of the planner task object as returned by Microsoft Graph.
includeHeadersNoInclude response headers (including ETag) in the response metadata
excludeResponseNoExclude the full response body and only return success or failure indication

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changedv0.145.2
    • removedInput schema / $defs
      Removed value: -{
      -  "def0": {
      -    "additionalProperties": true,
      -    "properties": {
      -      "application": {
      -        "$ref": "#/$defs/def1"
      -      },
      -      "device": {
      -        "$ref": "#/$defs/def1"
      -      },
      -      "user": {
      -        "$ref": "#/$defs/def1"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "def1": {
      -    "additionalProperties": true,
      -    "properties": {
      -      "displayName": {
      -        "description": "The display name of the identity. For drive items, the display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user don't show up as changed when using delta.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "id": {
      -        "description": "Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "type": "object"
      -  }
      -}
    • removedInput schema / properties / body / properties / createdBy / $ref
      Removed value: -"#/$defs/def0"
    • addedInput schema / properties / body / properties / createdBy / additionalProperties
      Added value: +true
    • addedInput schema / properties / body / properties / createdBy / properties
      Added value: +{
      +  "application": {
      +    "additionalProperties": true,
      +    "properties": {
      +      "displayName": {
      +        "description": "The display name of the identity. For drive items, the display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user don't show up as changed when using delta.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "id": {
      +        "description": "Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "device": {
      +    "additionalProperties": true,
      +    "properties": {
      +      "displayName": {
      +        "description": "The display name of the identity. For drive items, the display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user don't show up as changed when using delta.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "id": {
      +        "description": "Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "user": {
      +    "additionalProperties": true,
      +    "properties": {
      +      "displayName": {
      +        "description": "The display name of the identity. For drive items, the display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user don't show up as changed when using delta.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "id": {
      +        "description": "Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  }
      +}
    • addedInput schema / properties / body / properties / createdBy / type
      Added value: +"object"
    • removedInput schema / properties / body / properties / reactions / items / properties / reactionEvents / items / properties / createdBy / $ref
      Removed value: -"#/$defs/def0"
    • addedInput schema / properties / body / properties / reactions / items / properties / reactionEvents / items / properties / createdBy / additionalProperties
      Added value: +true
    • addedInput schema / properties / body / properties / reactions / items / properties / reactionEvents / items / properties / createdBy / properties
      Added value: +{
      +  "application": {
      +    "additionalProperties": true,
      +    "properties": {
      +      "displayName": {
      +        "description": "The display name of the identity. For drive items, the display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user don't show up as changed when using delta.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "id": {
      +        "description": "Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "device": {
      +    "additionalProperties": true,
      +    "properties": {
      +      "displayName": {
      +        "description": "The display name of the identity. For drive items, the display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user don't show up as changed when using delta.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "id": {
      +        "description": "Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "user": {
      +    "additionalProperties": true,
      +    "properties": {
      +      "displayName": {
      +        "description": "The display name of the identity. For drive items, the display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user don't show up as changed when using delta.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "id": {
      +        "description": "Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  }
      +}
    • addedInput schema / properties / body / properties / reactions / items / properties / reactionEvents / items / properties / createdBy / type
      Added value: +"object"
  2. Changed7 schema fields changedv0.134.4
    • addedInput schema / $defs
      Added value: +{
      +  "def0": {
      +    "additionalProperties": true,
      +    "properties": {
      +      "application": {
      +        "$ref": "#/$defs/def1"
      +      },
      +      "device": {
      +        "$ref": "#/$defs/def1"
      +      },
      +      "user": {
      +        "$ref": "#/$defs/def1"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "def1": {
      +    "additionalProperties": true,
      +    "properties": {
      +      "displayName": {
      +        "description": "The display name of the identity. For drive items, the display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user don't show up as changed when using delta.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "id": {
      +        "description": "Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  }
      +}
    • addedInput schema / properties / body / properties / createdBy / $ref
      Added value: +"#/$defs/def0"
    • removedInput schema / properties / body / properties / createdBy / additionalProperties
      Removed value: -true
    • removedInput schema / properties / body / properties / createdBy / properties
      Removed value: -{
      -  "application": {
      -    "additionalProperties": true,
      -    "properties": {
      -      "displayName": {
      -        "description": "The display name of the identity. For drive items, the display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user don't show up as changed when using delta.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "id": {
      -        "description": "Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "device": {
      -    "$ref": "#/properties/body/properties/createdBy/properties/application"
      -  },
      -  "user": {
      -    "$ref": "#/properties/body/properties/createdBy/properties/application"
      -  }
      -}
    • removedInput schema / properties / body / properties / createdBy / type
      Removed value: -"object"
    • changedInput schema / properties / body / properties / reactions / items / properties / reactionEvents / items / properties / createdBy / $ref
      Previous value: -"#/properties/body/properties/createdBy"New value: +"#/$defs/def0"
    • changedInput schema / properties / plannerTaskId / description
      Previous value: -"Path parameter: plannerTaskId"New value: +"Value for the 'plannerTaskId' path segment. Pass it under the name 'plannerTaskId', not as 'id'. Use the 'id' field of the planner task object as returned by Microsoft Graph."
  3. Changed1 schema field changedv0.131.2
    • changedInput schema / additionalProperties
      Previous value: -falseNew value: +true
  4. Changed1 schema field changedv0.131.1
    • addedInput schema / properties / confirm
      Added value: +{
      +  "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.",
      +  "type": "boolean"
      +}
  5. Addedv0.126.0

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing that this is beta Graph API, delegated work/school accounts only, no application permissions, no personal accounts, global cloud only (not GCC/DoD/21Vianet), that no ETag/If-Match is required, and that only explicitly mentioned users receive notifications — a side-effect an agent must know before posting.

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?

Front-loads the action in the first sentence, then layers caution and body shape; dense but every block carries information. The inline body example partially duplicates the schema, which is the main redundancy.

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

Completeness5/5

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

For a beta mutation with a deeply nested body schema and no output schema, the description covers the missing pieces an agent needs: eligibility of the plan type, auth/cloud constraints, notification behavior, ETag requirements, and body structure. Nothing essential for calling it correctly is absent.

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 schema description coverage at 80%, the baseline is 3. The description restates the body shape (content, optional mentions with mentioned/position/mentionType) in a compact form and notes mentions are optional, but adds little the schema does not already say and says nothing about confirm, includeHeaders, or excludeResponse.

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?

States a specific verb and resource ('Create a new plannerTaskChatMessage on a plannerTask') and explicitly distinguishes it from the legacy conversationThreadId comment path. An agent can tell this apart from list-/delete-/update-planner-task-message siblings without opening a schema.

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

Usage Guidelines4/5

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

Gives real selection context: this is the modern task chat, only available for basic plans, while Premium plans route task discussions through Teams conversations. It stops short of naming sibling tools (e.g. list-planner-task-messages) or stating what to do instead when the plan is Premium, so it is clear context without explicit alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools