Skip to main content
Glama

Read backup storage configuration

backup_storage_get
Read-onlyIdempotent

Read a backup destination's configuration—endpoint, bucket, region, prefix, credential status and latest verification—without exposing access keys. Resolve names with backup_storages_list first.

Instructions

Read backup storage configuration

Returns the selected destination’s endpoint, bucket, region, prefix, credential-configured flag and latest verification without access keys. Resolve names with backup_storages_list in the selected namespace; a missing record returns 404.

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": {
      "storage": "<storage>"
    },
    "name": "backup_storage_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
storageYesDestination name returned by backup_storages_list or backup_storage_get in the selected namespace, passed verbatim as a 1–128 character string. New names use 2–63 lowercase letters, digits or hyphens, starting with a letter.
namespaceNoNamespace of the requested object; defaults to default for single-object routes and creation. On collection routes (/clusters, /operations, /events, /events/stream, /orphaned-volumes, /backup-storages and root /metrics), absence includes all authorized namespaces and a value filters to that namespace. A nonexistent explicit namespace returns 404 not_found with resource namespace and its name only when the authenticated caller has a permission in that namespace. Otherwise collections remain empty and object requests retain their normal 403 response without revealing existence. Public and unauthenticated authentication routes do not resolve the parameter.

Output Schema

