naftiko: 1.0.0-alpha2 info: label: Saasment API — Alerts description: 'Saasment API — Alerts. 1 operations. Lead operation: List Security Alerts. Self-contained Naftiko capability covering one Saasment business surface.' tags: - Saasment - Alerts created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SAASMENT_API_KEY: SAASMENT_API_KEY capability: consumes: - type: http namespace: saasment-alerts baseUri: https://api.saasment.com/v1 description: Saasment API — Alerts business capability. Self-contained, no shared references. resources: - name: alerts path: /alerts operations: - name: listalerts method: GET description: List Security Alerts outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: severity in: query type: string - name: status in: query type: string - name: page in: query type: integer authentication: type: bearer token: '{{env.SAASMENT_API_KEY}}' exposes: - type: rest namespace: saasment-alerts-rest port: 8080 description: REST adapter for Saasment API — Alerts. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/alerts name: alerts description: REST surface for alerts. operations: - method: GET name: listalerts description: List Security Alerts call: saasment-alerts.listalerts with: severity: rest.severity status: rest.status page: rest.page outputParameters: - type: object mapping: $. - type: mcp namespace: saasment-alerts-mcp port: 9090 transport: http description: MCP adapter for Saasment API — Alerts. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-security-alerts description: List Security Alerts hints: readOnly: true destructive: false idempotent: true call: saasment-alerts.listalerts with: severity: tools.severity status: tools.status page: tools.page outputParameters: - type: object mapping: $.