Microsoft Graph · Capability

Microsoft Graph OData Service for namespace microsoft.graph — Groups.group

Microsoft Graph OData Service for namespace microsoft.graph — Groups.group. 9 operations. Lead operation: Microsoft Graph List groups. Self-contained Naftiko capability covering one Microsoft Graph business surface.

Run with Naftiko Microsoft GraphGroups.group

What You Can Do

GET
Groupsgrouplistgroup — Microsoft Graph List groups
/v1/groups
POST
Groupsgroupcreategroup — Microsoft Graph Create group
/v1/groups
GET
Groupsgroupgetgroupbyuniquename — Microsoft Graph Get group
/v1/groups-uniquename-uniquename
PATCH
Groupsgroupupdategroupbyuniquename — Microsoft Graph Upsert group
/v1/groups-uniquename-uniquename
DELETE
Groupsgroupdeletegroupbyuniquename — Microsoft Graph Delete group
/v1/groups-uniquename-uniquename
GET
Groupsgetcount044a — Microsoft Graph Get the number of the resource
/v1/groups/count
GET
Groupsgroupgetgroup — Microsoft Graph Get group
/v1/groups/{group-id}
PATCH
Groupsgroupupdategroup — Microsoft Graph Upsert group
/v1/groups/{group-id}
DELETE
Groupsgroupdeletegroup — Microsoft Graph Delete group
/v1/groups/{group-id}

MCP Tools

microsoft-graph-list-groups

Microsoft Graph List groups

read-only idempotent
microsoft-graph-create-group

Microsoft Graph Create group

microsoft-graph-get-group

Microsoft Graph Get group

read-only idempotent
microsoft-graph-upsert-group

Microsoft Graph Upsert group

idempotent
microsoft-graph-delete-group

Microsoft Graph Delete group

idempotent
microsoft-graph-get-number-resource

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-group-2

Microsoft Graph Get group

read-only idempotent
microsoft-graph-upsert-group-2

Microsoft Graph Upsert group

idempotent
microsoft-graph-delete-group-2

Microsoft Graph Delete group

idempotent

Capability Spec

