Microsoft Graph · Capability

Microsoft Graph Me — me.userActivity

Microsoft Graph Me — me.userActivity. 14 operations. Lead operation: Microsoft Graph Get user activities. Self-contained Naftiko capability covering one Microsoft Graph business surface.

Run with Naftiko Microsoft Graphme.userActivity

What You Can Do

GET
Melistactivities — Microsoft Graph Get user activities
/v1/me/activities
POST
Mecreateactivities — Microsoft Graph Create new navigation property to activities for me
/v1/me/activities
GET
Meactivitiesgetcount65ad — Microsoft Graph Get the number of the resource
/v1/me/activities/count
GET
Meactivitiesrecent — Microsoft Graph Invoke function recent
/v1/me/activities/recent
GET
Megetactivities — Microsoft Graph Get activities from me
/v1/me/activities/{useractivity-id}
PATCH
Meupdateactivities — Microsoft Graph Update the navigation property activities in me
/v1/me/activities/{useractivity-id}
DELETE
Medeleteactivities — Microsoft Graph Delete an activity
/v1/me/activities/{useractivity-id}
GET
Meactivitieslisthistoryitems — Microsoft Graph Get historyItems from me
/v1/me/activities/{useractivity-id}/historyitems
POST
Meactivitiescreatehistoryitems — Microsoft Graph Create new navigation property to historyItems for me
/v1/me/activities/{useractivity-id}/historyitems
GET
Meactivitieshistoryitemsgetcountb80d — Microsoft Graph Get the number of the resource
/v1/me/activities/{useractivity-id}/historyitems/count
GET
Meactivitiesgethistoryitems — Microsoft Graph Get historyItems from me
/v1/me/activities/{useractivity-id}/historyitems/{activityhistoryitem-id}
PATCH
Meactivitiesupdatehistoryitems — Microsoft Graph Delete an activityHistoryItem
/v1/me/activities/{useractivity-id}/historyitems/{activityhistoryitem-id}
DELETE
Meactivitiesdeletehistoryitems — Microsoft Graph Delete navigation property historyItems for me
/v1/me/activities/{useractivity-id}/historyitems/{activityhistoryitem-id}
GET
Meactivitieshistoryitemsgetactivity — Microsoft Graph Get activity from me
/v1/me/activities/{useractivity-id}/historyitems/{activityhistoryitem-id}/activity

MCP Tools

microsoft-graph-get-user-activities

Microsoft Graph Get user activities

read-only idempotent
microsoft-graph-create-new-navigation

Microsoft Graph Create new navigation property to activities for me

microsoft-graph-get-number-resource

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-invoke-function-recent

Microsoft Graph Invoke function recent

read-only idempotent
microsoft-graph-get-activities-me

Microsoft Graph Get activities from me

read-only idempotent
microsoft-graph-update-navigation-property

Microsoft Graph Update the navigation property activities in me

idempotent
microsoft-graph-delete-activity

Microsoft Graph Delete an activity

idempotent
microsoft-graph-get-historyitems-me

Microsoft Graph Get historyItems from me

read-only idempotent
microsoft-graph-create-new-navigation-2

Microsoft Graph Create new navigation property to historyItems for me

microsoft-graph-get-number-resource-2

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-historyitems-me-2

Microsoft Graph Get historyItems from me

read-only idempotent
microsoft-graph-delete-activityhistoryitem

Microsoft Graph Delete an activityHistoryItem

idempotent
microsoft-graph-delete-navigation-property

Microsoft Graph Delete navigation property historyItems for me

idempotent
microsoft-graph-get-activity-me

Microsoft Graph Get activity from me

read-only idempotent

Capability Spec

