naftiko: 1.0.0-alpha2 info: label: Sigma-Aldrich Product Search API — Products description: 'Sigma-Aldrich Product Search API — Products. 3 operations. Lead operation: Get Product by CAS Number. Self-contained Naftiko capability covering one Sigma Aldrich business surface.' tags: - Sigma Aldrich - Products created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SIGMA_ALDRICH_API_KEY: SIGMA_ALDRICH_API_KEY capability: consumes: - type: http namespace: product-products baseUri: https://api.sigmaaldrich.com/v1 description: Sigma-Aldrich Product Search API — Products business capability. Self-contained, no shared references. resources: - name: products-cas-casNumber path: /products/cas/{casNumber} operations: - name: getproductbycas method: GET description: Get Product by CAS Number outputRawFormat: json outputParameters: - name: result type: object value: $. - name: products-search path: /products/search operations: - name: searchproducts method: GET description: Search Products outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: q in: query type: string description: Search query (product name, catalog number, CAS number, or formula) required: true - name: page in: query type: integer description: Page number for pagination - name: pageSize in: query type: integer description: Number of results per page - name: brand in: query type: string description: Filter by brand (e.g., Sigma, Aldrich, Fluka, Supelco) - name: type in: query type: string description: Filter by product type - name: products-catalogNumber path: /products/{catalogNumber} operations: - name: getproduct method: GET description: Get Product by Catalog Number outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: x-api-key value: '{{env.SIGMA_ALDRICH_API_KEY}}' placement: header exposes: - type: rest namespace: product-products-rest port: 8080 description: REST adapter for Sigma-Aldrich Product Search API — Products. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/products/cas/{casnumber} name: products-cas-casnumber description: REST surface for products-cas-casNumber. operations: - method: GET name: getproductbycas description: Get Product by CAS Number call: product-products.getproductbycas outputParameters: - type: object mapping: $. - path: /v1/products/search name: products-search description: REST surface for products-search. operations: - method: GET name: searchproducts description: Search Products call: product-products.searchproducts with: q: rest.q page: rest.page pageSize: rest.pageSize brand: rest.brand type: rest.type outputParameters: - type: object mapping: $. - path: /v1/products/{catalognumber} name: products-catalognumber description: REST surface for products-catalogNumber. operations: - method: GET name: getproduct description: Get Product by Catalog Number call: product-products.getproduct outputParameters: - type: object mapping: $. - type: mcp namespace: product-products-mcp port: 9090 transport: http description: MCP adapter for Sigma-Aldrich Product Search API — Products. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-product-cas-number description: Get Product by CAS Number hints: readOnly: true destructive: false idempotent: true call: product-products.getproductbycas outputParameters: - type: object mapping: $. - name: search-products description: Search Products hints: readOnly: true destructive: false idempotent: true call: product-products.searchproducts with: q: tools.q page: tools.page pageSize: tools.pageSize brand: tools.brand type: tools.type outputParameters: - type: object mapping: $. - name: get-product-catalog-number description: Get Product by Catalog Number hints: readOnly: true destructive: false idempotent: true call: product-products.getproduct outputParameters: - type: object mapping: $.