naftiko: 1.0.0-alpha2 info: label: Treasury Fiscal Data API — Securities description: 'Treasury Fiscal Data API — Securities. 2 operations. Lead operation: Treasury Fiscal Data Get Monthly Statement of the Public Debt. Self-contained Naftiko capability covering one U S Treasury Fiscal Data business surface.' tags: - U S Treasury Fiscal Data - Securities created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: U_S_TREASURY_FISCAL_DATA_API_KEY: U_S_TREASURY_FISCAL_DATA_API_KEY capability: consumes: - type: http namespace: treasury-fiscal-data-securities baseUri: https://api.fiscaldata.treasury.gov/services/api/fiscal_service description: Treasury Fiscal Data API — Securities business capability. Self-contained, no shared references. resources: - name: v1-accounting-od-mspd_table_1 path: /v1/accounting/od/mspd_table_1 operations: - name: getpublicdebtbysecuritytype method: GET description: Treasury Fiscal Data Get Monthly Statement of the Public Debt outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v1-accounting-od-redemption_tables path: /v1/accounting/od/redemption_tables operations: - name: getsavingsbondredemptiontables method: GET description: Treasury Fiscal Data Get Savings Bond Redemption Tables outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: treasury-fiscal-data-securities-rest port: 8080 description: REST adapter for Treasury Fiscal Data API — Securities. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/accounting/od/mspd-table-1 name: v1-accounting-od-mspd-table-1 description: REST surface for v1-accounting-od-mspd_table_1. operations: - method: GET name: getpublicdebtbysecuritytype description: Treasury Fiscal Data Get Monthly Statement of the Public Debt call: treasury-fiscal-data-securities.getpublicdebtbysecuritytype outputParameters: - type: object mapping: $. - path: /v1/v1/accounting/od/redemption-tables name: v1-accounting-od-redemption-tables description: REST surface for v1-accounting-od-redemption_tables. operations: - method: GET name: getsavingsbondredemptiontables description: Treasury Fiscal Data Get Savings Bond Redemption Tables call: treasury-fiscal-data-securities.getsavingsbondredemptiontables outputParameters: - type: object mapping: $. - type: mcp namespace: treasury-fiscal-data-securities-mcp port: 9090 transport: http description: MCP adapter for Treasury Fiscal Data API — Securities. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: treasury-fiscal-data-get-monthly description: Treasury Fiscal Data Get Monthly Statement of the Public Debt hints: readOnly: true destructive: false idempotent: true call: treasury-fiscal-data-securities.getpublicdebtbysecuritytype outputParameters: - type: object mapping: $. - name: treasury-fiscal-data-get-savings description: Treasury Fiscal Data Get Savings Bond Redemption Tables hints: readOnly: true destructive: false idempotent: true call: treasury-fiscal-data-securities.getsavingsbondredemptiontables outputParameters: - type: object mapping: $.