# create_instance

Create a Memorystore for Valkey instance.

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

## Facts

- Tool: `create_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: 4 (3 required)
- Recommended policy verdict: Rate-limited

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `parent` | string | yes | Required. The parent resource where this instance will be created. Format: projects/{project}/locations/{location} |
| `instance` | object | yes | Required. The instance to create. |
| `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 |
| `instanceId` | string | yes | Required. The ID to use for the instance, which will become the final component of the instance's resource name. This value is subject to the following restrict |

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": "create_instance",
    "arguments": {
      "parent": "<parent>",
      "instance": {},
      "instanceId": "<instanceId>"
    }
  }
}
```

## Why create_instance is rated Medium

This tool creates a new Memorystore for Valkey instance, which is a write operation that modifies cloud infrastructure state. While reversible (unlike destructive operations), it has high severity because creating instances can incur ongoing costs and consume quota/resources.

From the tool's own definition: "Tool name 'create_instance' and description 'Create a Memorystore for Valkey instance' indicate data structure creation that is reversible (via delete_instance)."

## Use case

AI agents use create_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": {
    "create_instance": {
      "limits": [
        {
          "counter": "create_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
- `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
- `update_instance` — Write — https://policylayer.com/tools/com-googleapis-memorystore-mcp/update-instance.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
