Macrostrat · Capability

Macrostrat API — Measurements

Macrostrat API — Measurements. 1 operations. Lead operation: Get measurements. Self-contained Naftiko capability covering one Macrostrat business surface.

Run with Naftiko MacrostratMeasurements

What You Can Do

GET
Getmeasurements — Get measurements
/v1/measurements

MCP Tools

get-measurements

Get measurements

read-only idempotent

Capability Spec

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