microsoft-graph-groups-group.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Graph OData Service for namespace microsoft.graph — Groups.group
  description: 'Microsoft Graph OData Service for namespace microsoft.graph — Groups.group. 9 operations. Lead operation:
    Microsoft Graph List groups. Self-contained Naftiko capability covering one Microsoft Graph business surface.'
  tags:
  - Microsoft Graph
  - Groups.group
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_GRAPH_API_KEY: MICROSOFT_GRAPH_API_KEY
capability:
  consumes:
  - type: http
    namespace: microsoft-graph-groups-group
    baseUri: https://graph.microsoft.com/v1.0
    description: Microsoft Graph OData Service for namespace microsoft.graph — Groups.group business capability. Self-contained,
      no shared references.
    resources:
    - name: groups
      path: /groups
      operations:
      - name: groupsgrouplistgroup
        method: GET
        description: Microsoft Graph List groups
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ConsistencyLevel
          in: header
          type: string
          description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
      - name: groupsgroupcreategroup
        method: POST
        description: Microsoft Graph Create group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: groups(uniqueName='{uniqueName}')
      path: /groups(uniqueName='{uniqueName}')
      operations:
      - name: groupsgroupgetgroupbyuniquename
        method: GET
        description: Microsoft Graph Get group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
      - name: groupsgroupupdategroupbyuniquename
        method: PATCH
        description: Microsoft Graph Upsert group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: groupsgroupdeletegroupbyuniquename
        method: DELETE
        description: Microsoft Graph Delete group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: If-Match
          in: header
          type: string
          description: ETag
    - name: groups-$count
      path: /groups/$count
      operations:
      - name: groupsgetcount044a
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ConsistencyLevel
          in: header
          type: string
          description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
    - name: groups-group-id
      path: /groups/{group-id}
      operations:
      - name: groupsgroupgetgroup
        method: GET
        description: Microsoft Graph Get group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
      - name: groupsgroupupdategroup
        method: PATCH
        description: Microsoft Graph Upsert group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: groupsgroupdeletegroup
        method: DELETE
        description: Microsoft Graph Delete group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: If-Match
          in: header
          type: string
          description: ETag
  exposes:
  - type: rest
    namespace: microsoft-graph-groups-group-rest
    port: 8080
    description: REST adapter for Microsoft Graph OData Service for namespace microsoft.graph — Groups.group. One Spectral-compliant
      resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/groups
      name: groups
      description: REST surface for groups.
      operations:
      - method: GET
        name: groupsgrouplistgroup
        description: Microsoft Graph List groups
        call: microsoft-graph-groups-group.groupsgrouplistgroup
        with:
          ConsistencyLevel: rest.ConsistencyLevel
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: groupsgroupcreategroup
        description: Microsoft Graph Create group
        call: microsoft-graph-groups-group.groupsgroupcreategroup
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/groups-uniquename-uniquename
      name: groups-uniquename-uniquename
      description: REST surface for groups(uniqueName='{uniqueName}').
      operations:
      - method: GET
        name: groupsgroupgetgroupbyuniquename
        description: Microsoft Graph Get group
        call: microsoft-graph-groups-group.groupsgroupgetgroupbyuniquename
        with:
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: groupsgroupupdategroupbyuniquename
        description: Microsoft Graph Upsert group
        call: microsoft-graph-groups-group.groupsgroupupdategroupbyuniquename
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: groupsgroupdeletegroupbyuniquename
        description: Microsoft Graph Delete group
        call: microsoft-graph-groups-group.groupsgroupdeletegroupbyuniquename
        with:
          If-Match: rest.If-Match
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/groups/count
      name: groups-count
      description: REST surface for groups-$count.
      operations:
      - method: GET
        name: groupsgetcount044a
        description: Microsoft Graph Get the number of the resource
        call: microsoft-graph-groups-group.groupsgetcount044a
        with:
          ConsistencyLevel: rest.ConsistencyLevel
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/groups/{group-id}
      name: groups-group-id
      description: REST surface for groups-group-id.
      operations:
      - method: GET
        name: groupsgroupgetgroup
        description: Microsoft Graph Get group
        call: microsoft-graph-groups-group.groupsgroupgetgroup
        with:
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: groupsgroupupdategroup
        description: Microsoft Graph Upsert group
        call: microsoft-graph-groups-group.groupsgroupupdategroup
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: groupsgroupdeletegroup
        description: Microsoft Graph Delete group
        call: microsoft-graph-groups-group.groupsgroupdeletegroup
        with:
          If-Match: rest.If-Match
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: microsoft-graph-groups-group-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Graph OData Service for namespace microsoft.graph — Groups.group. One tool per
      consumed operation, routed inline through this capability's consumes block.
    tools:
    - name: microsoft-graph-list-groups
      description: Microsoft Graph List groups
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-groups-group.groupsgrouplistgroup
      with:
        ConsistencyLevel: tools.ConsistencyLevel
        $orderby: tools.$orderby
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-create-group
      description: Microsoft Graph Create group
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: microsoft-graph-groups-group.groupsgroupcreategroup
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-group
      description: Microsoft Graph Get group
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-groups-group.groupsgroupgetgroupbyuniquename
      with:
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-upsert-group
      description: Microsoft Graph Upsert group
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: microsoft-graph-groups-group.groupsgroupupdategroupbyuniquename
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-delete-group
      description: Microsoft Graph Delete group
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: microsoft-graph-groups-group.groupsgroupdeletegroupbyuniquename
      with:
        If-Match: tools.If-Match
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-number-resource
      description: Microsoft Graph Get the number of the resource
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-groups-group.groupsgetcount044a
      with:
        ConsistencyLevel: tools.ConsistencyLevel
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-group-2
      description: Microsoft Graph Get group
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-groups-group.groupsgroupgetgroup
      with:
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-upsert-group-2
      description: Microsoft Graph Upsert group
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: microsoft-graph-groups-group.groupsgroupupdategroup
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-delete-group-2
      description: Microsoft Graph Delete group
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: microsoft-graph-groups-group.groupsgroupdeletegroup
      with:
        If-Match: tools.If-Match
      outputParameters:
      - type: object
        mapping: $.