naftiko: 1.0.0-alpha2 info: label: Treasury Fiscal Data API — Exchange Rates description: 'Treasury Fiscal Data API — Exchange Rates. 1 operations. Lead operation: Treasury Reporting Rates of Exchange. Self-contained Naftiko capability covering one Department Of The Treasury business surface.' tags: - Department Of The Treasury - Exchange Rates created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: DEPARTMENT_OF_THE_TREASURY_API_KEY: DEPARTMENT_OF_THE_TREASURY_API_KEY capability: consumes: - type: http namespace: fiscal-data-exchange-rates baseUri: https://api.fiscaldata.treasury.gov/services/api/fiscal_service description: Treasury Fiscal Data API — Exchange Rates business capability. Self-contained, no shared references. resources: - name: v1-accounting-od-rates_of_exchange path: /v1/accounting/od/rates_of_exchange operations: - name: getratesofexchange method: GET description: Treasury Reporting Rates of Exchange outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: fiscal-data-exchange-rates-rest port: 8080 description: REST adapter for Treasury Fiscal Data API — Exchange Rates. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/accounting/od/rates-of-exchange name: v1-accounting-od-rates-of-exchange description: REST surface for v1-accounting-od-rates_of_exchange. operations: - method: GET name: getratesofexchange description: Treasury Reporting Rates of Exchange call: fiscal-data-exchange-rates.getratesofexchange outputParameters: - type: object mapping: $. - type: mcp namespace: fiscal-data-exchange-rates-mcp port: 9090 transport: http description: MCP adapter for Treasury Fiscal Data API — Exchange Rates. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: treasury-reporting-rates-exchange description: Treasury Reporting Rates of Exchange hints: readOnly: true destructive: false idempotent: true call: fiscal-data-exchange-rates.getratesofexchange outputParameters: - type: object mapping: $.