Google · Capability

Google Sheets API — Get

Google Sheets API — Get. 6 operations. Lead operation: Google Get Sheet. Self-contained Naftiko capability covering one Google business surface.

Run with Naftiko GoogleGet

What You Can Do

GET
Get — Google Get Sheet
/v1/v4/spreadsheets/{spreadsheetid}
GET
Get — Google Get Developer Metadata
/v1/v4/spreadsheets/{spreadsheetid}/developermetadata/{metadataid}
GET
Get — Google Get Values
/v1/v4/spreadsheets/{spreadsheetid}/values/{range}
GET
Get — Google Get Values Batch
/v1/v4/spreadsheets/{spreadsheetid}/values-batchget
POST
Post — Google Get Values By Data Filter
/v1/v4/spreadsheets/{spreadsheetid}/values-batchgetbydatafilter
POST
Post — Google Get Sheet by Data Filter
/v1/v4/spreadsheets/spreadsheetid-getbydatafilter

MCP Tools

google-get-sheet

Google Get Sheet

read-only idempotent
google-get-developer-metadata

Google Get Developer Metadata

read-only idempotent
google-get-values

Google Get Values

read-only idempotent
google-get-values-batch

Google Get Values Batch

read-only idempotent
google-get-values-data-filter

Google Get Values By Data Filter

read-only
google-get-sheet-data-filter

Google Get Sheet by Data Filter

read-only

Capability Spec

