Tool: list_quota_infos
Lists QuotaInfos of all quotas for a given project, folder, or organization. Expected request structure: 'parent' (string, format: projects/{project}/locations/global/services/{service}, folders/{folder}/locations/global/services/{service}, or organizations/{organization}/locations/global/services/{service}), 'page_size' is automatically fixed to 100.
The following sample demonstrate how to use curl to invoke the list_quota_infos MCP tool.
| Curl Request |
|---|
curl --location 'https://cloudquotas.googleapis.com/mcp' \ --header 'content-type: application/json' \ --header 'accept: application/json, text/event-stream' \ --data '{ "method": "tools/call", "params": { "name": "list_quota_infos", "arguments": { // provide these details according to the tool's MCP specification } }, "jsonrpc": "2.0", "id": 1 }' |
Input Schema
Message for requesting list of QuotaInfos
ListQuotaInfosRequest
| JSON representation |
|---|
{ "parent": string, "pageSize": integer, "pageToken": string } |
| Fields | |
|---|---|
parent |
Required. Identifier. Parent value of QuotaInfo resources. Listing across different resource containers (such as 'projects/-') is not allowed. Example names: |
pageSize |
Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. |
pageToken |
Optional. A token identifying a page of results the server should return. |
Output Schema
Message for response to listing QuotaInfos
ListQuotaInfosResponse
| JSON representation |
|---|
{
"quotaInfos": [
{
object ( |
| Fields | |
|---|---|
quotaInfos[] |
The list of QuotaInfo |
nextPageToken |
A token, which can be sent as |
QuotaInfo
| JSON representation |
|---|
{ "name": string, "quotaId": string, "metric": string, "service": string, "isPrecise": boolean, "refreshInterval": string, "containerType": enum ( |
| Fields | |
|---|---|
name |
Resource name of this QuotaInfo. The ID component following "locations/" must be "global". For example, |
quotaId |
The id of the quota, which is unique within the service. For example, |
metric |
The metric of the quota. It specifies the resources consumption the quota is defined for. For example, |
service |
The name of the service in which the quota is defined. For example, |
isPrecise |
Whether this is a precise quota. A precise quota is tracked with absolute precision. In contrast, an imprecise quota is not tracked with precision. |
refreshInterval |
The reset time interval for the quota. Refresh interval applies to rate quota only. For example, "minute" for per minute, "day" for per day, or "10 seconds" for every 10 seconds. |
containerType |
The container type of the QuotaInfo. |
dimensions[] |
The dimensions the quota is defined on. |
metricDisplayName |
The display name of the quota metric |
quotaDisplayName |
The display name of the quota. |
metricUnit |
The unit in which the metric value is reported, e.g., "MByte". |
quotaIncreaseEligibility |
Whether it is eligible to request a higher quota value for this quota. |
isFixed |
Whether the quota value is fixed or adjustable |
dimensionsInfos[] |
The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones. |
isConcurrent |
Whether the quota is a concurrent quota. Concurrent quotas are enforced on the total number of concurrent operations in flight at any given time. |
serviceRequestQuotaUri |
URI to the page where users can request more quota for the cloud service—for example, https://console.cloud.google.com/iam-admin/quotas. |
QuotaIncreaseEligibility
| JSON representation |
|---|
{
"isEligible": boolean,
"ineligibilityReason": enum ( |
| Fields | |
|---|---|
isEligible |
Whether a higher quota value can be requested for the quota. |
ineligibilityReason |
The reason of why it is ineligible to request increased value of the quota. If the is_eligible field is true, it defaults to INELIGIBILITY_REASON_UNSPECIFIED. |
DimensionsInfo
| JSON representation |
|---|
{
"dimensions": {
string: string,
...
},
"details": {
object ( |
| Fields | |
|---|---|
dimensions |
The map of dimensions in key-value pairs. The key of a map entry is "region", "zone", or the name of a service-specific dimension, and the value of a map entry is the value of the dimension. If a dimension does not appear in the map of dimensions, the dimensions info applies to all the dimension values except for those that have another DimensionInfo instance configured for the specific value. For example: An object containing a list of |
details |
Quota details for the specified dimensions. |
applicableLocations[] |
The applicable regions or zones of this dimension. The field is set to ['global'] for quotas that are not per region or per zone. Otherwise, it will be set to the list of locations this dimension info is applicable to. |
DimensionsEntry
| JSON representation |
|---|
{ "key": string, "value": string } |
| Fields | |
|---|---|
key |
|
value |
|
QuotaDetails
| JSON representation |
|---|
{
"value": string,
"rolloutInfo": {
object ( |
| Fields | |
|---|---|
value |
The value currently in effect and being enforced. |
rolloutInfo |
Rollout information of this quota. This field is present only if the effective limit will change due to the ongoing rollout of the service config. |
RolloutInfo
| JSON representation |
|---|
{ "ongoingRollout": boolean } |
| Fields | |
|---|---|
ongoingRollout |
Whether there is an ongoing rollout for a quota or not. |
ContainerType
The enumeration of the types of a cloud resource container.
| Enums | |
|---|---|
CONTAINER_TYPE_UNSPECIFIED |
Unspecified container type. |
PROJECT |
consumer project |
FOLDER |
folder |
ORGANIZATION |
organization |
IneligibilityReason
The enumeration of reasons when it is ineligible to request increase adjustment.
| Enums | |
|---|---|
INELIGIBILITY_REASON_UNSPECIFIED |
Default value when is_eligible is true. |
NO_VALID_BILLING_ACCOUNT |
The container is not linked with a valid billing account. |
NOT_SUPPORTED |
Quota increase is not supported for the quota. |
NOT_ENOUGH_USAGE_HISTORY |
There is not enough usage history to determine the eligibility. |
OTHER |
Other reasons. |
Tool Annotations
Destructive Hint: ❌ | Idempotent Hint: ✅ | Read Only Hint: ✅ | Open World Hint: ✅