MCP Tools Reference: compute.googleapis.com Stay organized with collections Save and categorize content based on your preferences.
Tool:get_disk_performance_config
Get performance configuration of a Compute Engine disk, including its type, size, provisioned IOPS, provisioned throughput, physical block size, storage pool and access mode. Requires project, zone, and disk name as input.
The following sample demonstrate how to usecurl to invoke theget_disk_performance_config MCP tool.
| Curl Request |
|---|
curl--location'https://compute.googleapis.com/mcp'\--header'content-type: application/json'\--header'accept: application/json, text/event-stream'\--data'{ "method": "tools/call", "params": { "name": "get_disk_performance_config", "arguments": { // provide these details according to the tool'sMCPspecification}},"jsonrpc":"2.0","id":1}' |
Input Schema
Request message for getting disk performance configuration.
| JSON representation |
|---|
{"project":string,"zone":string,"name":string} |
| Fields | |
|---|---|
project |
Required. Project ID for this request. |
zone |
Required. The zone of the disk. |
name |
Required. Identifier. The disk name. |
Output Schema
Performance configuration of a disk.
| JSON representation |
|---|
{"type":string,"sizeGb":string,"provisionedIops":string,"provisionedThroughput":string,"physicalBlockSizeBytes":string,"storagePool":string,"accessMode":enum ( |
| Fields | |
|---|---|
type |
URL of the disk type resource. |
sizeGb |
Size of the disk in GB. |
provisionedIops |
Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. |
provisionedThroughput |
Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. |
physicalBlockSizeBytes |
Physical block size of the persistent disk, in bytes. |
storagePool |
The storage pool of the disk. |
accessMode |
The access mode of the disk. |
Tool Annotations
Destructive Hint: ❌ | Idempotent Hint: ✅ | Read Only Hint: ✅ | Open World Hint: ❌
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-10 UTC.