Google Cloud Memorystore · Capability

Google Cloud Memorystore for Redis API — Instances

Google Cloud Memorystore for Redis API — Instances. 7 operations. Lead operation: Google Cloud Memorystore List instances. Self-contained Naftiko capability covering one Google Cloud Memorystore business surface.

Run with Naftiko Google Cloud MemorystoreInstances

What You Can Do

GET
Listinstances — Google Cloud Memorystore List instances
/v1/projects/{project}/locations/{location}/instances
POST
Createinstance — Google Cloud Memorystore Create an instance
/v1/projects/{project}/locations/{location}/instances
GET
Getinstance — Google Cloud Memorystore Get an instance
/v1/projects/{project}/locations/{location}/instances/{instance}
PATCH
Updateinstance — Google Cloud Memorystore Update an instance
/v1/projects/{project}/locations/{location}/instances/{instance}
DELETE
Deleteinstance — Google Cloud Memorystore Delete an instance
/v1/projects/{project}/locations/{location}/instances/{instance}
POST
Failoverinstance — Google Cloud Memorystore Failover an instance
/v1/projects/{project}/locations/{location}/instances/instance-failover
POST
Upgradeinstance — Google Cloud Memorystore Upgrade an instance
/v1/projects/{project}/locations/{location}/instances/instance-upgrade

MCP Tools

google-cloud-memorystore-list-instances

Google Cloud Memorystore List instances

read-only idempotent
google-cloud-memorystore-create-instance

Google Cloud Memorystore Create an instance

google-cloud-memorystore-get-instance

Google Cloud Memorystore Get an instance

read-only idempotent
google-cloud-memorystore-update-instance

Google Cloud Memorystore Update an instance

idempotent
google-cloud-memorystore-delete-instance

Google Cloud Memorystore Delete an instance

idempotent
google-cloud-memorystore-failover-instance

Google Cloud Memorystore Failover an instance

google-cloud-memorystore-upgrade-instance

Google Cloud Memorystore Upgrade an instance

Capability Spec

