Microsoft Graph · Capability

Microsoft Graph Sites — Sites.permission

Microsoft Graph Sites — Sites.permission. 9 operations. Lead operation: Microsoft Graph Get permissions from sites. Self-contained Naftiko capability covering one Microsoft Graph business surface.

Run with Naftiko Microsoft GraphSites.permission

What You Can Do

GET
Sitesgetbypathlistpermissions — Microsoft Graph Get permissions from sites
/v1/sites/{site-id}/getbypath-path-path/permissions
POST
Sitesgetbypathcreatepermissions — Microsoft Graph Create new navigation property to permissions for sites
/v1/sites/{site-id}/getbypath-path-path/permissions
GET
Siteslistpermissions — Microsoft Graph List permissions
/v1/sites/{site-id}/permissions
POST
Sitescreatepermissions — Microsoft Graph Create permission
/v1/sites/{site-id}/permissions
GET
Sitespermissionsgetcount511e — Microsoft Graph Get the number of the resource
/v1/sites/{site-id}/permissions/count
GET
Sitesgetpermissions — Microsoft Graph Get permission
/v1/sites/{site-id}/permissions/{permission-id}
PATCH
Sitesupdatepermissions — Microsoft Graph Update permission
/v1/sites/{site-id}/permissions/{permission-id}
DELETE
Sitesdeletepermissions — Microsoft Graph Delete permission
/v1/sites/{site-id}/permissions/{permission-id}
POST
Sitessitepermissionspermissiongrant — Microsoft Graph Invoke action grant
/v1/sites/{site-id}/permissions/{permission-id}/grant

MCP Tools

microsoft-graph-get-permissions-sites

Microsoft Graph Get permissions from sites

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

Microsoft Graph Create new navigation property to permissions for sites

microsoft-graph-list-permissions

Microsoft Graph List permissions

read-only idempotent
microsoft-graph-create-permission

Microsoft Graph Create permission

microsoft-graph-get-number-resource

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-permission

Microsoft Graph Get permission

read-only idempotent
microsoft-graph-update-permission

Microsoft Graph Update permission

idempotent
microsoft-graph-delete-permission

Microsoft Graph Delete permission

idempotent
microsoft-graph-invoke-action-grant

Microsoft Graph Invoke action grant

Capability Spec