sheets-get.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Google Sheets API — Get
  description: 'Google Sheets API — Get. 6 operations. Lead operation: Google Get Sheet. Self-contained Naftiko capability
    covering one Google business surface.'
  tags:
  - Google
  - Get
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GOOGLE_API_KEY: GOOGLE_API_KEY
capability:
  consumes:
  - type: http
    namespace: sheets-get
    baseUri: https://sheets.googleapis.com
    description: Google Sheets API — Get business capability. Self-contained, no shared references.
    resources:
    - name: v4-spreadsheets-spreadsheetId
      path: /v4/spreadsheets/{spreadsheetId}
      operations:
      - name: get
        method: GET
        description: Google Get Sheet
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Accept
          in: header
          type: string
        - name: spreadsheetId
          in: path
          type: string
          description: (Required)
          required: true
    - name: v4-spreadsheets-spreadsheetId-developerMetadata-metadataId
      path: /v4/spreadsheets/{spreadsheetId}/developerMetadata/{metadataId}
      operations:
      - name: get
        method: GET
        description: Google Get Developer Metadata
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Accept
          in: header
          type: string
        - name: spreadsheetId
          in: path
          type: string
          description: (Required)
          required: true
        - name: metadataId
          in: path
          type: string
          description: (Required)
          required: true
    - name: v4-spreadsheets-spreadsheetId-values-range
      path: /v4/spreadsheets/{spreadsheetId}/values/{range}
      operations:
      - name: get
        method: GET
        description: Google Get Values
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Accept
          in: header
          type: string
        - name: majorDimension
          in: query
          type: string
        - name: valueRenderOption
          in: query
          type: string
        - name: dateTimeRenderOption
          in: query
          type: string
        - name: access_token
          in: query
          type: string
          description: OAuth access token.
        - name: alt
          in: query
          type: string
          description: Data format for response.
        - name: callback
          in: query
          type: string
          description: JSONP
        - name: fields
          in: query
          type: string
          description: Selector specifying which fields to include in a partial response.
        - name: key
          in: query
          type: string
          description: API key. Your API key identifies your project and provides you with API access, quota, and reports.
            Required unless you provide an OAuth 2.0 token.
        - name: oauth_token
          in: query
          type: string
          description: OAuth 2.0 token for the current user.
        - name: prettyPrint
          in: query
          type: string
          description: Returns response with indentations and line breaks.
        - name: quotaUser
          in: query
          type: string
          description: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned
            to a user, but should not exceed 40 characters.
        - name: upload_protocol
          in: query
          type: string
          description: Upload protocol for media (e.g. "raw", "multipart").
        - name: uploadType
          in: query
          type: string
          description: Legacy upload protocol for media (e.g. "media", "multipart").
        - name: $.xgafv
          in: query
          type: string
          description: V1 error format.
        - name: spreadsheetId
          in: path
          type: string
          description: (Required)
          required: true
        - name: range
          in: path
          type: string
          description: (Required)
          required: true
    - name: v4-spreadsheets-spreadsheetId-values:batchGet
      path: /v4/spreadsheets/{spreadsheetId}/values:batchGet
      operations:
      - name: get
        method: GET
        description: Google Get Values Batch
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Accept
          in: header
          type: string
        - name: spreadsheetId
          in: path
          type: string
          description: (Required)
          required: true
    - name: v4-spreadsheets-spreadsheetId-values:batchGetByDataFilter
      path: /v4/spreadsheets/{spreadsheetId}/values:batchGetByDataFilter
      operations:
      - name: post
        method: POST
        description: Google Get Values By Data Filter
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Content-Type
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: spreadsheetId
          in: path
          type: string
          description: (Required)
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v4-spreadsheets-spreadsheetId}:getByDataFilter
      path: /v4/spreadsheets/{spreadsheetId}:getByDataFilter
      operations:
      - name: post
        method: POST
        description: Google Get Sheet by Data Filter
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Content-Type
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: spreadsheetId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
  exposes:
  - type: rest
    namespace: sheets-get-rest
    port: 8080
    description: REST adapter for Google Sheets API — Get. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/v4/spreadsheets/{spreadsheetid}
      name: v4-spreadsheets-spreadsheetid
      description: REST surface for v4-spreadsheets-spreadsheetId.
      operations:
      - method: GET
        name: get
        description: Google Get Sheet
        call: sheets-get.get
        with:
          Accept: rest.Accept
          spreadsheetId: rest.spreadsheetId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v4/spreadsheets/{spreadsheetid}/developermetadata/{metadataid}
      name: v4-spreadsheets-spreadsheetid-developermetadata-metadataid
      description: REST surface for v4-spreadsheets-spreadsheetId-developerMetadata-metadataId.
      operations:
      - method: GET
        name: get
        description: Google Get Developer Metadata
        call: sheets-get.get
        with:
          Accept: rest.Accept
          spreadsheetId: rest.spreadsheetId
          metadataId: rest.metadataId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v4/spreadsheets/{spreadsheetid}/values/{range}
      name: v4-spreadsheets-spreadsheetid-values-range
      description: REST surface for v4-spreadsheets-spreadsheetId-values-range.
      operations:
      - method: GET
        name: get
        description: Google Get Values
        call: sheets-get.get
        with:
          Accept: rest.Accept
          majorDimension: rest.majorDimension
          valueRenderOption: rest.valueRenderOption
          dateTimeRenderOption: rest.dateTimeRenderOption
          access_token: rest.access_token
          alt: rest.alt
          callback: rest.callback
          fields: rest.fields
          key: rest.key
          oauth_token: rest.oauth_token
          prettyPrint: rest.prettyPrint
          quotaUser: rest.quotaUser
          upload_protocol: rest.upload_protocol
          uploadType: rest.uploadType
          $.xgafv: rest.$.xgafv
          spreadsheetId: rest.spreadsheetId
          range: rest.range
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v4/spreadsheets/{spreadsheetid}/values-batchget
      name: v4-spreadsheets-spreadsheetid-values-batchget
      description: REST surface for v4-spreadsheets-spreadsheetId-values:batchGet.
      operations:
      - method: GET
        name: get
        description: Google Get Values Batch
        call: sheets-get.get
        with:
          Accept: rest.Accept
          spreadsheetId: rest.spreadsheetId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v4/spreadsheets/{spreadsheetid}/values-batchgetbydatafilter
      name: v4-spreadsheets-spreadsheetid-values-batchgetbydatafilter
      description: REST surface for v4-spreadsheets-spreadsheetId-values:batchGetByDataFilter.
      operations:
      - method: POST
        name: post
        description: Google Get Values By Data Filter
        call: sheets-get.post
        with:
          Content-Type: rest.Content-Type
          Accept: rest.Accept
          spreadsheetId: rest.spreadsheetId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v4/spreadsheets/spreadsheetid-getbydatafilter
      name: v4-spreadsheets-spreadsheetid-getbydatafilter
      description: REST surface for v4-spreadsheets-spreadsheetId}:getByDataFilter.
      operations:
      - method: POST
        name: post
        description: Google Get Sheet by Data Filter
        call: sheets-get.post
        with:
          Content-Type: rest.Content-Type
          Accept: rest.Accept
          spreadsheetId: rest.spreadsheetId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: sheets-get-mcp
    port: 9090
    transport: http
    description: MCP adapter for Google Sheets API — Get. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: google-get-sheet
      description: Google Get Sheet
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sheets-get.get
      with:
        Accept: tools.Accept
        spreadsheetId: tools.spreadsheetId
      outputParameters:
      - type: object
        mapping: $.
    - name: google-get-developer-metadata
      description: Google Get Developer Metadata
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sheets-get.get
      with:
        Accept: tools.Accept
        spreadsheetId: tools.spreadsheetId
        metadataId: tools.metadataId
      outputParameters:
      - type: object
        mapping: $.
    - name: google-get-values
      description: Google Get Values
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sheets-get.get
      with:
        Accept: tools.Accept
        majorDimension: tools.majorDimension
        valueRenderOption: tools.valueRenderOption
        dateTimeRenderOption: tools.dateTimeRenderOption
        access_token: tools.access_token
        alt: tools.alt
        callback: tools.callback
        fields: tools.fields
        key: tools.key
        oauth_token: tools.oauth_token
        prettyPrint: tools.prettyPrint
        quotaUser: tools.quotaUser
        upload_protocol: tools.upload_protocol
        uploadType: tools.uploadType
        $.xgafv: tools.$.xgafv
        spreadsheetId: tools.spreadsheetId
        range: tools.range
      outputParameters:
      - type: object
        mapping: $.
    - name: google-get-values-batch
      description: Google Get Values Batch
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sheets-get.get
      with:
        Accept: tools.Accept
        spreadsheetId: tools.spreadsheetId
      outputParameters:
      - type: object
        mapping: $.
    - name: google-get-values-data-filter
      description: Google Get Values By Data Filter
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: sheets-get.post
      with:
        Content-Type: tools.Content-Type
        Accept: tools.Accept
        spreadsheetId: tools.spreadsheetId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: google-get-sheet-data-filter
      description: Google Get Sheet by Data Filter
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: sheets-get.post
      with:
        Content-Type: tools.Content-Type
        Accept: tools.Accept
        spreadsheetId: tools.spreadsheetId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.