naftiko: 1.0.0-alpha2 info: label: U.S. EPA Enforcement and Compliance History Online (ECHO) - Effluent Charting and Reporting — Lookups description: 'Lookups. 2 operations. Lead operation: ECHO CWA Parameter Lookup Service. Self-contained Naftiko capability covering one EPA business surface.' tags: - EPA - Lookups created: '2026-05-29' modified: '2026-05-29' binds: - namespace: env keys: {} capability: consumes: - type: http namespace: echo-effluent-lookups baseUri: https://echodata.epa.gov/echo description: U.S. EPA Enforcement and Compliance History Online (ECHO) - Effluent Charting and Reporting — Lookups business capability. Self-contained, no shared references. resources: - name: rest-lookups-cwa-parameters path: /rest_lookups.cwa_parameters operations: - name: getrestlookupscwaparameters method: GET description: ECHO CWA Parameter Lookup Service inputParameters: - name: output in: query type: string required: false description: "Output Format Flag. Enter one of the following keywords:\n- JSON = Data model formatted as Javascript Object Notation (default).\n- JSONP = Data model formatted as Javascript Object Notation with Paddi" - name: callback in: query type: string required: false description: JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response. - name: search_term in: query type: string required: false description: Enter a partial or complete search phrase or word. - name: search_code in: query type: string required: false description: Enter a partial or complete code value. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: rest-lookups-cwa-parameters path: /rest_lookups.cwa_parameters operations: - name: postrestlookupscwaparameters method: POST description: ECHO CWA Parameter Lookup Service inputParameters: - name: output in: formData type: string required: false description: "Output Format Flag. Enter one of the following keywords:\n- JSON = Data model formatted as Javascript Object Notation (default).\n- JSONP = Data model formatted as Javascript Object Notation with Paddi" - name: callback in: formData type: string required: false description: JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response. - name: search_term in: formData type: string required: false description: Enter a partial or complete search phrase or word. - name: search_code in: formData type: string required: false description: Enter a partial or complete code value. outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: echo-effluent-lookups-rest port: 8080 description: REST adapter for U.S. EPA Enforcement and Compliance History Online (ECHO) - Effluent Charting and Reporting — Lookups. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/rest_lookups.cwa_parameters name: rest-lookups-cwa-parameters description: REST surface for ECHO CWA Parameter Lookup Service. operations: - method: GET name: getrestlookupscwaparameters description: ECHO CWA Parameter Lookup Service call: echo-effluent-lookups.getrestlookupscwaparameters with: output: rest.output callback: rest.callback search_term: rest.search_term search_code: rest.search_code outputParameters: - type: object mapping: $. - path: /v1/rest_lookups.cwa_parameters name: rest-lookups-cwa-parameters description: REST surface for ECHO CWA Parameter Lookup Service. operations: - method: POST name: postrestlookupscwaparameters description: ECHO CWA Parameter Lookup Service call: echo-effluent-lookups.postrestlookupscwaparameters with: output: rest.output callback: rest.callback search_term: rest.search_term search_code: rest.search_code outputParameters: - type: object mapping: $. - type: mcp namespace: echo-effluent-lookups-mcp port: 9090 transport: http description: MCP adapter for U.S. EPA Enforcement and Compliance History Online (ECHO) - Effluent Charting and Reporting — Lookups. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: echo-cwa-parameter-lookup-service description: ECHO CWA Parameter Lookup Service hints: readOnly: true destructive: false idempotent: true call: echo-effluent-lookups.getrestlookupscwaparameters with: output: tools.output callback: tools.callback search_term: tools.search_term search_code: tools.search_code outputParameters: - type: object mapping: $. - name: echo-cwa-parameter-lookup-service-2 description: ECHO CWA Parameter Lookup Service hints: readOnly: true destructive: false idempotent: false call: echo-effluent-lookups.postrestlookupscwaparameters with: output: tools.output callback: tools.callback search_term: tools.search_term search_code: tools.search_code outputParameters: - type: object mapping: $.