sites-sites-permission.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Graph Sites — Sites.permission
  description: 'Microsoft Graph Sites — Sites.permission. 9 operations. Lead operation: Microsoft Graph Get permissions from
    sites. Self-contained Naftiko capability covering one Microsoft Graph business surface.'
  tags:
  - Microsoft Graph
  - Sites.permission
  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: sites-sites-permission
    baseUri: ''
    description: Microsoft Graph Sites — Sites.permission business capability. Self-contained, no shared references.
    resources:
    - name: sites-site-id-getByPath(path='{path}')-permissions
      path: /sites/{site-id}/getByPath(path='{path}')/permissions
      operations:
      - name: sitesgetbypathlistpermissions
        method: GET
        description: Microsoft Graph Get permissions from sites
        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: sitesgetbypathcreatepermissions
        method: POST
        description: Microsoft Graph Create new navigation property to permissions for sites
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: sites-site-id-permissions
      path: /sites/{site-id}/permissions
      operations:
      - name: siteslistpermissions
        method: GET
        description: Microsoft Graph List permissions
        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: sitescreatepermissions
        method: POST
        description: Microsoft Graph Create permission
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: sites-site-id-permissions-$count
      path: /sites/{site-id}/permissions/$count
      operations:
      - name: sitespermissionsgetcount511e
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: sites-site-id-permissions-permission-id
      path: /sites/{site-id}/permissions/{permission-id}
      operations:
      - name: sitesgetpermissions
        method: GET
        description: Microsoft Graph Get permission
        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: sitesupdatepermissions
        method: PATCH
        description: Microsoft Graph Update permission
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: sitesdeletepermissions
        method: DELETE
        description: Microsoft Graph Delete permission
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: If-Match
          in: header
          type: string
          description: ETag
    - name: sites-site-id-permissions-permission-id-grant
      path: /sites/{site-id}/permissions/{permission-id}/grant
      operations:
      - name: sitessitepermissionspermissiongrant
        method: POST
        description: Microsoft Graph Invoke action grant
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
  exposes:
  - type: rest
    namespace: sites-sites-permission-rest
    port: 8080
    description: REST adapter for Microsoft Graph Sites — Sites.permission. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/sites/{site-id}/getbypath-path-path/permissions
      name: sites-site-id-getbypath-path-path-permissions
      description: REST surface for sites-site-id-getByPath(path='{path}')-permissions.
      operations:
      - method: GET
        name: sitesgetbypathlistpermissions
        description: Microsoft Graph Get permissions from sites
        call: sites-sites-permission.sitesgetbypathlistpermissions
        with:
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: sitesgetbypathcreatepermissions
        description: Microsoft Graph Create new navigation property to permissions for sites
        call: sites-sites-permission.sitesgetbypathcreatepermissions
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/permissions
      name: sites-site-id-permissions
      description: REST surface for sites-site-id-permissions.
      operations:
      - method: GET
        name: siteslistpermissions
        description: Microsoft Graph List permissions
        call: sites-sites-permission.siteslistpermissions
        with:
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: sitescreatepermissions
        description: Microsoft Graph Create permission
        call: sites-sites-permission.sitescreatepermissions
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/permissions/count
      name: sites-site-id-permissions-count
      description: REST surface for sites-site-id-permissions-$count.
      operations:
      - method: GET
        name: sitespermissionsgetcount511e
        description: Microsoft Graph Get the number of the resource
        call: sites-sites-permission.sitespermissionsgetcount511e
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/permissions/{permission-id}
      name: sites-site-id-permissions-permission-id
      description: REST surface for sites-site-id-permissions-permission-id.
      operations:
      - method: GET
        name: sitesgetpermissions
        description: Microsoft Graph Get permission
        call: sites-sites-permission.sitesgetpermissions
        with:
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: sitesupdatepermissions
        description: Microsoft Graph Update permission
        call: sites-sites-permission.sitesupdatepermissions
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: sitesdeletepermissions
        description: Microsoft Graph Delete permission
        call: sites-sites-permission.sitesdeletepermissions
        with:
          If-Match: rest.If-Match
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/permissions/{permission-id}/grant
      name: sites-site-id-permissions-permission-id-grant
      description: REST surface for sites-site-id-permissions-permission-id-grant.
      operations:
      - method: POST
        name: sitessitepermissionspermissiongrant
        description: Microsoft Graph Invoke action grant
        call: sites-sites-permission.sitessitepermissionspermissiongrant
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: sites-sites-permission-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Graph Sites — Sites.permission. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: microsoft-graph-get-permissions-sites
      description: Microsoft Graph Get permissions from sites
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sites-sites-permission.sitesgetbypathlistpermissions
      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 permissions for sites
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: sites-sites-permission.sitesgetbypathcreatepermissions
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-list-permissions
      description: Microsoft Graph List permissions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sites-sites-permission.siteslistpermissions
      with:
        $orderby: tools.$orderby
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-create-permission
      description: Microsoft Graph Create permission
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: sites-sites-permission.sitescreatepermissions
      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: sites-sites-permission.sitespermissionsgetcount511e
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-permission
      description: Microsoft Graph Get permission
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sites-sites-permission.sitesgetpermissions
      with:
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-update-permission
      description: Microsoft Graph Update permission
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: sites-sites-permission.sitesupdatepermissions
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-delete-permission
      description: Microsoft Graph Delete permission
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: sites-sites-permission.sitesdeletepermissions
      with:
        If-Match: tools.If-Match
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-invoke-action-grant
      description: Microsoft Graph Invoke action grant
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: sites-sites-permission.sitessitepermissionspermissiongrant
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.