cloud-memorystore-instances.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Google Cloud Memorystore for Redis API — Instances
  description: 'Google Cloud Memorystore for Redis API — Instances. 7 operations. Lead operation: Google Cloud Memorystore
    List instances. Self-contained Naftiko capability covering one Google Cloud Memorystore business surface.'
  tags:
  - Google Cloud Memorystore
  - Instances
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GOOGLE_CLOUD_MEMORYSTORE_API_KEY: GOOGLE_CLOUD_MEMORYSTORE_API_KEY
capability:
  consumes:
  - type: http
    namespace: cloud-memorystore-instances
    baseUri: https://redis.googleapis.com/v1
    description: Google Cloud Memorystore for Redis API — Instances business capability. Self-contained, no shared references.
    resources:
    - name: projects-project-locations-location-instances
      path: /projects/{project}/locations/{location}/instances
      operations:
      - name: listinstances
        method: GET
        description: Google Cloud Memorystore List instances
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: project
          in: path
          type: string
          required: true
        - name: location
          in: path
          type: string
          description: Use '-' for all locations.
          required: true
        - name: pageSize
          in: query
          type: integer
        - name: pageToken
          in: query
          type: string
      - name: createinstance
        method: POST
        description: Google Cloud Memorystore Create an instance
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: project
          in: path
          type: string
          required: true
        - name: location
          in: path
          type: string
          required: true
        - name: instanceId
          in: query
          type: string
          description: The logical name of the Redis instance.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: projects-project-locations-location-instances-instance
      path: /projects/{project}/locations/{location}/instances/{instance}
      operations:
      - name: getinstance
        method: GET
        description: Google Cloud Memorystore Get an instance
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: project
          in: path
          type: string
          required: true
        - name: location
          in: path
          type: string
          required: true
        - name: instance
          in: path
          type: string
          required: true
      - name: updateinstance
        method: PATCH
        description: Google Cloud Memorystore Update an instance
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: project
          in: path
          type: string
          required: true
        - name: location
          in: path
          type: string
          required: true
        - name: instance
          in: path
          type: string
          required: true
        - name: updateMask
          in: query
          type: string
          description: Fields to update.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteinstance
        method: DELETE
        description: Google Cloud Memorystore Delete an instance
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: project
          in: path
          type: string
          required: true
        - name: location
          in: path
          type: string
          required: true
        - name: instance
          in: path
          type: string
          required: true
    - name: projects-project-locations-location-instances-instance}:failover
      path: /projects/{project}/locations/{location}/instances/{instance}:failover
      operations:
      - name: failoverinstance
        method: POST
        description: Google Cloud Memorystore Failover an instance
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: project
          in: path
          type: string
          required: true
        - name: location
          in: path
          type: string
          required: true
        - name: instance
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: projects-project-locations-location-instances-instance}:upgrade
      path: /projects/{project}/locations/{location}/instances/{instance}:upgrade
      operations:
      - name: upgradeinstance
        method: POST
        description: Google Cloud Memorystore Upgrade an instance
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: project
          in: path
          type: string
          required: true
        - name: location
          in: path
          type: string
          required: true
        - name: instance
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.GOOGLE_CLOUD_MEMORYSTORE_API_KEY}}'
  exposes:
  - type: rest
    namespace: cloud-memorystore-instances-rest
    port: 8080
    description: REST adapter for Google Cloud Memorystore for Redis API — Instances. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/projects/{project}/locations/{location}/instances
      name: projects-project-locations-location-instances
      description: REST surface for projects-project-locations-location-instances.
      operations:
      - method: GET
        name: listinstances
        description: Google Cloud Memorystore List instances
        call: cloud-memorystore-instances.listinstances
        with:
          project: rest.project
          location: rest.location
          pageSize: rest.pageSize
          pageToken: rest.pageToken
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createinstance
        description: Google Cloud Memorystore Create an instance
        call: cloud-memorystore-instances.createinstance
        with:
          project: rest.project
          location: rest.location
          instanceId: rest.instanceId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/projects/{project}/locations/{location}/instances/{instance}
      name: projects-project-locations-location-instances-instance
      description: REST surface for projects-project-locations-location-instances-instance.
      operations:
      - method: GET
        name: getinstance
        description: Google Cloud Memorystore Get an instance
        call: cloud-memorystore-instances.getinstance
        with:
          project: rest.project
          location: rest.location
          instance: rest.instance
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updateinstance
        description: Google Cloud Memorystore Update an instance
        call: cloud-memorystore-instances.updateinstance
        with:
          project: rest.project
          location: rest.location
          instance: rest.instance
          updateMask: rest.updateMask
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteinstance
        description: Google Cloud Memorystore Delete an instance
        call: cloud-memorystore-instances.deleteinstance
        with:
          project: rest.project
          location: rest.location
          instance: rest.instance
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/projects/{project}/locations/{location}/instances/instance-failover
      name: projects-project-locations-location-instances-instance-failover
      description: REST surface for projects-project-locations-location-instances-instance}:failover.
      operations:
      - method: POST
        name: failoverinstance
        description: Google Cloud Memorystore Failover an instance
        call: cloud-memorystore-instances.failoverinstance
        with:
          project: rest.project
          location: rest.location
          instance: rest.instance
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/projects/{project}/locations/{location}/instances/instance-upgrade
      name: projects-project-locations-location-instances-instance-upgrade
      description: REST surface for projects-project-locations-location-instances-instance}:upgrade.
      operations:
      - method: POST
        name: upgradeinstance
        description: Google Cloud Memorystore Upgrade an instance
        call: cloud-memorystore-instances.upgradeinstance
        with:
          project: rest.project
          location: rest.location
          instance: rest.instance
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cloud-memorystore-instances-mcp
    port: 9090
    transport: http
    description: MCP adapter for Google Cloud Memorystore for Redis API — Instances. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: google-cloud-memorystore-list-instances
      description: Google Cloud Memorystore List instances
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloud-memorystore-instances.listinstances
      with:
        project: tools.project
        location: tools.location
        pageSize: tools.pageSize
        pageToken: tools.pageToken
      outputParameters:
      - type: object
        mapping: $.
    - name: google-cloud-memorystore-create-instance
      description: Google Cloud Memorystore Create an instance
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cloud-memorystore-instances.createinstance
      with:
        project: tools.project
        location: tools.location
        instanceId: tools.instanceId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: google-cloud-memorystore-get-instance
      description: Google Cloud Memorystore Get an instance
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloud-memorystore-instances.getinstance
      with:
        project: tools.project
        location: tools.location
        instance: tools.instance
      outputParameters:
      - type: object
        mapping: $.
    - name: google-cloud-memorystore-update-instance
      description: Google Cloud Memorystore Update an instance
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: cloud-memorystore-instances.updateinstance
      with:
        project: tools.project
        location: tools.location
        instance: tools.instance
        updateMask: tools.updateMask
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: google-cloud-memorystore-delete-instance
      description: Google Cloud Memorystore Delete an instance
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: cloud-memorystore-instances.deleteinstance
      with:
        project: tools.project
        location: tools.location
        instance: tools.instance
      outputParameters:
      - type: object
        mapping: $.
    - name: google-cloud-memorystore-failover-instance
      description: Google Cloud Memorystore Failover an instance
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cloud-memorystore-instances.failoverinstance
      with:
        project: tools.project
        location: tools.location
        instance: tools.instance
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: google-cloud-memorystore-upgrade-instance
      description: Google Cloud Memorystore Upgrade an instance
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cloud-memorystore-instances.upgradeinstance
      with:
        project: tools.project
        location: tools.location
        instance: tools.instance
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.