naftiko: 1.0.0-alpha2 info: label: Azure SQL Database REST API — Servers description: 'Azure SQL Database REST API — Servers. 5 operations. Lead operation: List servers in subscription. Self-contained Naftiko capability covering one Microsoft Azure Sql Database business surface.' tags: - Microsoft Azure Sql Database - Servers created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_AZURE_SQL_DATABASE_API_KEY: MICROSOFT_AZURE_SQL_DATABASE_API_KEY capability: consumes: - type: http namespace: microsoft-azure-sql-database-servers baseUri: https://management.azure.com description: Azure SQL Database REST API — Servers business capability. Self-contained, no shared references. resources: - name: subscriptions-subscriptionId-providers-Microsoft.Sql-servers path: /subscriptions/{subscriptionId}/providers/Microsoft.Sql/servers operations: - name: listservers method: GET description: List servers in subscription outputRawFormat: json outputParameters: - name: result type: object value: $. - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers operations: - name: listserversbyresourcegroup method: GET description: List servers in resource group outputRawFormat: json outputParameters: - name: result type: object value: $. - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName} operations: - name: getserver method: GET description: Get server outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createorupdateserver method: PUT description: Create or update server outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteserver method: DELETE description: Delete server outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.MICROSOFT_AZURE_SQL_DATABASE_API_KEY}}' exposes: - type: rest namespace: microsoft-azure-sql-database-servers-rest port: 8080 description: REST adapter for Azure SQL Database REST API — Servers. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/subscriptions/{subscriptionid}/providers/microsoft-sql/servers name: subscriptions-subscriptionid-providers-microsoft-sql-servers description: REST surface for subscriptions-subscriptionId-providers-Microsoft.Sql-servers. operations: - method: GET name: listservers description: List servers in subscription call: microsoft-azure-sql-database-servers.listservers outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-sql/servers name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: GET name: listserversbyresourcegroup description: List servers in resource group call: microsoft-azure-sql-database-servers.listserversbyresourcegroup outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-sql/servers/{servername} name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: GET name: getserver description: Get server call: microsoft-azure-sql-database-servers.getserver outputParameters: - type: object mapping: $. - method: PUT name: createorupdateserver description: Create or update server call: microsoft-azure-sql-database-servers.createorupdateserver with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteserver description: Delete server call: microsoft-azure-sql-database-servers.deleteserver outputParameters: - type: object mapping: $. - type: mcp namespace: microsoft-azure-sql-database-servers-mcp port: 9090 transport: http description: MCP adapter for Azure SQL Database REST API — Servers. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-servers-subscription description: List servers in subscription hints: readOnly: true destructive: false idempotent: true call: microsoft-azure-sql-database-servers.listservers outputParameters: - type: object mapping: $. - name: list-servers-resource-group description: List servers in resource group hints: readOnly: true destructive: false idempotent: true call: microsoft-azure-sql-database-servers.listserversbyresourcegroup outputParameters: - type: object mapping: $. - name: get-server description: Get server hints: readOnly: true destructive: false idempotent: true call: microsoft-azure-sql-database-servers.getserver outputParameters: - type: object mapping: $. - name: create-update-server description: Create or update server hints: readOnly: false destructive: false idempotent: true call: microsoft-azure-sql-database-servers.createorupdateserver with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-server description: Delete server hints: readOnly: false destructive: true idempotent: true call: microsoft-azure-sql-database-servers.deleteserver outputParameters: - type: object mapping: $.