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 use curl to invoke the get_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's MCP specification } }, "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: ❌