USACE CWMS Data API — Catalog

USACE CWMS Data API — Catalog. 1 operations. Lead operation: Get Data Catalog. Self-contained Naftiko capability covering one Us Army Corps Of Engineers business surface.

Run with Naftiko Us Army Corps Of EngineersCatalog

What You Can Do

GET
Getcatalog — Get Data Catalog
/v1/catalog/{dataset}

MCP Tools

get-data-catalog

Get Data Catalog

read-only idempotent

Capability Spec

usace-cwms-data-catalog.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: USACE CWMS Data API — Catalog
  description: 'USACE CWMS Data API — Catalog. 1 operations. Lead operation: Get Data Catalog. Self-contained Naftiko capability
    covering one Us Army Corps Of Engineers business surface.'
  tags:
  - Us Army Corps Of Engineers
  - Catalog
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    US_ARMY_CORPS_OF_ENGINEERS_API_KEY: US_ARMY_CORPS_OF_ENGINEERS_API_KEY
capability:
  consumes:
  - type: http
    namespace: usace-cwms-data-catalog
    baseUri: https://cwms-data.usace.army.mil/cwms-data
    description: USACE CWMS Data API — Catalog business capability. Self-contained, no shared references.
    resources:
    - name: catalog-dataset
      path: /catalog/{dataset}
      operations:
      - name: getcatalog
        method: GET
        description: Get Data Catalog
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: dataset
          in: path
          type: string
          description: Dataset type to catalog
          required: true
        - name: office
          in: query
          type: string
          description: Filter by office
        - name: page-size
          in: query
          type: integer
          description: Records per page
        - name: page
          in: query
          type: string
          description: Pagination cursor
  exposes:
  - type: rest
    namespace: usace-cwms-data-catalog-rest
    port: 8080
    description: REST adapter for USACE CWMS Data API — Catalog. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/catalog/{dataset}
      name: catalog-dataset
      description: REST surface for catalog-dataset.
      operations:
      - method: GET
        name: getcatalog
        description: Get Data Catalog
        call: usace-cwms-data-catalog.getcatalog
        with:
          dataset: rest.dataset
          office: rest.office
          page-size: rest.page-size
          page: rest.page
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: usace-cwms-data-catalog-mcp
    port: 9090
    transport: http
    description: MCP adapter for USACE CWMS Data API — Catalog. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: get-data-catalog
      description: Get Data Catalog
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: usace-cwms-data-catalog.getcatalog
      with:
        dataset: tools.dataset
        office: tools.office
        page-size: tools.page-size
        page: tools.page
      outputParameters:
      - type: object
        mapping: $.