naftiko: 1.0.0-alpha2 info: label: USADF Grants Data API — Agency description: 'USADF Grants Data API — Agency. 1 operations. Lead operation: USADF Get Agency Award Summary. Self-contained Naftiko capability covering one Us African Development Foundation business surface.' tags: - Us African Development Foundation - Agency created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: US_AFRICAN_DEVELOPMENT_FOUNDATION_API_KEY: US_AFRICAN_DEVELOPMENT_FOUNDATION_API_KEY capability: consumes: - type: http namespace: usadf-grants-agency baseUri: https://api.usaspending.gov description: USADF Grants Data API — Agency business capability. Self-contained, no shared references. resources: - name: api-v2-agency-166-awards path: /api/v2/agency/166/awards/ operations: - name: getagencyawards method: GET description: USADF Get Agency Award Summary outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fiscal_year in: query type: integer description: Fiscal year for the summary required: true - name: award_type_codes in: query type: string description: Comma-separated award type codes (02=Block Grant, 03=Formula Grant, 04=Project Grant) exposes: - type: rest namespace: usadf-grants-agency-rest port: 8080 description: REST adapter for USADF Grants Data API — Agency. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v2/agency/166/awards name: api-v2-agency-166-awards description: REST surface for api-v2-agency-166-awards. operations: - method: GET name: getagencyawards description: USADF Get Agency Award Summary call: usadf-grants-agency.getagencyawards with: fiscal_year: rest.fiscal_year award_type_codes: rest.award_type_codes outputParameters: - type: object mapping: $. - type: mcp namespace: usadf-grants-agency-mcp port: 9090 transport: http description: MCP adapter for USADF Grants Data API — Agency. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: usadf-get-agency-award-summary description: USADF Get Agency Award Summary hints: readOnly: true destructive: false idempotent: true call: usadf-grants-agency.getagencyawards with: fiscal_year: tools.fiscal_year award_type_codes: tools.award_type_codes outputParameters: - type: object mapping: $.