Microsoft Azure · Capability

Microsoft Azure Azure Migrate Discovery Service — MasterSitesController

Microsoft Azure Azure Migrate Discovery Service — MasterSitesController. 7 operations. Lead operation: Microsoft Azure Get All The Sites In The Subscription. Self-contained Naftiko capability covering one Microsoft Azure business surface.

Run with Naftiko Microsoft AzureMasterSitesController

What You Can Do

GET
Microsoftazuremastersitescontrollerlistbysubscription — Microsoft Azure Get All The Sites In The Subscription
/v1/subscriptions/{subscriptionid}/providers/microsoft-offazure/mastersites
GET
Microsoftazuremastersitescontrollerlistbyresourcegroup — Microsoft Azure Get All Sites
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-offazure/mastersites
GET
Microsoftazuremastersitescontrollerget — Microsoft Azure Method To Get A Master Site
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-offazure/mastersites/{sitename}
PUT
Microsoftazuremastersitescontrollercreate — Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Offazure Mastersites Sitename
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-offazure/mastersites/{sitename}
PATCH
Microsoftazuremastersitescontrollerupdate — Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Offazure Mastersites Sitename
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-offazure/mastersites/{sitename}
DELETE
Microsoftazuremastersitescontrollerdelete — Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Offazure Mastersites Sitename
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-offazure/mastersites/{sitename}
POST
Microsoftazuremastersitescontrollererrorsummary — Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Offazure Mastersites Sitename Errorsummary
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-offazure/mastersites/{sitename}/errorsummary

MCP Tools

microsoft-azure-get-all-sites

Microsoft Azure Get All The Sites In The Subscription

read-only idempotent
microsoft-azure-get-all-sites-2

Microsoft Azure Get All Sites

read-only idempotent
microsoft-azure-method-get-master

Microsoft Azure Method To Get A Master Site

read-only idempotent
microsoft-azure-put-subscriptions-subscriptionid

Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Offazure Mastersites Sitename

idempotent
microsoft-azure-patch-subscriptions-subscriptionid

Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Offazure Mastersites Sitename

idempotent
microsoft-azure-delete-subscriptions-subscriptionid

Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Offazure Mastersites Sitename

idempotent
microsoft-azure-post-subscriptions-subscriptionid

Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Offazure Mastersites Sitename Errorsummary

Capability Spec

