Skip to main content
Glama
Microsoft 365 MCP Server

Microsoft 365 MCP Server

by Softeria

create-contact-folder

create-contact-folder
Destructive

Create a new contact folder under the default contacts folder or a specified parent, returning the folder ID so you can organize contacts into custom groups.

Instructions

Create a new contactFolder under the user's default contacts folder. You can also create a new contactfolder as a child of any specified contact folder.

šŸ’” TIP: Creates a new contact folder under the user's mailbox root. Body: { displayName: 'Family' }. Returns the created contactFolder with its id. To create a sub-folder under an existing folder, use create-contact-child-folder.

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>"
    },
    "name": "create-contact-folder"
  }
}

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.
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.190.2
    • removedInput schema / $defs / def12
      Removed value: -{
      -  "type": "boolean"
      -}
    • removedInput schema / $defs / def13
      Removed value: -{
      -  "type": "boolean"
      -}
    • removedInput schema / $defs / def14
      Removed value: -{
      -  "type": "boolean"
      -}
    • removedInput schema / properties / confirm / allOf
      Removed value: -[
      -  {
      -    "$ref": "#/$defs/def12"
      -  }
      -]
    • addedInput schema / properties / confirm / type
      Added value: +"boolean"
    • removedInput schema / properties / excludeResponse / allOf
      Removed value: -[
      -  {
      -    "$ref": "#/$defs/def13"
      -  }
      -]
    • addedInput schema / properties / excludeResponse / type
      Added value: +"boolean"
    • removedInput schema / properties / includeHeaders / allOf
      Removed value: -[
      -  {
      -    "$ref": "#/$defs/def14"
      -  }
      -]
    • addedInput schema / properties / includeHeaders / type
      Added value: +"boolean"
  2. Changed44 schema fields changedv0.176.1
    • changedInput schema / $defs / def0 / properties / multiValueExtendedProperties / items / $ref
      Previous value: -"#/$defs/def3"New value: +"#/$defs/def5"
    • removedInput schema / $defs / def1 / properties / birthday / description
      Removed value: -"The contact's birthday. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
    • changedInput schema / $defs / def1 / properties / businessAddress / $ref
      Previous value: -"#/$defs/def2"New value: +"#/$defs/def8"
    • addedInput schema / $defs / def1 / properties / businessPhones / items / $ref
      Added value: +"#/$defs/def9"
    • removedInput schema / $defs / def1 / properties / businessPhones / items / type
      Removed value: -[
      -  "string",
      -  "null"
      -]
    • addedInput schema / $defs / def1 / properties / categories / items / $ref
      Added value: +"#/$defs/def7"
    • removedInput schema / $defs / def1 / properties / categories / items / type
      Removed value: -[
      -  "string",
      -  "null"
      -]
    • addedInput schema / $defs / def1 / properties / children / items / $ref
      Added value: +"#/$defs/def10"
    • removedInput schema / $defs / def1 / properties / children / items / type
      Removed value: -[
      -  "string",
      -  "null"
      -]
    • removedInput schema / $defs / def1 / properties / createdDateTime / description
      Removed value: -"The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
    • addedInput schema / $defs / def1 / properties / emailAddresses / items / $ref
      Added value: +"#/$defs/def11"
    • removedInput schema / $defs / def1 / properties / emailAddresses / items / additionalProperties
      Removed value: -true
    • removedInput schema / $defs / def1 / properties / emailAddresses / items / properties
      Removed value: -{
      -  "address": {
      -    "description": "The email address of the person or entity.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "name": {
      -    "description": "The display name of the person or entity.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  }
      -}
    • removedInput schema / $defs / def1 / properties / emailAddresses / items / type
      Removed value: -"object"
    • changedInput schema / $defs / def1 / properties / homeAddress / $ref
      Previous value: -"#/$defs/def2"New value: +"#/$defs/def8"
    • addedInput schema / $defs / def1 / properties / homePhones / items / $ref
      Added value: +"#/$defs/def2"
    • removedInput schema / $defs / def1 / properties / homePhones / items / type
      Removed value: -[
      -  "string",
      -  "null"
      -]
    • addedInput schema / $defs / def1 / properties / imAddresses / items / $ref
      Added value: +"#/$defs/def3"
    • removedInput schema / $defs / def1 / properties / imAddresses / items / type
      Removed value: -[
      -  "string",
      -  "null"
      -]
    • removedInput schema / $defs / def1 / properties / lastModifiedDateTime / description
      Removed value: -"The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
    • changedInput schema / $defs / def1 / properties / multiValueExtendedProperties / items / $ref
      Previous value: -"#/$defs/def3"New value: +"#/$defs/def5"
    • addedInput schema / $defs / def10
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedInput schema / $defs / def11
      Added value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "address": {
      +      "description": "The email address of the person or entity.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "name": {
      +      "description": "The display name of the person or entity.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / $defs / def12
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / $defs / def13
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / $defs / def14
      Added value: +{
      +  "type": "boolean"
      +}
    • removedInput schema / $defs / def2 / additionalProperties
      Removed value: -true
    • removedInput schema / $defs / def2 / properties
      Removed value: -{
      -  "city": {
      -    "description": "The city.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "countryOrRegion": {
      -    "description": "The country or region. It's a free-format string value, for example, 'United States'.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "postalCode": {
      -    "description": "The postal code.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "state": {
      -    "description": "The state.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "street": {
      -    "description": "The street.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  }
      -}
    • changedInput schema / $defs / def2 / type
      Previous value: -"object"New value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / $defs / def3 / additionalProperties
      Removed value: -true
    • removedInput schema / $defs / def3 / properties
      Removed value: -{
      -  "id": {
      -    "description": "The unique identifier for an entity. Read-only.",
      -    "type": "string"
      -  },
      -  "value": {
      -    "description": "A collection of property values.",
      -    "items": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "type": "array"
      -  }
      -}
    • changedInput schema / $defs / def3 / type
      Previous value: -"object"New value: +[
      +  "string",
      +  "null"
      +]
    • addedInput schema / $defs / def5
      Added value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "id": {
      +      "description": "The unique identifier for an entity. Read-only.",
      +      "type": "string"
      +    },
      +    "value": {
      +      "description": "A collection of property values.",
      +      "items": {
      +        "$ref": "#/$defs/def6"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / $defs / def6
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedInput schema / $defs / def7
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedInput schema / $defs / def8
      Added value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "city": {
      +      "description": "The city.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "countryOrRegion": {
      +      "description": "The country or region. It's a free-format string value, for example, 'United States'.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "postalCode": {
      +      "description": "The postal code.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "state": {
      +      "description": "The state.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "street": {
      +      "description": "The street.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / $defs / def9
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedInput schema / properties / body / properties / multiValueExtendedProperties / items / $ref
      Previous value: -"#/$defs/def3"New value: +"#/$defs/def5"
    • addedInput schema / properties / confirm / allOf
      Added value: +[
      +  {
      +    "$ref": "#/$defs/def12"
      +  }
      +]
    • removedInput schema / properties / confirm / type
      Removed value: -"boolean"
    • addedInput schema / properties / excludeResponse / allOf
      Added value: +[
      +  {
      +    "$ref": "#/$defs/def13"
      +  }
      +]
    • removedInput schema / properties / excludeResponse / type
      Removed value: -"boolean"
    • addedInput schema / properties / includeHeaders / allOf
      Added value: +[
      +  {
      +    "$ref": "#/$defs/def14"
      +  }
      +]
    • removedInput schema / properties / includeHeaders / type
      Removed value: -"boolean"
  3. Addedv0.134.4
  4. Removedv0.131.2
  5. 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"
      +}
  6. Addedv0.114.0
  7. Removedv0.112.2
  8. Addedv0.110.0
  9. Removedv0.108.0
  10. Addedv0.105.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, and openWorldHint=true, so the write/mutation character is covered structurally. The description usefully states the body shape and that it returns the created folder with its id, but says nothing about permissions, duplicate-name behavior, or the confirm gate that the schema exposes for destructive calls.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short and leads with the purpose followed by a practical tip, which is good structure. But the first two sentences and the TIP restate folder placement three times with inconsistent conclusions, so the text does not fully earn its length.

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 nested-body mutation with no output schema, the description does cover the body example and the return value, which is helpful. It is missing the one thing an agent most needs here – an unambiguous statement of where the folder lands and when to prefer the sibling tool.

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 description coverage is 75%, so the schema already carries most parameter meaning, and the description adds a concrete body example ({ displayName: 'Family' }). It does not explain parentFolderId, confirm, includeHeaders, or excludeResponse, though those are largely documented in the schema.

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 names a specific verb and resource ('Create a new contactFolder') and identifies the default location. However, it sends mixed signals about scope: the opening says a child folder can be created here via a specified parent folder, while the TIP says child folders belong to create-contact-child-folder.

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

Usage Guidelines3/5

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

It does name an alternative (create-contact-child-folder) for sub-folders, which is real routing guidance. But that guidance directly undercuts the preceding sentence that says this tool can create a folder 'as a child of any specified contact folder', leaving the agent unsure which is correct.

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