Google Analytics · Capability

Google Analytics API — metadata

Google Analytics API — metadata. 1 operations. Lead operation: metadata. Self-contained Naftiko capability covering one Google Analytics business surface.

Run with Naftiko Google Analyticsmetadata

What You Can Do

GET
Analyticsmetadatacolumnslist — Lists all columns for a report type
/v1/metadata/{reporttype}/columns

MCP Tools

lists-all-columns-report-type

Lists all columns for a report type

read-only idempotent

Capability Spec

management-api-v3-metadata.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Google Analytics API — metadata
  description: 'Google Analytics API — metadata. 1 operations. Lead operation: metadata. Self-contained Naftiko capability
    covering one Google Analytics business surface.'
  tags:
  - Google Analytics
  - metadata
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GOOGLE_ANALYTICS_API_KEY: GOOGLE_ANALYTICS_API_KEY
capability:
  consumes:
  - type: http
    namespace: management-api-v3-metadata
    baseUri: https://analytics.googleapis.com/analytics/v3
    description: Google Analytics API — metadata business capability. Self-contained, no shared references.
    resources:
    - name: metadata-reportType-columns
      path: /metadata/{reportType}/columns
      operations:
      - name: analyticsmetadatacolumnslist
        method: GET
        description: Lists all columns for a report type
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: reportType
          in: path
          type: string
          description: 'Report type. Allowed Values: ''ga''. Where ''ga'' corresponds to the Core Reporting API'
          required: true
    authentication:
      type: bearer
      token: '{{env.GOOGLE_ANALYTICS_API_KEY}}'
  exposes:
  - type: rest
    namespace: management-api-v3-metadata-rest
    port: 8080
    description: REST adapter for Google Analytics API — metadata. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/metadata/{reporttype}/columns
      name: metadata-reporttype-columns
      description: REST surface for metadata-reportType-columns.
      operations:
      - method: GET
        name: analyticsmetadatacolumnslist
        description: Lists all columns for a report type
        call: management-api-v3-metadata.analyticsmetadatacolumnslist
        with:
          reportType: rest.reportType
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: management-api-v3-metadata-mcp
    port: 9090
    transport: http
    description: MCP adapter for Google Analytics API — metadata. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: lists-all-columns-report-type
      description: Lists all columns for a report type
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: management-api-v3-metadata.analyticsmetadatacolumnslist
      with:
        reportType: tools.reportType
      outputParameters:
      - type: object
        mapping: $.