Skip to main content
Glama

Grant Cloud Access

grant_cloud_access
DestructiveIdempotent

Give a workload credential-free access to AWS, GCP, or Azure resources through a cloud account: ensures the workload has an identity, binds the provider access to it (policyRefs or roleName for AWS, bindings or serviceAccount for GCP, roleAssignments for Azure), and waits until the identity reports it usable (an existing roleName or serviceAccount is not checked). The cloud account must exist already (create_cloud_account and how_to_create_cloud_account, which need ?toolsets=full). Replaces this identity's existing provider configuration, so previous access can be revoked for every workload sharing the identity. No key passes through the chat.

Input Schema

NameRequiredDescriptionDefault
awsNoWith provider aws: policyRefs or roleName, one of the two.
gcpNoWith provider gcp: bindings or serviceAccount, one of the two.
gvcYesGVC name.
orgNoOrganization slug.
azureNoWith provider azure.
providerYes
workloadYesWorkload that needs the access.
waitSecondsNoSeconds to wait on the server until the identity reports the access usable, 0 to 45. The call returns as soon as it is, or with the latest state when the time runs out. Use this instead of calling again and again.
cloudAccountYesAn existing cloud account of that provider (create_cloud_account, needs `?toolsets=full`).

Output Schema

NameRequiredDescriptionDefault
okYes
dataNoThe full result. Read this, not only the summary.
detailsNo
summaryYes
nextStepsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / azure / properties / roleAssignments / description
      Previous value: -"Roles per scope, e.g. { scope: \"/subscriptions/.../resourceGroups/RG\", roles: [\"Storage Blob Data Reader\"] }."New value: +"Roles per scope, e.g. { scope: \"/subscriptions/.../resourceGroups/RG\", roles: [\"Storage Blob Data Reader\"] }; no scope means the subscription."
    • changedInput schema / properties / azure / properties / roleAssignments / items / required
      Previous value: -[
      -  "scope",
      -  "roles"
      -]New value: +[
      +  "roles"
      +]
    • changedInput schema / properties / gcp / properties / bindings / description
      Previous value: -"Roles per resource, e.g. { resource: \"//storage.googleapis.com/projects/_/buckets/NAME\", roles: [\"roles/storage.objectViewer\"] }."New value: +"Roles per resource, e.g. { resource: \"//storage.googleapis.com/projects/_/buckets/NAME\", roles: [\"roles/storage.objectViewer\"] }; no resource means the project."
    • changedInput schema / properties / gcp / properties / bindings / items / required
      Previous value: -[
      -  "resource",
      -  "roles"
      -]New value: +[
      +  "roles"
      +]
  2. Changed2 schema fields changed
    • changedInput schema / properties / cloudAccount / description
      Previous value: -"An existing cloud account of that provider (create_cloud_account, full profile)."New value: +"An existing cloud account of that provider (create_cloud_account, needs `?toolsets=full`)."
    • changedInput schema / properties / gvc / description
      Previous value: -"GVC slug. If the user named none, list_resources (kind \"gvc\") and let them choose."New value: +"GVC name."
  3. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.