naftiko: 1.0.0-alpha2 info: label: Wine-Searcher API — wine-check description: 'Wine-Searcher API — wine-check. 1 operations. Lead operation: Get Wine Check Data. Self-contained Naftiko capability covering one Wine Searcher business surface.' tags: - Wine Searcher - wine-check created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: WINE_SEARCHER_API_KEY: WINE_SEARCHER_API_KEY capability: consumes: - type: http namespace: wine-searcher-wine-check baseUri: https://www.wine-searcher.com/ws_api.php description: Wine-Searcher API — wine-check business capability. Self-contained, no shared references. resources: - name: wine-check path: /wine-check operations: - name: getwinecheck method: GET description: Get Wine Check Data outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: api_key in: query type: string description: Your Wine-Searcher API key required: true - name: winename in: query type: string description: Name of the wine to look up (URL-encoded, e.g., haut+brion) required: true - name: vintage in: query type: string description: Wine vintage year (4-digit year or 'NV' for non-vintage) - name: currencycode in: query type: string description: 'ISO 4217 currency code for price results (default: USD)' - name: location in: query type: string description: Filter results by country code (e.g., USA, GBR) - name: state in: query type: string description: Filter results by US state code (e.g., CA, NY) - name: offer_type in: query type: string description: Filter by offer type (R=retail, A=auction, B=both) - name: format in: query type: string description: Response format (json or xml, default is xml) exposes: - type: rest namespace: wine-searcher-wine-check-rest port: 8080 description: REST adapter for Wine-Searcher API — wine-check. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/wine-check name: wine-check description: REST surface for wine-check. operations: - method: GET name: getwinecheck description: Get Wine Check Data call: wine-searcher-wine-check.getwinecheck with: api_key: rest.api_key winename: rest.winename vintage: rest.vintage currencycode: rest.currencycode location: rest.location state: rest.state offer_type: rest.offer_type format: rest.format outputParameters: - type: object mapping: $. - type: mcp namespace: wine-searcher-wine-check-mcp port: 9090 transport: http description: MCP adapter for Wine-Searcher API — wine-check. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-wine-check-data description: Get Wine Check Data hints: readOnly: true destructive: false idempotent: true call: wine-searcher-wine-check.getwinecheck with: api_key: tools.api_key winename: tools.winename vintage: tools.vintage currencycode: tools.currencycode location: tools.location state: tools.state offer_type: tools.offer_type format: tools.format outputParameters: - type: object mapping: $.