Microsoft · Capability

Microsoft Azure REST API — Subscriptions

Microsoft Azure REST API — Subscriptions. 2 operations. Lead operation: Microsoft List subscriptions. Self-contained Naftiko capability covering one Microsoft business surface.

Run with Naftiko MicrosoftSubscriptions

What You Can Do

GET
Listsubscriptions — Microsoft List subscriptions
/v1/subscriptions
GET
Getsubscription — Microsoft Get a subscription
/v1/subscriptions/{subscriptionid}

MCP Tools

microsoft-list-subscriptions

Microsoft List subscriptions

read-only idempotent
microsoft-get-subscription

Microsoft Get a subscription

read-only idempotent

Capability Spec

azure-rest-subscriptions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure REST API — Subscriptions
  description: 'Microsoft Azure REST API — Subscriptions. 2 operations. Lead operation: Microsoft List subscriptions. Self-contained
    Naftiko capability covering one Microsoft business surface.'
  tags:
  - Microsoft
  - Subscriptions
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_API_KEY: MICROSOFT_API_KEY
capability:
  consumes:
  - type: http
    namespace: azure-rest-subscriptions
    baseUri: https://management.azure.com
    description: Microsoft Azure REST API — Subscriptions business capability. Self-contained, no shared references.
    resources:
    - name: subscriptions
      path: /subscriptions
      operations:
      - name: listsubscriptions
        method: GET
        description: Microsoft List subscriptions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: subscriptions-subscriptionId
      path: /subscriptions/{subscriptionId}
      operations:
      - name: getsubscription
        method: GET
        description: Microsoft Get a subscription
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.MICROSOFT_API_KEY}}'
  exposes:
  - type: rest
    namespace: azure-rest-subscriptions-rest
    port: 8080
    description: REST adapter for Microsoft Azure REST API — Subscriptions. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/subscriptions
      name: subscriptions
      description: REST surface for subscriptions.
      operations:
      - method: GET
        name: listsubscriptions
        description: Microsoft List subscriptions
        call: azure-rest-subscriptions.listsubscriptions
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}
      name: subscriptions-subscriptionid
      description: REST surface for subscriptions-subscriptionId.
      operations:
      - method: GET
        name: getsubscription
        description: Microsoft Get a subscription
        call: azure-rest-subscriptions.getsubscription
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: azure-rest-subscriptions-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure REST API — Subscriptions. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: microsoft-list-subscriptions
      description: Microsoft List subscriptions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-rest-subscriptions.listsubscriptions
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-get-subscription
      description: Microsoft Get a subscription
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-rest-subscriptions.getsubscription
      outputParameters:
      - type: object
        mapping: $.