naftiko: 1.0.0-alpha2 info: label: Treasury Fiscal Data API — Debt description: 'Treasury Fiscal Data API — Debt. 1 operations. Lead operation: Debt to the Penny. Self-contained Naftiko capability covering one Department Of The Treasury business surface.' tags: - Department Of The Treasury - Debt 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-debt baseUri: https://api.fiscaldata.treasury.gov/services/api/fiscal_service description: Treasury Fiscal Data API — Debt business capability. Self-contained, no shared references. resources: - name: v2-accounting-od-debt_to_penny path: /v2/accounting/od/debt_to_penny operations: - name: getdebttopenny method: GET description: Debt to the Penny outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: fiscal-data-debt-rest port: 8080 description: REST adapter for Treasury Fiscal Data API — Debt. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v2/accounting/od/debt-to-penny name: v2-accounting-od-debt-to-penny description: REST surface for v2-accounting-od-debt_to_penny. operations: - method: GET name: getdebttopenny description: Debt to the Penny call: fiscal-data-debt.getdebttopenny outputParameters: - type: object mapping: $. - type: mcp namespace: fiscal-data-debt-mcp port: 9090 transport: http description: MCP adapter for Treasury Fiscal Data API — Debt. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: debt-penny description: Debt to the Penny hints: readOnly: true destructive: false idempotent: true call: fiscal-data-debt.getdebttopenny outputParameters: - type: object mapping: $.