naftiko: 1.0.0-alpha2 info: label: S&P Global Commodity Insights API — Price Assessments description: 'S&P Global Commodity Insights API — Price Assessments. 2 operations. Lead operation: Get Historical Price Assessments. Self-contained Naftiko capability covering one Sandp Global business surface.' tags: - Sandp Global - Price Assessments created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SANDP_GLOBAL_API_KEY: SANDP_GLOBAL_API_KEY capability: consumes: - type: http namespace: commodity-insights-price-assessments baseUri: https://api.platts.com description: S&P Global Commodity Insights API — Price Assessments business capability. Self-contained, no shared references. resources: - name: v1-prices-history path: /v1/prices/history operations: - name: getpricehistory method: GET description: Get Historical Price Assessments outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: symbol in: query type: string description: Comma-separated list of Platts symbol codes required: true - name: startDate in: query type: string description: Start date (YYYY-MM-DD) required: true - name: endDate in: query type: string description: End date (YYYY-MM-DD) required: true - name: pageSize in: query type: integer description: Number of records per page - name: page in: query type: integer description: Page number for pagination - name: v1-prices-latest path: /v1/prices/latest operations: - name: getlatestprices method: GET description: Get Latest Price Assessments outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: symbol in: query type: string description: Comma-separated list of Platts symbol codes (e.g., PCAAS00,AAQZB00) required: true - name: access in: query type: string description: Access type filter authentication: type: bearer token: '{{env.SANDP_GLOBAL_API_KEY}}' exposes: - type: rest namespace: commodity-insights-price-assessments-rest port: 8080 description: REST adapter for S&P Global Commodity Insights API — Price Assessments. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/prices/history name: v1-prices-history description: REST surface for v1-prices-history. operations: - method: GET name: getpricehistory description: Get Historical Price Assessments call: commodity-insights-price-assessments.getpricehistory with: symbol: rest.symbol startDate: rest.startDate endDate: rest.endDate pageSize: rest.pageSize page: rest.page outputParameters: - type: object mapping: $. - path: /v1/v1/prices/latest name: v1-prices-latest description: REST surface for v1-prices-latest. operations: - method: GET name: getlatestprices description: Get Latest Price Assessments call: commodity-insights-price-assessments.getlatestprices with: symbol: rest.symbol access: rest.access outputParameters: - type: object mapping: $. - type: mcp namespace: commodity-insights-price-assessments-mcp port: 9090 transport: http description: MCP adapter for S&P Global Commodity Insights API — Price Assessments. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-historical-price-assessments description: Get Historical Price Assessments hints: readOnly: true destructive: false idempotent: true call: commodity-insights-price-assessments.getpricehistory with: symbol: tools.symbol startDate: tools.startDate endDate: tools.endDate pageSize: tools.pageSize page: tools.page outputParameters: - type: object mapping: $. - name: get-latest-price-assessments description: Get Latest Price Assessments hints: readOnly: true destructive: false idempotent: true call: commodity-insights-price-assessments.getlatestprices with: symbol: tools.symbol access: tools.access outputParameters: - type: object mapping: $.