naftiko: 1.0.0-alpha2 info: label: Macrostrat API — Geologic Maps description: 'Macrostrat API — Geologic Maps. 3 operations. Lead operation: Geologic map units. Self-contained Naftiko capability covering one Macrostrat business surface.' tags: - Macrostrat - Geologic Maps created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MACROSTRAT_API_KEY: MACROSTRAT_API_KEY capability: consumes: - type: http namespace: macrostrat-geologic-maps baseUri: https://macrostrat.org/api/v2 description: Macrostrat API — Geologic Maps business capability. Self-contained, no shared references. resources: - name: geologic_units-map path: /geologic_units/map operations: - name: getgeologicmapunits method: GET description: Geologic map units outputRawFormat: json outputParameters: - name: result type: object value: $. - name: geologic_units-map-legend path: /geologic_units/map/legend operations: - name: getgeologicmaplegend method: GET description: Geologic map legend outputRawFormat: json outputParameters: - name: result type: object value: $. - name: geologic_units-map-points path: /geologic_units/map/points operations: - name: getgeologicmappoints method: GET description: Geologic map point features outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: macrostrat-geologic-maps-rest port: 8080 description: REST adapter for Macrostrat API — Geologic Maps. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/geologic-units/map name: geologic-units-map description: REST surface for geologic_units-map. operations: - method: GET name: getgeologicmapunits description: Geologic map units call: macrostrat-geologic-maps.getgeologicmapunits outputParameters: - type: object mapping: $. - path: /v1/geologic-units/map/legend name: geologic-units-map-legend description: REST surface for geologic_units-map-legend. operations: - method: GET name: getgeologicmaplegend description: Geologic map legend call: macrostrat-geologic-maps.getgeologicmaplegend outputParameters: - type: object mapping: $. - path: /v1/geologic-units/map/points name: geologic-units-map-points description: REST surface for geologic_units-map-points. operations: - method: GET name: getgeologicmappoints description: Geologic map point features call: macrostrat-geologic-maps.getgeologicmappoints outputParameters: - type: object mapping: $. - type: mcp namespace: macrostrat-geologic-maps-mcp port: 9090 transport: http description: MCP adapter for Macrostrat API — Geologic Maps. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: geologic-map-units description: Geologic map units hints: readOnly: true destructive: false idempotent: true call: macrostrat-geologic-maps.getgeologicmapunits outputParameters: - type: object mapping: $. - name: geologic-map-legend description: Geologic map legend hints: readOnly: true destructive: false idempotent: true call: macrostrat-geologic-maps.getgeologicmaplegend outputParameters: - type: object mapping: $. - name: geologic-map-point-features description: Geologic map point features hints: readOnly: true destructive: false idempotent: true call: macrostrat-geologic-maps.getgeologicmappoints outputParameters: - type: object mapping: $.