naftiko: 1.0.0-alpha2 info: label: USACE Corps Water Management System Data API — Levels description: 'USACE Corps Water Management System Data API — Levels. 2 operations. Lead operation: Get Location Levels. Self-contained Naftiko capability covering one Us Department Of Defense business surface.' tags: - Us Department Of Defense - Levels created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: US_DEPARTMENT_OF_DEFENSE_API_KEY: US_DEPARTMENT_OF_DEFENSE_API_KEY capability: consumes: - type: http namespace: usace-cwms-data-levels baseUri: https://cwms-data.usace.army.mil/cwms-data/api/latest description: USACE Corps Water Management System Data API — Levels business capability. Self-contained, no shared references. resources: - name: levels path: /levels operations: - name: getlevels method: GET description: Get Location Levels outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: office in: query type: string description: USACE district office ID - name: location-id in: query type: string description: CWMS location identifier - name: parameter-id in: query type: string description: Parameter identifier (e.g., Stage, Elev) - name: unit in: query type: string description: Unit system for output values - name: begin in: query type: string description: Start of time window - name: end in: query type: string description: End of time window - name: pools path: /pools operations: - name: getpools method: GET description: Get Reservoir Pools outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: office in: query type: string description: USACE district office ID - name: project-id-mask in: query type: string description: Pattern mask to filter project IDs - name: name-mask in: query type: string description: Pattern mask to filter pool names - name: unit in: query type: string description: Unit system for output values exposes: - type: rest namespace: usace-cwms-data-levels-rest port: 8080 description: REST adapter for USACE Corps Water Management System Data API — Levels. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/levels name: levels description: REST surface for levels. operations: - method: GET name: getlevels description: Get Location Levels call: usace-cwms-data-levels.getlevels with: office: rest.office location-id: rest.location-id parameter-id: rest.parameter-id unit: rest.unit begin: rest.begin end: rest.end outputParameters: - type: object mapping: $. - path: /v1/pools name: pools description: REST surface for pools. operations: - method: GET name: getpools description: Get Reservoir Pools call: usace-cwms-data-levels.getpools with: office: rest.office project-id-mask: rest.project-id-mask name-mask: rest.name-mask unit: rest.unit outputParameters: - type: object mapping: $. - type: mcp namespace: usace-cwms-data-levels-mcp port: 9090 transport: http description: MCP adapter for USACE Corps Water Management System Data API — Levels. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-location-levels description: Get Location Levels hints: readOnly: true destructive: false idempotent: true call: usace-cwms-data-levels.getlevels with: office: tools.office location-id: tools.location-id parameter-id: tools.parameter-id unit: tools.unit begin: tools.begin end: tools.end outputParameters: - type: object mapping: $. - name: get-reservoir-pools description: Get Reservoir Pools hints: readOnly: true destructive: false idempotent: true call: usace-cwms-data-levels.getpools with: office: tools.office project-id-mask: tools.project-id-mask name-mask: tools.name-mask unit: tools.unit outputParameters: - type: object mapping: $.