naftiko: 1.0.0-alpha2 info: label: CWMS Data API — Parameters description: 'CWMS Data API — Parameters. 2 operations. Lead operation: Get Parameters. Self-contained Naftiko capability covering one United States Army Corps Of Engineers business surface.' tags: - United States Army Corps Of Engineers - Parameters created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: UNITED_STATES_ARMY_CORPS_OF_ENGINEERS_API_KEY: UNITED_STATES_ARMY_CORPS_OF_ENGINEERS_API_KEY capability: consumes: - type: http namespace: cwms-data-parameters baseUri: https://cwms-data.usace.army.mil/cwms-data description: CWMS Data API — Parameters business capability. Self-contained, no shared references. resources: - name: parameters path: /parameters operations: - name: getparameters method: GET description: Get Parameters outputRawFormat: json outputParameters: - name: result type: object value: $. - name: units path: /units operations: - name: getunits method: GET description: Get Units outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: format in: query type: string description: Response format authentication: type: bearer token: '{{env.UNITED_STATES_ARMY_CORPS_OF_ENGINEERS_API_KEY}}' exposes: - type: rest namespace: cwms-data-parameters-rest port: 8080 description: REST adapter for CWMS Data API — Parameters. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/parameters name: parameters description: REST surface for parameters. operations: - method: GET name: getparameters description: Get Parameters call: cwms-data-parameters.getparameters outputParameters: - type: object mapping: $. - path: /v1/units name: units description: REST surface for units. operations: - method: GET name: getunits description: Get Units call: cwms-data-parameters.getunits with: format: rest.format outputParameters: - type: object mapping: $. - type: mcp namespace: cwms-data-parameters-mcp port: 9090 transport: http description: MCP adapter for CWMS Data API — Parameters. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-parameters description: Get Parameters hints: readOnly: true destructive: false idempotent: true call: cwms-data-parameters.getparameters outputParameters: - type: object mapping: $. - name: get-units description: Get Units hints: readOnly: true destructive: false idempotent: true call: cwms-data-parameters.getunits with: format: tools.format outputParameters: - type: object mapping: $.