NameRequiredDescriptionDefault
nameYes
typeYes
bucketYes
prefixNo
regionYes
createdAtNo
namespaceYes
updatedAtNo
verifyTLSYes
descriptionNo
endpointURLYes
operationIdNo
verificationNoLatest access check for the current connection configuration. Absent until checked, and cleared when connection settings or credentials change.
forcePathStyleYes
credentialsConfiguredYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • removedInput schema / $defs / NamespaceName
      Removed value: -{
      -  "description": "Project namespace name, 2–32 lowercase letters, digits or hyphens; starts with a letter and ends with a letter or digit. The existing default namespace is reserved.",
      -  "maxLength": 32,
      -  "minLength": 2,
      -  "pattern": "^[a-z][a-z0-9-]{0,30}[a-z0-9]$",
      -  "type": "string"
      -}
    • addedInput schema / $defs / NamespaceName_depth16
      Added value: +{
      +  "description": "Project namespace name, 2–32 lowercase letters, digits or hyphens; starts with a letter and ends with a letter or digit. The existing default namespace is reserved.",
      +  "maxLength": 32,
      +  "minLength": 2,
      +  "pattern": "^[a-z][a-z0-9-]{0,30}[a-z0-9]$",
      +  "type": "string"
      +}
    • changedInput schema / properties / namespace / $ref
      Previous value: -"#/$defs/NamespaceName"New value: +"#/$defs/NamespaceName_depth16"
    • addedInput schema / properties / namespace / description
      Added value: +"Namespace of the requested object; defaults to default for single-object routes and creation. On collection routes (/clusters, /operations, /events, /events/stream, /orphaned-volumes, /backup-storages and root /metrics), absence includes all authorized namespaces and a value filters to that namespace. A nonexistent explicit namespace returns 404 not_found with resource namespace and its name only when the authenticated caller has a permission in that namespace. Otherwise collections remain empty and object requests retain their normal 403 response without revealing existence. Public and unauthenticated authentication routes do not resolve the parameter."
    • addedInput schema / properties / storage / description
      Added value: +"Destination name returned by backup_storages_list or backup_storage_get in the selected namespace, passed verbatim as a 1–128 character string. New names use 2–63 lowercase letters, digits or hyphens, starting with a letter."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "NamespaceName_depth15": {
      +      "description": "Project namespace name, 2–32 lowercase letters, digits or hyphens; starts with a letter and ends with a letter or digit. The existing default namespace is reserved.",
      +      "maxLength": 32,
      +      "minLength": 2,
      +      "pattern": "^[a-z][a-z0-9-]{0,30}[a-z0-9]$",
      +      "type": "string"
      +    },
      +    "StorageVerification_depth15": {
      +      "additionalProperties": false,
      +      "description": "Checks S3 read/write/delete access and TLS without exposing credentials. A completed verification returns HTTP 200 even on failure, with verified false, failureReason and actionable message.",
      +      "properties": {
      +        "checkedAt": {
      +          "format": "date-time",
      +          "type": "string"
      +        },
      +        "failureReason": {
      +          "description": "Present when verified is false; categorized, secret-free cause.",
      +          "enum": [
      +            "access_denied",
      +            "bucket_not_found",
      +            "clock_skew",
      +            "endpoint_not_allowed",
      +            "tls_error",
      +            "unreachable",
      +            "timeout",
      +            "unknown"
      +          ],
      +          "type": "string"
      +        },
      +        "message": {
      +          "type": "string"
      +        },
      +        "verified": {
      +          "type": "boolean"
      +        }
      +      },
      +      "required": [
      +        "verified",
      +        "checkedAt",
      +        "message"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "additionalProperties": false,
      +  "properties": {
      +    "bucket": {
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "createdAt": {
      +      "format": "date-time",
      +      "type": "string"
      +    },
      +    "credentialsConfigured": {
      +      "readOnly": true,
      +      "type": "boolean"
      +    },
      +    "description": {
      +      "type": "string"
      +    },
      +    "endpointURL": {
      +      "format": "uri",
      +      "type": "string"
      +    },
      +    "forcePathStyle": {
      +      "default": true,
      +      "type": "boolean"
      +    },
      +    "name": {
      +      "maxLength": 128,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "namespace": {
      +      "allOf": [
      +        {
      +          "$ref": "#/$defs/NamespaceName_depth15"
      +        }
      +      ],
      +      "readOnly": true
      +    },
      +    "operationId": {
      +      "type": "string"
      +    },
      +    "prefix": {
      +      "type": "string"
      +    },
      +    "region": {
      +      "type": "string"
      +    },
      +    "type": {
      +      "enum": [
      +        "s3"
      +      ],
      +      "type": "string"
      +    },
      +    "updatedAt": {
      +      "format": "date-time",
      +      "type": "string"
      +    },
      +    "verification": {
      +      "allOf": [
      +        {
      +          "$ref": "#/$defs/StorageVerification_depth15"
      +        }
      +      ],
      +      "description": "Latest access check for the current connection configuration. Absent until checked, and cleared when connection settings or credentials change.",
      +      "readOnly": true
      +    },
      +    "verifyTLS": {
      +      "default": true,
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "namespace",
      +    "name",
      +    "type",
      +    "endpointURL",
      +    "region",
      +    "bucket",
      +    "forcePathStyle",
      +    "verifyTLS",
      +    "credentialsConfigured"
      +  ],
      +  "type": "object"
      +}
  2. First observedv0.4.3

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuinely non-obvious behavior: credentials are reported only as a configured flag and access keys are never returned, plus the 404-on-missing-record outcome. It stops short of covering permission requirements for the namespace, which the schema discusses instead.

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?

Structure is sensible: purpose first, then what is returned, then how to resolve the name and the error case. The opening line merely restates the title verbatim, which is mild waste, but the remaining sentences each carry information.

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

Completeness4/5

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

With an output schema present, the return-value enumeration is partly redundant, yet the security-relevant note about omitted access keys justifies its presence. Coverage of name resolution and the 404 case makes the definition sufficient for correct invocation; only auth/permission prerequisites for the selected namespace are left implicit.

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%, including a detailed namespace definition, so the schema carries the parameter burden and a 3 baseline applies. The description adds only the provenance of the storage name (obtained from backup_storages_list), which the schema already states, and says nothing extra about namespace scoping.

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 gives a specific verb and resource ("Read backup storage configuration") and immediately enumerates the fields returned (endpoint, bucket, region, prefix, credential-configured flag, latest verification). It also names the sibling used for name resolution (backup_storages_list), so an agent can distinguish this single-record read from the list tool without opening either schema.

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

Usage Guidelines4/5

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

It tells the agent the prerequisite workflow — resolve names with backup_storages_list in the selected namespace — and states the failure mode (a missing record returns 404). It does not spell out a when-not-to-use case, but the single-object vs. list split is clear from context.

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

Deploy Server

Other Tools