Skip to main content
Glama

Mount Volumeset to Workload

mount_volumeset_to_workload
Idempotent

Attach a volumeset to a workload by adding a mount to its FIRST container. Additive: existing mounts and stored data stay as they are, a mount path already in use is refused, and a read-write-once volumeset another workload uses is refused; the workload rolls out again to pick up the mount. Creates the volumeset when missing; size/fileSystemType/performanceClass apply ONLY on that create path and are ignored when the volumeset already exists. Workload-type rule: ext4/xfs (read-write-once) volumesets require a stateful or vm workload and bind to ONE workload; shared-filesystem volumesets mount on any workload type.

Input Schema

NameRequiredDescriptionDefault
gvcYesGVC name.
orgNoOrganization slug.
sizeNoInitial capacity in GB, CREATE-ONLY (ignored when the volumeset already exists; run_volumeset_command expandVolume grows it). Required when creating. Min 10 (200 for high-throughput-ssd), max 65536.
tagsNoOptional tags for the volumeset; use them like Kubernetes labels for governance and search.
mountPathNoMount path inside the container (defaults to /mnt/{volumesetName}). Normalized before validation (".." resolved, "//" collapsed); reserved paths /dev, /dev/log, /tmp, /var, /var/log are rejected.
descriptionNoVolumeset description so operators know what data lives here (treat it like a Kubernetes annotation).
workloadNameYesExisting workload name to mount storage into; pass the name only, not a link.
volumesetNameNoOptional volumeset resource name, not a link. Omit to use {workloadName}-vol. If this volumeset does not exist yet, `size` is required so the tool can create it before mounting.
fileSystemTypeNoFile system type — CREATE-ONLY (ignored when the volumeset already exists); default xfs. ext4/xfs are read-write-once (stateful or vm workloads only); shared is read-write-many (any workload type).
performanceClassNoPerformance class — CREATE-ONLY (ignored when the volumeset already exists); default general-purpose-ssd. high-throughput-ssd requires size ≥ 200; shared pairs only with fileSystemType shared.

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. Changed1 schema field changed
    • removedInput schema / properties / recoveryPolicy
      Removed value: -{
      -  "description": "What a NEW replica does when a matching volume already exists: \"retain\" (default) reuses the data, \"recycle\" starts fresh (schema/volumeSpec recoveryPolicy).",
      -  "enum": [
      -    "retain",
      -    "recycle"
      -  ],
      -  "type": "string"
      -}
  2. Changed2 schema fields changed
    • 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."
    • changedInput schema / properties / size / description
      Previous value: -"Initial capacity in GB — CREATE-ONLY (ignored when the volumeset already exists; expand_volumeset grows it). Required when creating. Min 10 (200 for high-throughput-ssd), max 65536."New value: +"Initial capacity in GB, CREATE-ONLY (ignored when the volumeset already exists; run_volumeset_command expandVolume grows it). Required when creating. Min 10 (200 for high-throughput-ssd), max 65536."
  3. Changed29 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / description / maxLength
      Removed value: -250
    • changedInput schema / properties / gvc / description
      Previous value: -"GVC slug (lowercase kebab-case). Use the GVC the user named; otherwise discover with list_resources (kind=\"gvc\") and let them choose — never guess (a wrong GVC targets the wrong environment)."New value: +"GVC slug. If the user named none, list_resources (kind \"gvc\") and let them choose."
    • removedInput schema / properties / gvc / maxLength
      Removed value: -63
    • removedInput schema / properties / gvc / minLength
      Removed value: -1
    • removedInput schema / properties / gvc / pattern
      Removed value: -"^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$"
    • removedInput schema / properties / mountPath / minLength
      Removed value: -1
    • changedInput schema / properties / org / description
      Previous value: -"Organization slug (lowercase kebab-case). NEVER guess — if the user has not named one, ask. On org-not-found, stop and ask; do not retry variants."New value: +"Organization slug."
    • removedInput schema / properties / org / maxLength
      Removed value: -63
    • removedInput schema / properties / org / minLength
      Removed value: -1
    • removedInput schema / properties / org / pattern
      Removed value: -"^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$"
    • removedInput schema / properties / tags / items / additionalProperties
      Removed value: -false
    • removedInput schema / properties / tags / items / properties / key / minLength
      Removed value: -1
    • removedInput schema / properties / tags / maxItems
      Removed value: -50
    • removedInput schema / properties / volumesetName / maxLength
      Removed value: -64
    • removedInput schema / properties / volumesetName / minLength
      Removed value: -2
    • removedInput schema / properties / volumesetName / pattern
      Removed value: -"^[a-z]([-a-z0-9])*[a-z0-9]$"
    • removedInput schema / properties / workloadName / maxLength
      Removed value: -64
    • removedInput schema / properties / workloadName / minLength
      Removed value: -2
    • removedInput schema / properties / workloadName / pattern
      Removed value: -"^[a-z]([-a-z0-9])*[a-z0-9]$"
    • changedInput schema / required
      Previous value: -[
      -  "org",
      -  "gvc",
      -  "workloadName"
      -]New value: +[
      +  "gvc",
      +  "workloadName"
      +]
    • removedOutput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedOutput schema / additionalProperties
      Removed value: -false
    • changedOutput schema / properties / data / description
      Previous value: -"The full machine-readable result — list rows, the resource object, query results. Read THIS, not just the summary."New value: +"The full result. Read this, not only the summary."
    • addedOutput schema / properties / details
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / properties / nextSteps / description
      Removed value: -"Recommended follow-up actions for this task, in order."
    • removedOutput schema / properties / ok / description
      Removed value: -"Whether the call succeeded."
    • removedOutput schema / properties / summary / description
      Removed value: -"One-line summary of the result."
  4. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.