naftiko: 1.0.0-alpha2 info: label: Moody's Data Buffet API — Search description: 'Moody''s Data Buffet API — Search. 1 operations. Lead operation: Moody''s Search for Available Series. Self-contained Naftiko capability covering one Moodys business surface.' tags: - Moodys - Search created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MOODYS_API_KEY: MOODYS_API_KEY capability: consumes: - type: http namespace: data-buffet-search baseUri: https://api.economy.com/data/v1 description: Moody's Data Buffet API — Search business capability. Self-contained, no shared references. resources: - name: search path: /search operations: - name: searchseries method: GET description: Moody's Search for Available Series outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: query in: query type: string description: Search query string to match against series names, descriptions, mnemonics, and metadata. required: true - name: geography in: query type: string description: Filter results by geographic area code (e.g., US for United States, GB for United Kingdom, CN for China). - name: source in: query type: string description: Filter results by data source identifier (e.g., BLS, BEA, IMF, Eurostat). - name: category in: query type: string description: Filter results by data category (e.g., GDP, Employment, Inflation, Housing). - name: offset in: query type: integer description: The number of results to skip for pagination. - name: limit in: query type: integer description: The maximum number of results to return per page. authentication: type: bearer token: '{{env.MOODYS_API_KEY}}' exposes: - type: rest namespace: data-buffet-search-rest port: 8080 description: REST adapter for Moody's Data Buffet API — Search. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/search name: search description: REST surface for search. operations: - method: GET name: searchseries description: Moody's Search for Available Series call: data-buffet-search.searchseries with: query: rest.query geography: rest.geography source: rest.source category: rest.category offset: rest.offset limit: rest.limit outputParameters: - type: object mapping: $. - type: mcp namespace: data-buffet-search-mcp port: 9090 transport: http description: MCP adapter for Moody's Data Buffet API — Search. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: moody-s-search-available-series description: Moody's Search for Available Series hints: readOnly: true destructive: false idempotent: true call: data-buffet-search.searchseries with: query: tools.query geography: tools.geography source: tools.source category: tools.category offset: tools.offset limit: tools.limit outputParameters: - type: object mapping: $.