naftiko: 1.0.0-alpha2 info: label: USGS Water Data OGC API — Monitoring Locations description: 'USGS Water Data OGC API — Monitoring Locations. 2 operations. Lead operation: Query Monitoring Locations. Self-contained Naftiko capability covering one Us Geological Survey business surface.' tags: - Us Geological Survey - Monitoring Locations created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: US_GEOLOGICAL_SURVEY_API_KEY: US_GEOLOGICAL_SURVEY_API_KEY capability: consumes: - type: http namespace: usgs-water-data-monitoring-locations baseUri: https://api.waterdata.usgs.gov/ogcapi/v0 description: USGS Water Data OGC API — Monitoring Locations business capability. Self-contained, no shared references. resources: - name: collections-monitoring-locations-items path: /collections/monitoring-locations/items operations: - name: querymonitoringlocations method: GET description: Query Monitoring Locations outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: monitoringLocationIdentifier in: query type: string description: USGS monitoring location identifier - name: monitoringLocationType in: query type: string description: Type of monitoring location (e.g., Stream, Lake, Well) - name: stateCd in: query type: string description: Two-letter state abbreviation - name: countyCd in: query type: string description: County FIPS code - name: hucCd in: query type: string description: Hydrologic Unit Code (HUC) - name: collections-monitoring-locations-items-featureId path: /collections/monitoring-locations/items/{featureId} operations: - name: getmonitoringlocation method: GET description: Get Monitoring Location outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: featureId in: path type: string description: Unique feature identifier for the monitoring location required: true authentication: type: apikey key: api_key value: '{{env.US_GEOLOGICAL_SURVEY_API_KEY}}' placement: query exposes: - type: rest namespace: usgs-water-data-monitoring-locations-rest port: 8080 description: REST adapter for USGS Water Data OGC API — Monitoring Locations. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/collections/monitoring-locations/items name: collections-monitoring-locations-items description: REST surface for collections-monitoring-locations-items. operations: - method: GET name: querymonitoringlocations description: Query Monitoring Locations call: usgs-water-data-monitoring-locations.querymonitoringlocations with: monitoringLocationIdentifier: rest.monitoringLocationIdentifier monitoringLocationType: rest.monitoringLocationType stateCd: rest.stateCd countyCd: rest.countyCd hucCd: rest.hucCd outputParameters: - type: object mapping: $. - path: /v1/collections/monitoring-locations/items/{featureid} name: collections-monitoring-locations-items-featureid description: REST surface for collections-monitoring-locations-items-featureId. operations: - method: GET name: getmonitoringlocation description: Get Monitoring Location call: usgs-water-data-monitoring-locations.getmonitoringlocation with: featureId: rest.featureId outputParameters: - type: object mapping: $. - type: mcp namespace: usgs-water-data-monitoring-locations-mcp port: 9090 transport: http description: MCP adapter for USGS Water Data OGC API — Monitoring Locations. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: query-monitoring-locations description: Query Monitoring Locations hints: readOnly: true destructive: false idempotent: true call: usgs-water-data-monitoring-locations.querymonitoringlocations with: monitoringLocationIdentifier: tools.monitoringLocationIdentifier monitoringLocationType: tools.monitoringLocationType stateCd: tools.stateCd countyCd: tools.countyCd hucCd: tools.hucCd outputParameters: - type: object mapping: $. - name: get-monitoring-location description: Get Monitoring Location hints: readOnly: true destructive: false idempotent: true call: usgs-water-data-monitoring-locations.getmonitoringlocation with: featureId: tools.featureId outputParameters: - type: object mapping: $.