azure-migrate-discovery-service-mastersitescontroller.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure Azure Migrate Discovery Service — MasterSitesController
  description: 'Microsoft Azure Azure Migrate Discovery Service — MasterSitesController. 7 operations. Lead operation: Microsoft
    Azure Get All The Sites In The Subscription. Self-contained Naftiko capability covering one Microsoft Azure business surface.'
  tags:
  - Microsoft Azure
  - MasterSitesController
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_AZURE_API_KEY: MICROSOFT_AZURE_API_KEY
capability:
  consumes:
  - type: http
    namespace: azure-migrate-discovery-service-mastersitescontroller
    baseUri: https://management.azure.com
    description: Microsoft Azure Azure Migrate Discovery Service — MasterSitesController business capability. Self-contained,
      no shared references.
    resources:
    - name: subscriptions-subscriptionId-providers-Microsoft.OffAzure-masterSites
      path: /subscriptions/{subscriptionId}/providers/Microsoft.OffAzure/masterSites
      operations:
      - name: microsoftazuremastersitescontrollerlistbysubscription
        method: GET
        description: Microsoft Azure Get All The Sites In The Subscription
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites
      operations:
      - name: microsoftazuremastersitescontrollerlistbyresourcegroup
        method: GET
        description: Microsoft Azure Get All Sites
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}
      operations:
      - name: microsoftazuremastersitescontrollerget
        method: GET
        description: Microsoft Azure Method To Get A Master Site
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: siteName
          in: path
          type: string
          description: Site name
          required: true
      - name: microsoftazuremastersitescontrollercreate
        method: PUT
        description: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Offazure Mastersites Sitename
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: siteName
          in: path
          type: string
          description: Site name
          required: true
        - name: body
          in: body
          type: string
          description: Resource create parameters.
          required: true
      - name: microsoftazuremastersitescontrollerupdate
        method: PATCH
        description: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Offazure Mastersites Sitename
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: siteName
          in: path
          type: string
          description: Site name
          required: true
        - name: properties
          in: body
          type: string
          description: The resource properties to be updated.
          required: true
      - name: microsoftazuremastersitescontrollerdelete
        method: DELETE
        description: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Offazure Mastersites Sitename
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: siteName
          in: path
          type: string
          description: Site name
          required: true
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/errorSummary
      operations:
      - name: microsoftazuremastersitescontrollererrorsummary
        method: POST
        description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Offazure Mastersites Sitename Errorsummary
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: siteName
          in: path
          type: string
          description: Site name
          required: true
        - name: body
          in: body
          type: string
          description: The content of the action request
          required: true
  exposes:
  - type: rest
    namespace: azure-migrate-discovery-service-mastersitescontroller-rest
    port: 8080
    description: REST adapter for Microsoft Azure Azure Migrate Discovery Service — MasterSitesController. One Spectral-compliant
      resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/subscriptions/{subscriptionid}/providers/microsoft-offazure/mastersites
      name: subscriptions-subscriptionid-providers-microsoft-offazure-mastersites
      description: REST surface for subscriptions-subscriptionId-providers-Microsoft.OffAzure-masterSites.
      operations:
      - method: GET
        name: microsoftazuremastersitescontrollerlistbysubscription
        description: Microsoft Azure Get All The Sites In The Subscription
        call: azure-migrate-discovery-service-mastersitescontroller.microsoftazuremastersitescontrollerlistbysubscription
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-offazure/mastersites
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: GET
        name: microsoftazuremastersitescontrollerlistbyresourcegroup
        description: Microsoft Azure Get All Sites
        call: azure-migrate-discovery-service-mastersitescontroller.microsoftazuremastersitescontrollerlistbyresourcegroup
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-offazure/mastersites/{sitename}
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: GET
        name: microsoftazuremastersitescontrollerget
        description: Microsoft Azure Method To Get A Master Site
        call: azure-migrate-discovery-service-mastersitescontroller.microsoftazuremastersitescontrollerget
        with:
          siteName: rest.siteName
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: microsoftazuremastersitescontrollercreate
        description: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Offazure Mastersites Sitename
        call: azure-migrate-discovery-service-mastersitescontroller.microsoftazuremastersitescontrollercreate
        with:
          siteName: rest.siteName
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: microsoftazuremastersitescontrollerupdate
        description: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Offazure Mastersites Sitename
        call: azure-migrate-discovery-service-mastersitescontroller.microsoftazuremastersitescontrollerupdate
        with:
          siteName: rest.siteName
          properties: rest.properties
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: microsoftazuremastersitescontrollerdelete
        description: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Offazure Mastersites Sitename
        call: azure-migrate-discovery-service-mastersitescontroller.microsoftazuremastersitescontrollerdelete
        with:
          siteName: rest.siteName
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-offazure/mastersites/{sitename}/errorsummary
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: POST
        name: microsoftazuremastersitescontrollererrorsummary
        description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Offazure Mastersites Sitename Errorsummary
        call: azure-migrate-discovery-service-mastersitescontroller.microsoftazuremastersitescontrollererrorsummary
        with:
          siteName: rest.siteName
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: azure-migrate-discovery-service-mastersitescontroller-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure Azure Migrate Discovery Service — MasterSitesController. One tool per consumed
      operation, routed inline through this capability's consumes block.
    tools:
    - name: microsoft-azure-get-all-sites
      description: Microsoft Azure Get All The Sites In The Subscription
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-migrate-discovery-service-mastersitescontroller.microsoftazuremastersitescontrollerlistbysubscription
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-get-all-sites-2
      description: Microsoft Azure Get All Sites
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-migrate-discovery-service-mastersitescontroller.microsoftazuremastersitescontrollerlistbyresourcegroup
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-method-get-master
      description: Microsoft Azure Method To Get A Master Site
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-migrate-discovery-service-mastersitescontroller.microsoftazuremastersitescontrollerget
      with:
        siteName: tools.siteName
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-put-subscriptions-subscriptionid
      description: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Offazure
        Mastersites Sitename
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: azure-migrate-discovery-service-mastersitescontroller.microsoftazuremastersitescontrollercreate
      with:
        siteName: tools.siteName
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-patch-subscriptions-subscriptionid
      description: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
        Offazure Mastersites Sitename
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: azure-migrate-discovery-service-mastersitescontroller.microsoftazuremastersitescontrollerupdate
      with:
        siteName: tools.siteName
        properties: tools.properties
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-delete-subscriptions-subscriptionid
      description: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
        Offazure Mastersites Sitename
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: azure-migrate-discovery-service-mastersitescontroller.microsoftazuremastersitescontrollerdelete
      with:
        siteName: tools.siteName
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-post-subscriptions-subscriptionid
      description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
        Offazure Mastersites Sitename Errorsummary
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: azure-migrate-discovery-service-mastersitescontroller.microsoftazuremastersitescontrollererrorsummary
      with:
        siteName: tools.siteName
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.