Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as mcp. If you published it, claim ownership there.

list_commitment_reservations

Read-onlyIdempotent

Lists reservations for a Compute Engine Commitment. Returns reservation details including name, ID, status, creation timestamp, specific reservation properties like machine type, guest accelerators and local SSDs, aggregate reservation properties like VM family and reserved resources, commitment and linked commitments, sharing settings, and resource status. Requires project, region, and commitment name as input.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project": "<project>",
      "region": "<region>",
      "name": "<name>"
    },
    "name": "list_commitment_reservations"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesRequired. Identifier. Name of the commitment to look up reservations for.
regionYesRequired. The region of the commitment.
projectYesRequired. Project ID for this request.

Output Schema

NameRequiredDescriptionDefault
reservationsNoThe list of reservations.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedOutput schema / $defs / AggregateReservation / properties / vmFamily / enum
      Previous value: -[
      -  "VM_FAMILY_CLOUD_TPU_DEVICE_CT3",
      -  "VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L",
      -  "VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP",
      -  "VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT6E",
      -  "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT3P",
      -  "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P",
      -  "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT5P",
      -  "VM_FAMILY_CLOUD_TPU_POD_SLICE_TPU7X"
      -]New value: +[
      +  "VM_FAMILY_CLOUD_TPU_DEVICE_CT3",
      +  "VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L",
      +  "VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP",
      +  "VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT6E",
      +  "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT3P",
      +  "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P",
      +  "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT5P",
      +  "VM_FAMILY_CLOUD_TPU_POD_SLICE_TPU7X",
      +  "VM_FAMILY_CLOUD_TPU_POD_SLICE_TPU8T",
      +  "VM_FAMILY_CLOUD_TPU_POD_SLICE_TPU8T_METAL"
      +]
    • changedOutput schema / $defs / AggregateReservation / properties / vmFamily / x-google-enum-descriptions
      Previous value: -[
      -  "",
      -  "",
      -  "",
      -  "",
      -  "",
      -  "",
      -  "",
      -  ""
      -]New value: +[
      +  "",
      +  "",
      +  "",
      +  "",
      +  "",
      +  "",
      +  "",
      +  "",
      +  "",
      +  ""
      +]
  2. Changed2 schema fields changed
    • changedOutput schema / $defs / UpcomingMaintenance / properties / maintenanceReasons / items / enum
      Previous value: -[
      -  "FAILURE_DISK",
      -  "FAILURE_GPU",
      -  "FAILURE_GPU_MULTIPLE_FAULTY_HOSTS_CUSTOMER_REPORTED",
      -  "FAILURE_GPU_NVLINK_SWITCH_CUSTOMER_REPORTED",
      -  "FAILURE_GPU_TEMPERATURE",
      -  "FAILURE_GPU_XID",
      -  "FAILURE_INFRA",
      -  "FAILURE_INTERFACE",
      -  "FAILURE_MEMORY",
      -  "FAILURE_NETWORK",
      -  "FAILURE_NVLINK",
      -  "FAILURE_REDUNDANT_HARDWARE_FAULT",
      -  "FAILURE_TPU",
      -  "INFRASTRUCTURE_RELOCATION",
      -  "MAINTENANCE_REASON_UNKNOWN",
      -  "PLANNED_NETWORK_UPDATE",
      -  "PLANNED_UPDATE"
      -]New value: +[
      +  "FAILURE_CUSTOMER_REPORTED",
      +  "FAILURE_DISK",
      +  "FAILURE_GPU",
      +  "FAILURE_GPU_MULTIPLE_FAULTY_HOSTS_CUSTOMER_REPORTED",
      +  "FAILURE_GPU_NVLINK_SWITCH_CUSTOMER_REPORTED",
      +  "FAILURE_GPU_TEMPERATURE",
      +  "FAILURE_GPU_XID",
      +  "FAILURE_INFRA",
      +  "FAILURE_INTERFACE",
      +  "FAILURE_MEMORY",
      +  "FAILURE_NETWORK",
      +  "FAILURE_NVLINK",
      +  "FAILURE_REDUNDANT_HARDWARE_FAULT",
      +  "FAILURE_TPU",
      +  "INFRASTRUCTURE_RELOCATION",
      +  "MAINTENANCE_REASON_UNKNOWN",
      +  "PLANNED_NETWORK_UPDATE",
      +  "PLANNED_UPDATE"
      +]
    • changedOutput schema / $defs / UpcomingMaintenance / properties / maintenanceReasons / items / x-google-enum-descriptions
      Previous value: -[
      -  "Maintenance due to disk errors.",
      -  "Maintenance due to GPU errors.",
      -  "Maintenance due to customer reported multiple faulty hosts via R&R Subblock API.",
      -  "Maintenance due to customer reported NVLink switch failure via R&R Subblock API.",
      -  "Maintenance due to high GPU temperature.",
      -  "Maintenance due to GPU xid failure.",
      -  "Maintenance due to infrastructure errors.",
      -  "Maintenance due to interface errors.",
      -  "Maintenance due to memory errors.",
      -  "Maintenance due to network errors.",
      -  "Maintenance due to NVLink failure.",
      -  "Maintenance due to redundant hardware fault.",
      -  "Maintenance due to TPU errors.",
      -  "Maintenance due to infrastructure relocation.",
      -  "Unknown maintenance reason. Do not use this value.",
      -  "Maintenance due to planned network update.",
      -  "Maintenance due to planned update to the instance."
      -]New value: +[
      +  "Maintenance due to a fault reported by the customer via the R&R (Report-and-Replace) API.",
      +  "Maintenance due to disk errors.",
      +  "Maintenance due to GPU errors.",
      +  "Maintenance due to customer reported multiple faulty hosts via R&R Subblock API.",
      +  "Maintenance due to customer reported NVLink switch failure via R&R Subblock API.",
      +  "Maintenance due to high GPU temperature.",
      +  "Maintenance due to GPU xid failure.",
      +  "Maintenance due to infrastructure errors.",
      +  "Maintenance due to interface errors.",
      +  "Maintenance due to memory errors.",
      +  "Maintenance due to network errors.",
      +  "Maintenance due to NVLink failure.",
      +  "Maintenance due to redundant hardware fault.",
      +  "Maintenance due to TPU errors.",
      +  "Maintenance due to infrastructure relocation.",
      +  "Unknown maintenance reason. Do not use this value.",
      +  "Maintenance due to planned network update.",
      +  "Maintenance due to planned update to the instance."
      +]
  3. Changed5 schema fields changed
    • changedOutput schema / $defs / Reservation / properties / aggregateReservation / description
      Previous value: -"Reservation for aggregated resources, providing shape flexibility."New value: +"Reservation for aggregated resources, providing shape flexibility. Only one of this field or specificReservation should be set."
    • changedOutput schema / $defs / Reservation / properties / deleteAfterDuration / description
      Previous value: -"Duration time relative to reservation creation when Compute Engine will automatically delete this resource."New value: +"Duration time relative to reservation creation when Compute Engine will automatically delete this resource. Only one of this field or deleteAtTime should be set."
    • changedOutput schema / $defs / Reservation / properties / deleteAtTime / description
      Previous value: -"Absolute time in future when the reservation will be auto-deleted by Compute Engine. Timestamp is represented in RFC3339 <https://www.ietf.org/rfc/rfc3339.txt> text format."New value: +"Absolute time in future when the reservation will be auto-deleted by Compute Engine. Timestamp is represented in RFC3339 <https://www.ietf.org/rfc/rfc3339.txt> text format. Only one of this field or deleteAfterDuration should be set."
    • changedOutput schema / $defs / Reservation / properties / specificReservation / description
      Previous value: -"Reservation for instances with specific machine shapes."New value: +"Reservation for instances with specific machine shapes. Only one of this field or aggregateReservation should be set."
    • addedOutput schema / $defs / ResourceStatus / properties / machineCount
      Added value: +{
      +  "description": "The number of machines in the reservation. Only populated for families where machine to host ratio is not 1:1 such as TPU8i.",
      +  "format": "int32",
      +  "type": "integer"
      +}
  4. Changed2 schema fields changed
    • changedOutput schema / $defs / Reservation / properties / confidentialComputeType / enum
      Previous value: -[
      -  "CONFIDENTIAL_COMPUTE_TYPE_TDX",
      -  "CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED"
      -]New value: +[
      +  "CONFIDENTIAL_COMPUTE_TYPE_BMSAI",
      +  "CONFIDENTIAL_COMPUTE_TYPE_TDX",
      +  "CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED"
      +]
    • changedOutput schema / $defs / Reservation / properties / confidentialComputeType / x-google-enum-descriptions
      Previous value: -[
      -  "Intel Trust Domain Extensions.",
      -  ""
      -]New value: +[
      +  "Bare Metal Secure AI.",
      +  "Intel Trust Domain Extensions.",
      +  ""
      +]
  5. Changed3 schema fields changed
    • addedOutput schema / $defs / Reservation / properties / confidentialComputeType
      Added value: +{
      +  "enum": [
      +    "CONFIDENTIAL_COMPUTE_TYPE_TDX",
      +    "CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED"
      +  ],
      +  "type": "string",
      +  "x-google-enum-descriptions": [
      +    "Intel Trust Domain Extensions.",
      +    ""
      +  ]
      +}
    • addedOutput schema / $defs / Reservation / properties / resourceMetadata
      Added value: +{
      +  "$ref": "#/$defs/ResourceMetadata",
      +  "description": "Output only. [Output Only] Contains standard resource metadata for an Allocation resource. It is populated for each instance of the Allocation resource, and includes the api_version the instance was retrieved through, and its canonical resource_type name.",
      +  "readOnly": true
      +}
    • addedOutput schema / $defs / ResourceMetadata
      Added value: +{
      +  "description": "Standardized resource metadata common to all compute resources.",
      +  "properties": {
      +    "apiVersion": {
      +      "description": "The version of the API interface that this resource was retrieved through. For example, `\"2025-01-01\"` or `\"2025-01-01-preview\"`.",
      +      "type": "string"
      +    },
      +    "resourceType": {
      +      "description": "The canonical resource type name in the format of a resource type as defined by [AIP-123](https://google.aip.dev/123). For example, `\"compute.googleapis.com/Instance\"`.",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  6. Changed1 schema field changed
    • removedOutput schema / $defs / Reservation / properties / confidentialComputeType
      Removed value: -{
      -  "enum": [
      -    "CONFIDENTIAL_COMPUTE_TYPE_TDX",
      -    "CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED"
      -  ],
      -  "type": "string",
      -  "x-google-enum-descriptions": [
      -    "Intel Trust Domain Extensions.",
      -    ""
      -  ]
      -}
  7. Changed1 schema field changed
    • addedOutput schema / $defs / Reservation / properties / confidentialComputeType
      Added value: +{
      +  "enum": [
      +    "CONFIDENTIAL_COMPUTE_TYPE_TDX",
      +    "CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED"
      +  ],
      +  "type": "string",
      +  "x-google-enum-descriptions": [
      +    "Intel Trust Domain Extensions.",
      +    ""
      +  ]
      +}
  8. Changed1 schema field changed
    • removedOutput schema / $defs / Reservation / properties / confidentialComputeType
      Removed value: -{
      -  "enum": [
      -    "CONFIDENTIAL_COMPUTE_TYPE_TDX",
      -    "CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED"
      -  ],
      -  "type": "string",
      -  "x-google-enum-descriptions": [
      -    "Intel Trust Domain Extensions.",
      -    ""
      -  ]
      -}
  9. Changed1 schema field changed
    • addedOutput schema / $defs / Reservation / properties / confidentialComputeType
      Added value: +{
      +  "enum": [
      +    "CONFIDENTIAL_COMPUTE_TYPE_TDX",
      +    "CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED"
      +  ],
      +  "type": "string",
      +  "x-google-enum-descriptions": [
      +    "Intel Trust Domain Extensions.",
      +    ""
      +  ]
      +}
  10. First observed

TDQS

C2.8/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is fully covered by structured data. The description adds almost nothing beyond that: no pagination behavior, no result limits, no statement about what happens when the commitment has no reservations. Its long enumeration of return fields duplicates the existing output schema rather than disclosing behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded in one clean sentence, but the second sentence is a long, unstructured laundry list of returned fields (name, ID, status, timestamps, machine type, accelerators, SSDs, VM family, linked commitments, sharing settings) that adds bulk without orientation. Roughly half the text is redundant with the output schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only list tool with a full output schema and complete annotations, most of the definition's obligations are already met by structured fields. Still missing is anything about result volume, empty-list behavior, or how this differs from list_reservations, leaving genuine gaps for an agent deciding whether to call it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and all three parameters are required with descriptions, so the schema carries the parameter semantics. The description's 'Requires project, region, and commitment name' merely repeats the required list without adding format, scope, or constraint detail; baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence states a specific verb and resource ('Lists reservations for a Compute Engine Commitment'), so the operation is unambiguous. It does not differentiate from the sibling 'list_reservations', which reads as a near-identical listing operation, so an agent gets no help choosing between them from the text alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance and no named alternative; the closest sibling, list_reservations, is never mentioned. The only contextual sentence ('Requires project, region, and commitment name as input') restates the schema rather than advising on invocation.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources