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