U.S. EPA Enforcement and Compliance History Online (ECHO) - Clean Water Act (CWA) Rest Services — Metadata

Metadata. 2 operations. Lead operation: Clean Water Act (CWA) Metadata Service. Self-contained Naftiko capability covering one EPA business surface.

Run with Naftiko EPAMetadata

What You Can Do

GET
Getcwarestservicesmetadata — Clean Water Act (CWA) Metadata Service
/v1/cwa_rest_services.metadata
POST
Postcwarestservicesmetadata — Clean Water Act (CWA) Metadata Service
/v1/cwa_rest_services.metadata

MCP Tools

clean-water-act-cwa-metadata-service

Clean Water Act (CWA) Metadata Service

read-only idempotent
clean-water-act-cwa-metadata-service-2

Clean Water Act (CWA) Metadata Service

Capability Spec

echo-cwa-metadata.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: U.S. EPA Enforcement and Compliance History Online (ECHO) - Clean Water Act (CWA) Rest Services — Metadata
  description: 'Metadata. 2 operations. Lead operation: Clean Water Act (CWA) Metadata Service. Self-contained Naftiko capability covering one EPA business surface.'
  tags:
    - EPA
    - Metadata
  created: '2026-05-29'
  modified: '2026-05-29'
binds:
  - namespace: env
    keys: {}
capability:
  consumes:
    - type: http
      namespace: echo-cwa-metadata
      baseUri: https://echodata.epa.gov/echo
      description: U.S. EPA Enforcement and Compliance History Online (ECHO) - Clean Water Act (CWA) Rest Services — Metadata business capability. Self-contained, no shared references.
      resources:
        - name: cwa-rest-services-metadata
          path: /cwa_rest_services.metadata
          operations:
            - name: getcwarestservicesmetadata
              method: GET
              description: Clean Water Act (CWA) Metadata 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.
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: $.
        - name: cwa-rest-services-metadata
          path: /cwa_rest_services.metadata
          operations:
            - name: postcwarestservicesmetadata
              method: POST
              description: Clean Water Act (CWA) Metadata 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.
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: $.
  exposes:
    - type: rest
      namespace: echo-cwa-metadata-rest
      port: 8080
      description: REST adapter for U.S. EPA Enforcement and Compliance History Online (ECHO) - Clean Water Act (CWA) Rest Services — Metadata. One Spectral-compliant resource per consumed operation, prefixed with /v1.
      resources:
        - path: /v1/cwa_rest_services.metadata
          name: cwa-rest-services-metadata
          description: REST surface for Clean Water Act (CWA) Metadata Service.
          operations:
            - method: GET
              name: getcwarestservicesmetadata
              description: Clean Water Act (CWA) Metadata Service
              call: echo-cwa-metadata.getcwarestservicesmetadata
              with:
                output: rest.output
                callback: rest.callback
              outputParameters:
                - type: object
                  mapping: $.
        - path: /v1/cwa_rest_services.metadata
          name: cwa-rest-services-metadata
          description: REST surface for Clean Water Act (CWA) Metadata Service.
          operations:
            - method: POST
              name: postcwarestservicesmetadata
              description: Clean Water Act (CWA) Metadata Service
              call: echo-cwa-metadata.postcwarestservicesmetadata
              with:
                output: rest.output
                callback: rest.callback
              outputParameters:
                - type: object
                  mapping: $.
    - type: mcp
      namespace: echo-cwa-metadata-mcp
      port: 9090
      transport: http
      description: MCP adapter for U.S. EPA Enforcement and Compliance History Online (ECHO) - Clean Water Act (CWA) Rest Services — Metadata. One tool per consumed operation, routed inline through this capability's consumes block.
      tools:
        - name: clean-water-act-cwa-metadata-service
          description: Clean Water Act (CWA) Metadata Service
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: echo-cwa-metadata.getcwarestservicesmetadata
          with:
            output: tools.output
            callback: tools.callback
          outputParameters:
            - type: object
              mapping: $.
        - name: clean-water-act-cwa-metadata-service-2
          description: Clean Water Act (CWA) Metadata Service
          hints:
            readOnly: false
            destructive: false
            idempotent: false
          call: echo-cwa-metadata.postcwarestservicesmetadata
          with:
            output: tools.output
            callback: tools.callback
          outputParameters:
            - type: object
              mapping: $.