USACE CWMS Data API — Reservoirs

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

Run with Naftiko Us Army Corps Of EngineersReservoirs

What You Can Do

GET
Getreservoirs — Get Reservoir Projects
/v1/reservoirs

MCP Tools

get-reservoir-projects

Get Reservoir Projects

read-only idempotent

Capability Spec

usace-cwms-data-reservoirs.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: USACE CWMS Data API — Reservoirs
  description: 'USACE CWMS Data API — Reservoirs. 1 operations. Lead operation: Get Reservoir Projects. Self-contained Naftiko
    capability covering one Us Army Corps Of Engineers business surface.'
  tags:
  - Us Army Corps Of Engineers
  - Reservoirs
  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-reservoirs
    baseUri: https://cwms-data.usace.army.mil/cwms-data
    description: USACE CWMS Data API — Reservoirs business capability. Self-contained, no shared references.
    resources:
    - name: reservoirs
      path: /reservoirs
      operations:
      - name: getreservoirs
        method: GET
        description: Get Reservoir Projects
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: office
          in: query
          type: string
          description: Filter by office
        - name: project-id-like
          in: query
          type: string
          description: Filter by project ID pattern
        - name: page-size
          in: query
          type: integer
        - name: page
          in: query
          type: string
  exposes:
  - type: rest
    namespace: usace-cwms-data-reservoirs-rest
    port: 8080
    description: REST adapter for USACE CWMS Data API — Reservoirs. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/reservoirs
      name: reservoirs
      description: REST surface for reservoirs.
      operations:
      - method: GET
        name: getreservoirs
        description: Get Reservoir Projects
        call: usace-cwms-data-reservoirs.getreservoirs
        with:
          office: rest.office
          project-id-like: rest.project-id-like
          page-size: rest.page-size
          page: rest.page
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: usace-cwms-data-reservoirs-mcp
    port: 9090
    transport: http
    description: MCP adapter for USACE CWMS Data API — Reservoirs. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-reservoir-projects
      description: Get Reservoir Projects
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: usace-cwms-data-reservoirs.getreservoirs
      with:
        office: tools.office
        project-id-like: tools.project-id-like
        page-size: tools.page-size
        page: tools.page
      outputParameters:
      - type: object
        mapping: $.