me-me-useractivity.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Graph Me — me.userActivity
  description: 'Microsoft Graph Me — me.userActivity. 14 operations. Lead operation: Microsoft Graph Get user activities.
    Self-contained Naftiko capability covering one Microsoft Graph business surface.'
  tags:
  - Microsoft Graph
  - me.userActivity
  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: me-me-useractivity
    baseUri: ''
    description: Microsoft Graph Me — me.userActivity business capability. Self-contained, no shared references.
    resources:
    - name: me-activities
      path: /me/activities
      operations:
      - name: melistactivities
        method: GET
        description: Microsoft Graph Get user activities
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - 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: mecreateactivities
        method: POST
        description: Microsoft Graph Create new navigation property to activities for me
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: me-activities-$count
      path: /me/activities/$count
      operations:
      - name: meactivitiesgetcount65ad
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: me-activities-recent()
      path: /me/activities/recent()
      operations:
      - name: meactivitiesrecent
        method: GET
        description: Microsoft Graph Invoke function recent
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: me-activities-userActivity-id
      path: /me/activities/{userActivity-id}
      operations:
      - name: megetactivities
        method: GET
        description: Microsoft Graph Get activities from me
        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: meupdateactivities
        method: PATCH
        description: Microsoft Graph Update the navigation property activities in me
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: medeleteactivities
        method: DELETE
        description: Microsoft Graph Delete an activity
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: If-Match
          in: header
          type: string
          description: ETag
    - name: me-activities-userActivity-id-historyItems
      path: /me/activities/{userActivity-id}/historyItems
      operations:
      - name: meactivitieslisthistoryitems
        method: GET
        description: Microsoft Graph Get historyItems from me
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - 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: meactivitiescreatehistoryitems
        method: POST
        description: Microsoft Graph Create new navigation property to historyItems for me
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: me-activities-userActivity-id-historyItems-$count
      path: /me/activities/{userActivity-id}/historyItems/$count
      operations:
      - name: meactivitieshistoryitemsgetcountb80d
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: me-activities-userActivity-id-historyItems-activityHistoryItem-id
      path: /me/activities/{userActivity-id}/historyItems/{activityHistoryItem-id}
      operations:
      - name: meactivitiesgethistoryitems
        method: GET
        description: Microsoft Graph Get historyItems from me
        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: meactivitiesupdatehistoryitems
        method: PATCH
        description: Microsoft Graph Delete an activityHistoryItem
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: meactivitiesdeletehistoryitems
        method: DELETE
        description: Microsoft Graph Delete navigation property historyItems for me
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: If-Match
          in: header
          type: string
          description: ETag
    - name: me-activities-userActivity-id-historyItems-activityHistoryItem-id-activity
      path: /me/activities/{userActivity-id}/historyItems/{activityHistoryItem-id}/activity
      operations:
      - name: meactivitieshistoryitemsgetactivity
        method: GET
        description: Microsoft Graph Get activity from me
        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
  exposes:
  - type: rest
    namespace: me-me-useractivity-rest
    port: 8080
    description: REST adapter for Microsoft Graph Me — me.userActivity. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/me/activities
      name: me-activities
      description: REST surface for me-activities.
      operations:
      - method: GET
        name: melistactivities
        description: Microsoft Graph Get user activities
        call: me-me-useractivity.melistactivities
        with:
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: mecreateactivities
        description: Microsoft Graph Create new navigation property to activities for me
        call: me-me-useractivity.mecreateactivities
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/me/activities/count
      name: me-activities-count
      description: REST surface for me-activities-$count.
      operations:
      - method: GET
        name: meactivitiesgetcount65ad
        description: Microsoft Graph Get the number of the resource
        call: me-me-useractivity.meactivitiesgetcount65ad
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/me/activities/recent
      name: me-activities-recent
      description: REST surface for me-activities-recent().
      operations:
      - method: GET
        name: meactivitiesrecent
        description: Microsoft Graph Invoke function recent
        call: me-me-useractivity.meactivitiesrecent
        with:
          $select: rest.$select
          $orderby: rest.$orderby
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/me/activities/{useractivity-id}
      name: me-activities-useractivity-id
      description: REST surface for me-activities-userActivity-id.
      operations:
      - method: GET
        name: megetactivities
        description: Microsoft Graph Get activities from me
        call: me-me-useractivity.megetactivities
        with:
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: meupdateactivities
        description: Microsoft Graph Update the navigation property activities in me
        call: me-me-useractivity.meupdateactivities
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: medeleteactivities
        description: Microsoft Graph Delete an activity
        call: me-me-useractivity.medeleteactivities
        with:
          If-Match: rest.If-Match
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/me/activities/{useractivity-id}/historyitems
      name: me-activities-useractivity-id-historyitems
      description: REST surface for me-activities-userActivity-id-historyItems.
      operations:
      - method: GET
        name: meactivitieslisthistoryitems
        description: Microsoft Graph Get historyItems from me
        call: me-me-useractivity.meactivitieslisthistoryitems
        with:
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: meactivitiescreatehistoryitems
        description: Microsoft Graph Create new navigation property to historyItems for me
        call: me-me-useractivity.meactivitiescreatehistoryitems
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/me/activities/{useractivity-id}/historyitems/count
      name: me-activities-useractivity-id-historyitems-count
      description: REST surface for me-activities-userActivity-id-historyItems-$count.
      operations:
      - method: GET
        name: meactivitieshistoryitemsgetcountb80d
        description: Microsoft Graph Get the number of the resource
        call: me-me-useractivity.meactivitieshistoryitemsgetcountb80d
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/me/activities/{useractivity-id}/historyitems/{activityhistoryitem-id}
      name: me-activities-useractivity-id-historyitems-activityhistoryitem-id
      description: REST surface for me-activities-userActivity-id-historyItems-activityHistoryItem-id.
      operations:
      - method: GET
        name: meactivitiesgethistoryitems
        description: Microsoft Graph Get historyItems from me
        call: me-me-useractivity.meactivitiesgethistoryitems
        with:
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: meactivitiesupdatehistoryitems
        description: Microsoft Graph Delete an activityHistoryItem
        call: me-me-useractivity.meactivitiesupdatehistoryitems
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: meactivitiesdeletehistoryitems
        description: Microsoft Graph Delete navigation property historyItems for me
        call: me-me-useractivity.meactivitiesdeletehistoryitems
        with:
          If-Match: rest.If-Match
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/me/activities/{useractivity-id}/historyitems/{activityhistoryitem-id}/activity
      name: me-activities-useractivity-id-historyitems-activityhistoryitem-id-activity
      description: REST surface for me-activities-userActivity-id-historyItems-activityHistoryItem-id-activity.
      operations:
      - method: GET
        name: meactivitieshistoryitemsgetactivity
        description: Microsoft Graph Get activity from me
        call: me-me-useractivity.meactivitieshistoryitemsgetactivity
        with:
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: me-me-useractivity-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Graph Me — me.userActivity. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: microsoft-graph-get-user-activities
      description: Microsoft Graph Get user activities
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: me-me-useractivity.melistactivities
      with:
        $orderby: tools.$orderby
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-create-new-navigation
      description: Microsoft Graph Create new navigation property to activities for me
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: me-me-useractivity.mecreateactivities
      with:
        body: tools.body
      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: me-me-useractivity.meactivitiesgetcount65ad
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-invoke-function-recent
      description: Microsoft Graph Invoke function recent
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: me-me-useractivity.meactivitiesrecent
      with:
        $select: tools.$select
        $orderby: tools.$orderby
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-activities-me
      description: Microsoft Graph Get activities from me
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: me-me-useractivity.megetactivities
      with:
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-update-navigation-property
      description: Microsoft Graph Update the navigation property activities in me
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: me-me-useractivity.meupdateactivities
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-delete-activity
      description: Microsoft Graph Delete an activity
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: me-me-useractivity.medeleteactivities
      with:
        If-Match: tools.If-Match
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-historyitems-me
      description: Microsoft Graph Get historyItems from me
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: me-me-useractivity.meactivitieslisthistoryitems
      with:
        $orderby: tools.$orderby
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-create-new-navigation-2
      description: Microsoft Graph Create new navigation property to historyItems for me
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: me-me-useractivity.meactivitiescreatehistoryitems
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-number-resource-2
      description: Microsoft Graph Get the number of the resource
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: me-me-useractivity.meactivitieshistoryitemsgetcountb80d
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-historyitems-me-2
      description: Microsoft Graph Get historyItems from me
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: me-me-useractivity.meactivitiesgethistoryitems
      with:
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-delete-activityhistoryitem
      description: Microsoft Graph Delete an activityHistoryItem
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: me-me-useractivity.meactivitiesupdatehistoryitems
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-delete-navigation-property
      description: Microsoft Graph Delete navigation property historyItems for me
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: me-me-useractivity.meactivitiesdeletehistoryitems
      with:
        If-Match: tools.If-Match
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-activity-me
      description: Microsoft Graph Get activity from me
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: me-me-useractivity.meactivitieshistoryitemsgetactivity
      with:
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.