# update_instance

Update a Memorystore for Valkey instance.

Agent View of the PolicyLayer registry record for `update_instance`. HTML page: https://policylayer.com/tools/com-googleapis-memorystore-mcp/update-instance

## Facts

- Tool: `update_instance`
- Server: Mcp (`https://memorystore.googleapis.com/mcp`) — https://policylayer.com/tools/com-googleapis-memorystore-mcp.md
- Homepage: https://github.com/https://memorystore.googleapis.com/mcp
- Risk category: Write (Medium risk)
- Registry record: grade F, identity unverified
- Server auth posture: open
- Server rate-limited: no
- Parameters: 3 (1 required)
- Recommended policy verdict: Rate-limited

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `instance` | object | yes | Required. The instance to update. |
| `requestId` | string | no | Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the re |
| `updateMask` | string | no | Optional. The list of fields to be updated on the instance. At least one field must be specified. |

Parameters from the server's own tool schema.

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "update_instance",
    "arguments": {
      "instance": {}
    }
  }
}
```

## Why update_instance is rated Medium

This tool modifies an existing Memorystore instance configuration reversibly. Updates are typically non-destructive changes (e.g., scaling, configuration adjustments) that can be rolled back or changed again, placing it in the Write category rather than Destructive. Severity is medium because misconfigured updates could impact service availability or performance, but the effects are generally reversible.

From the tool's own definition: "Tool name is 'update_instance' and description states 'Update a Memorystore for Valkey instance.' The verb 'update' indicates modification of existing data/configuration."

## Use case

AI agents use update_instance to create or update resources in Mcp, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Mcp environment.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Mcp:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "update_instance": {
      "limits": [
        {
          "counter": "update_instance_rate",
          "window": "minute",
          "max": 30,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on Mcp (13)

- `delete_backup` — Destructive — https://policylayer.com/tools/com-googleapis-memorystore-mcp/delete-backup.md
- `delete_instance` — Destructive — https://policylayer.com/tools/com-googleapis-memorystore-mcp/delete-instance.md
- `get_backup` — Read — https://policylayer.com/tools/com-googleapis-memorystore-mcp/get-backup.md
- `get_backup_collection` — Read — https://policylayer.com/tools/com-googleapis-memorystore-mcp/get-backup-collection.md
- `get_certificate_authority` — Read — https://policylayer.com/tools/com-googleapis-memorystore-mcp/get-certificate-authority.md
- `get_instance` — Read — https://policylayer.com/tools/com-googleapis-memorystore-mcp/get-instance.md
- `list_backup_collections` — Read — https://policylayer.com/tools/com-googleapis-memorystore-mcp/list-backup-collections.md
- `list_backups` — Read — https://policylayer.com/tools/com-googleapis-memorystore-mcp/list-backups.md
- `list_instances` — Read — https://policylayer.com/tools/com-googleapis-memorystore-mcp/list-instances.md
- `backup_instance` — Write — https://policylayer.com/tools/com-googleapis-memorystore-mcp/backup-instance.md
- `create_instance` — Write — https://policylayer.com/tools/com-googleapis-memorystore-mcp/create-instance.md
- `export_backup` — Write — https://policylayer.com/tools/com-googleapis-memorystore-mcp/export-backup.md
- `reschedule_maintenance` — Write — https://policylayer.com/tools/com-googleapis-memorystore-mcp/reschedule-maintenance.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=com-googleapis-memorystore-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/com-googleapis-memorystore-mcp
