Google · Capability

Google Sheets API — Values

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

Run with Naftiko GoogleValues

What You Can Do

GET
Get — Google Get Values
/v1/v4/spreadsheets/{spreadsheetid}/values/{range}
PUT
Put — Google Update Values
/v1/v4/spreadsheets/{spreadsheetid}/values/{range}
POST
Post — Google Append Values
/v1/v4/spreadsheets/{spreadsheetid}/values/range-append
POST
Post — Google Clear Values
/v1/v4/spreadsheets/{spreadsheetid}/values/range-clear
POST
Post — Google Batch Clear Values
/v1/v4/spreadsheets/{spreadsheetid}/values-batchclear
POST
Post — Google Batch Clear Values by Data Filter
/v1/v4/spreadsheets/{spreadsheetid}/values-batchclearbydatafilter
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 Batch Update Values
/v1/v4/spreadsheets/{spreadsheetid}/values-batchupdate

MCP Tools

google-get-values

Google Get Values

read-only idempotent
google-update-values

Google Update Values

idempotent
google-append-values

Google Append Values

google-clear-values

Google Clear Values

google-batch-clear-values

Google Batch Clear Values

google-batch-clear-values-data

Google Batch Clear Values by Data Filter

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-batch-update-values

Google Batch Update Values

Capability Spec

sheets-values.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Google Sheets API — Values
  description: 'Google Sheets API — Values. 9 operations. Lead operation: Google Get Values. Self-contained Naftiko capability
    covering one Google business surface.'
  tags:
  - Google
  - Values
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GOOGLE_API_KEY: GOOGLE_API_KEY
capability:
  consumes:
  - type: http
    namespace: sheets-values
    baseUri: https://sheets.googleapis.com
    description: Google Sheets API — Values business capability. Self-contained, no shared references.
    resources:
    - 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: put
        method: PUT
        description: Google Update Values
        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: range
          in: path
          type: string
          description: (Required)
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v4-spreadsheets-spreadsheetId-values-range}:append
      path: /v4/spreadsheets/{spreadsheetId}/values/{range}:append
      operations:
      - name: post
        method: POST
        description: Google Append Values
        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: range
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v4-spreadsheets-spreadsheetId-values-range}:clear
      path: /v4/spreadsheets/{spreadsheetId}/values/{range}:clear
      operations:
      - name: post
        method: POST
        description: Google Clear Values
        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: range
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v4-spreadsheets-spreadsheetId-values:batchClear
      path: /v4/spreadsheets/{spreadsheetId}/values:batchClear
      operations:
      - name: post
        method: POST
        description: Google Batch Clear Values
        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-values:batchClearByDataFilter
      path: /v4/spreadsheets/{spreadsheetId}/values:batchClearByDataFilter
      operations:
      - name: post
        method: POST
        description: Google Batch Clear 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-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-values:batchUpdate
      path: /v4/spreadsheets/{spreadsheetId}/values:batchUpdate
      operations:
      - name: post
        method: POST
        description: Google Batch Update Values
        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
  exposes:
  - type: rest
    namespace: sheets-values-rest
    port: 8080
    description: REST adapter for Google Sheets API — Values. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - 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-values.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: $.
      - method: PUT
        name: put
        description: Google Update Values
        call: sheets-values.put
        with:
          Content-Type: rest.Content-Type
          Accept: rest.Accept
          spreadsheetId: rest.spreadsheetId
          range: rest.range
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v4/spreadsheets/{spreadsheetid}/values/range-append
      name: v4-spreadsheets-spreadsheetid-values-range-append
      description: REST surface for v4-spreadsheets-spreadsheetId-values-range}:append.
      operations:
      - method: POST
        name: post
        description: Google Append Values
        call: sheets-values.post
        with:
          Content-Type: rest.Content-Type
          Accept: rest.Accept
          spreadsheetId: rest.spreadsheetId
          range: rest.range
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v4/spreadsheets/{spreadsheetid}/values/range-clear
      name: v4-spreadsheets-spreadsheetid-values-range-clear
      description: REST surface for v4-spreadsheets-spreadsheetId-values-range}:clear.
      operations:
      - method: POST
        name: post
        description: Google Clear Values
        call: sheets-values.post
        with:
          Content-Type: rest.Content-Type
          Accept: rest.Accept
          spreadsheetId: rest.spreadsheetId
          range: rest.range
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v4/spreadsheets/{spreadsheetid}/values-batchclear
      name: v4-spreadsheets-spreadsheetid-values-batchclear
      description: REST surface for v4-spreadsheets-spreadsheetId-values:batchClear.
      operations:
      - method: POST
        name: post
        description: Google Batch Clear Values
        call: sheets-values.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}/values-batchclearbydatafilter
      name: v4-spreadsheets-spreadsheetid-values-batchclearbydatafilter
      description: REST surface for v4-spreadsheets-spreadsheetId-values:batchClearByDataFilter.
      operations:
      - method: POST
        name: post
        description: Google Batch Clear Values by Data Filter
        call: sheets-values.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}/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-values.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-values.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}/values-batchupdate
      name: v4-spreadsheets-spreadsheetid-values-batchupdate
      description: REST surface for v4-spreadsheets-spreadsheetId-values:batchUpdate.
      operations:
      - method: POST
        name: post
        description: Google Batch Update Values
        call: sheets-values.post
        with:
          Content-Type: rest.Content-Type
          Accept: rest.Accept
          spreadsheetId: rest.spreadsheetId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: sheets-values-mcp
    port: 9090
    transport: http
    description: MCP adapter for Google Sheets API — Values. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: google-get-values
      description: Google Get Values
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sheets-values.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-update-values
      description: Google Update Values
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: sheets-values.put
      with:
        Content-Type: tools.Content-Type
        Accept: tools.Accept
        spreadsheetId: tools.spreadsheetId
        range: tools.range
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: google-append-values
      description: Google Append Values
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: sheets-values.post
      with:
        Content-Type: tools.Content-Type
        Accept: tools.Accept
        spreadsheetId: tools.spreadsheetId
        range: tools.range
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: google-clear-values
      description: Google Clear Values
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: sheets-values.post
      with:
        Content-Type: tools.Content-Type
        Accept: tools.Accept
        spreadsheetId: tools.spreadsheetId
        range: tools.range
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: google-batch-clear-values
      description: Google Batch Clear Values
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: sheets-values.post
      with:
        Content-Type: tools.Content-Type
        Accept: tools.Accept
        spreadsheetId: tools.spreadsheetId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: google-batch-clear-values-data
      description: Google Batch Clear Values by Data Filter
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: sheets-values.post
      with:
        Content-Type: tools.Content-Type
        Accept: tools.Accept
        spreadsheetId: tools.spreadsheetId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: google-get-values-batch
      description: Google Get Values Batch
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sheets-values.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-values.post
      with:
        Content-Type: tools.Content-Type
        Accept: tools.Accept
        spreadsheetId: tools.spreadsheetId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: google-batch-update-values
      description: Google Batch Update Values
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: sheets-values.post
      with:
        Content-Type: tools.Content-Type
        Accept: tools.Accept
        spreadsheetId: tools.spreadsheetId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.