Skip to main content
Glama

get_reservation_details

Read-onlyIdempotent

Get Compute Engine reservation details. 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, zone, and reservation name as input.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesRequired. Identifier. Name of the reservation to retrieve.
zoneYesRequired. The zone of the reservation.
projectYesRequired. Project ID for this request.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoOutput only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
kindNoOutput only. [Output Only] Type of the resource. Always compute#reservations for reservations.compute#reservation
nameNoThe name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035 <https://www.ietf.org/rfc/rfc1035.txt>. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
zoneNoZone in which the reservation resides. A zone must be provided if the reservation is created within a commitment.
paramsNoInput only. Additional params passed with the request, but not persisted as part of resource payload.
statusNoOutput only. [Output Only] The status of the reservation. - CREATING: Reservation resources are being allocated. - READY: Reservation resources have been allocated, and the reservation is ready for use. - DELETING: Reservation deletion is in progress. - UPDATING: Reservation update is in progress.
selfLinkNoOutput only. [Output Only] Server-defined fully-qualified URL for this resource.
commitmentNoOutput only. [Output Only] Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment.
descriptionNoAn optional description of this resource. Provide this property when you create the resource.
deleteAtTimeNoAbsolute 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.
satisfiesPzsNoOutput only. [Output Only] Reserved for future use.
shareSettingsNoSpecify share-settings to create a shared reservation. This property is optional. For more information about the syntax and options for this field and its subfields, see the guide for creating a shared reservation. <https://cloud.google.com/compute/docs/instances/reservations-shared#creating_a_shared_reservation>
deploymentTypeNoSpecifies the deployment strategy for this reservation.
protectionTierNoProtection tier for the workload which specifies the workload expectations in the event of infrastructure failures at data center (e.g. power and/or cooling failures).
resourceStatusNoOutput only. [Output Only] Status information for Reservation resource.
schedulingTypeNoThe type of maintenance for the reservation.
resourceMetadataNoOutput 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.
resourcePoliciesNoResource policies to be added to this reservation. The key is defined by user, and the value is resource policy url. This is to define placement policy with reservation.
creationTimestampNoOutput only. [Output Only] Creation timestamp in RFC3339 <https://www.ietf.org/rfc/rfc3339.txt> text format.
linkedCommitmentsNoOutput only. [Output Only] Full or partial URL to parent commitments. This field displays for reservations that are tied to multiple commitments.
deleteAfterDurationNoDuration time relative to reservation creation when Compute Engine will automatically delete this resource.
specificReservationNoReservation for instances with specific machine shapes.
aggregateReservationNoReservation for aggregated resources, providing shape flexibility.
earlyAccessMaintenanceNoIndicates the early access maintenance for the reservation. If this field is absent or set to NO_EARLY_ACCESS, the reservation is not enrolled in early access maintenance and the standard notice applies.
confidentialComputeTypeNo
reservationSharingPolicyNoSpecify the reservation sharing policy. If unspecified, the reservation will not be shared with Google Cloud managed services.
advancedDeploymentControlNoAdvanced control for cluster management, applicable only to DENSE deployment type reservations.
enableEmergentMaintenanceNoIndicates whether Compute Engine allows unplanned maintenance for your VMs; for example, to fix hardware errors.
specificReservationRequiredNoIndicates whether the reservation can be consumed by VMs with affinity for "any" reservation. If the field is set, then only VMs that target the reservation by name can consume from this reservation.

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint false, so the description only needs to add contextual behavior. It adds value by detailing exactly what properties are returned and by requiring a specific set of identifiers, giving the agent a richer behavioral picture beyond the annotation flags. No contradictions exist.

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

Conciseness4/5

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

The description opens with a concise action statement and then provides a structured enumeration of returned fields, which is useful for an agent deciding whether this tool fits. The field list is lengthy but justified for a 'details' tool; the final sentence about required inputs is somewhat redundant with the schema but still serves as a quick confirmation. Overall, it is well-organized and free of filler.

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

Completeness5/5

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

The description fully covers what the tool does, what it returns, and what inputs are required. Since an output schema exists, return-value details do not need to be repeated, and the annotations already cover the safety/idempotency profile. For a read-only, single-resource detail tool, the description is complete enough for correct invocation.

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?

The input schema descriptions fully document the three required parameters (project, zone, name) with 100% coverage, so the schema carries the semantic burden. The description merely restates that these inputs are required without adding additional parameter-level meaning, such as formats, constraints, or relationship between the parameters.

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

Purpose5/5

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

The description uses a specific verb ('Get') with a clear resource ('Compute Engine reservation details') and then enumerates the distinct types of data returned, such as name, ID, status, machine type, and sharing settings. This detailed property list distinguishes it from sibling tools like get_reservation_basic_info and list_reservations without requiring the agent to compare schemas.

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

Usage Guidelines3/5

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

The description implies this is the tool to use when full reservation details are needed, and the 'Requires project, zone, and reservation name' line signals when it applies. However, it does not explicitly state when to prefer get_reservation_basic_info for a summary or list_reservations for enumeration, so the guidance is more implied than clearly stated.

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.

TDQS

A3.6/5.0
Disambiguation5/5

Each tool targets a distinct resource-action combination. For resources with both basic and detailed getters (reservations, templates), the suffixes clearly differentiate them, and list vs get distinctions are unambiguous. No two tools appear to do the same thing.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern with snake_case (e.g., create_instance, list_disks, get_zone_operation). Getters consistently use descriptive suffixes like basic_info, details, or properties. No mixed naming conventions or vague verbs.

Tool Count4/5

29 tools is slightly above the ideal range but justified given the breadth of Google Compute Engine resources covered (instances, disks, templates, reservations, commitments, MIGs, snapshots, images, machine types, accelerator types). Each tool serves a specific purpose and contributes to the overall scope.

Completeness2/5

The toolset is heavily read-oriented. While instances have full lifecycle coverage (create, delete, start, stop, reset, set machine type), most other resources lack write operations: disks, templates, reservations, commitments, snapshots, and MIGs only have get/list tools. This creates dead ends for agents needing to create or modify these resources, which is a significant gap for a GCE management server.

Resources