Skip to main content
Glama

Get backup drill

backup_drill_get
Read-only

Retrieve a backup drill report to inspect restore-test source, backup, phase, target cluster, verification, and cleanup status. Use the drill list for IDs; missing or cross-cluster reports return 404.

Instructions

Get backup drill

Returns the selected report’s source, backup, phase, target cluster, verification results and cleanup state for asynchronous restore testing. Resolve IDs with backup_drills_list; missing reports or reports belonging to another source cluster return 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": {
      "cluster": "<cluster>",
      "drill": "<drill>"
    },
    "name": "backup_drill_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
drillYesOpaque report ID returned by backup_drills_list or backup_drill_create, passed verbatim as a 1–128 character string; it must belong to the source cluster in the path.
clusterYesManaged cluster name; the RBAC object is namespace/cluster.
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
idYes
errorNo
phaseYes
backupNo
checksNo
cleanupNo
clusterYes
readyAtNo
triggerYes
createdAtYes
namespaceYes
startedAtNo
backupTypeNo
completedAtNo
limitationsNo
operationIdNo
targetClusterNo
dataAgeSecondsNo
totalDurationSecondsNo
restoreDurationSecondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 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"
      +}
    • addedInput schema / properties / cluster / description
      Added value: +"Managed cluster name; the RBAC object is namespace/cluster."
    • addedInput schema / properties / drill / description
      Added value: +"Opaque report ID returned by backup_drills_list or backup_drill_create, passed verbatim as a 1–128 character string; it must belong to the source cluster in the path."
    • 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."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "BackupDrillCheck_depth15": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "message": {
      +          "type": "string"
      +        },
      +        "name": {
      +          "type": "string"
      +        },
      +        "passed": {
      +          "type": "boolean"
      +        }
      +      },
      +      "required": [
      +        "name",
      +        "passed"
      +      ],
      +      "type": "object"
      +    },
      +    "BackupDrillCleanup_depth15": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "orphanedVolumes": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "phase": {
      +          "enum": [
      +            "Pending",
      +            "Done",
      +            "Failed"
      +          ],
      +          "type": "string",
      +          "x-enum-varnames": [
      +            "BackupDrillCleanupPhasePending",
      +            "BackupDrillCleanupPhaseDone",
      +            "BackupDrillCleanupPhaseFailed"
      +          ]
      +        }
      +      },
      +      "required": [
      +        "phase",
      +        "orphanedVolumes"
      +      ],
      +      "type": "object"
      +    },
      +    "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"
      +    }
      +  },
      +  "additionalProperties": false,
      +  "properties": {
      +    "backup": {
      +      "type": "string"
      +    },
      +    "backupType": {
      +      "type": "string"
      +    },
      +    "checks": {
      +      "items": {
      +        "$ref": "#/$defs/BackupDrillCheck_depth15"
      +      },
      +      "type": "array"
      +    },
      +    "cleanup": {
      +      "$ref": "#/$defs/BackupDrillCleanup_depth15"
      +    },
      +    "cluster": {
      +      "type": "string"
      +    },
      +    "completedAt": {
      +      "format": "date-time",
      +      "type": "string"
      +    },
      +    "createdAt": {
      +      "format": "date-time",
      +      "type": "string"
      +    },
      +    "dataAgeSeconds": {
      +      "format": "int64",
      +      "type": "integer"
      +    },
      +    "error": {
      +      "type": "string"
      +    },
      +    "id": {
      +      "type": "string"
      +    },
      +    "limitations": {
      +      "type": "string"
      +    },
      +    "namespace": {
      +      "$ref": "#/$defs/NamespaceName_depth15"
      +    },
      +    "operationId": {
      +      "type": "string"
      +    },
      +    "phase": {
      +      "enum": [
      +        "Pending",
      +        "Provisioning",
      +        "Restoring",
      +        "Verifying",
      +        "CleaningUp",
      +        "Succeeded",
      +        "Failed"
      +      ],
      +      "type": "string",
      +      "x-enum-varnames": [
      +        "BackupDrillPhasePending",
      +        "BackupDrillPhaseProvisioning",
      +        "BackupDrillPhaseRestoring",
      +        "BackupDrillPhaseVerifying",
      +        "BackupDrillPhaseCleaningUp",
      +        "BackupDrillPhaseSucceeded",
      +        "BackupDrillPhaseFailed"
      +      ]
      +    },
      +    "readyAt": {
      +      "format": "date-time",
      +      "type": "string"
      +    },
      +    "restoreDurationSeconds": {
      +      "format": "int64",
      +      "type": "integer"
      +    },
      +    "startedAt": {
      +      "format": "date-time",
      +      "type": "string"
      +    },
      +    "targetCluster": {
      +      "type": "string"
      +    },
      +    "totalDurationSeconds": {
      +      "format": "int64",
      +      "type": "integer"
      +    },
      +    "trigger": {
      +      "enum": [
      +        "manual",
      +        "schedule"
      +      ],
      +      "type": "string",
      +      "x-enum-varnames": [
      +        "BackupDrillTriggerManual",
      +        "BackupDrillTriggerSchedule"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "id",
      +    "namespace",
      +    "cluster",
      +    "trigger",
      +    "phase",
      +    "createdAt"
      +  ],
      +  "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 and destructiveHint=false, so the description's added value is the failure semantics (404 for reports belonging to another source cluster) and the set of fields returned, which tells the agent this reflects live state rather than a static record. It does not explain whether the drill data is eventually consistent or whether polling is expected.

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?

Two tight sentences, with the return payload front-loaded ahead of the prerequisite and error behavior. The leading 'Get backup drill' merely restates the title and name and could be dropped, but overall there is little waste.

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?

An output schema exists, so return values need no further explanation, and the annotations carry the safety profile; the description still supplies the key 404 and ID-resolution context an agent needs. Minor gaps remain around state freshness and whether the drill must be polled while running.

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%, so the parameters cluster, drill and namespace are already fully documented, including the constraint that the drill must belong to the source cluster. The description reinforces the ID provenance ('resolve IDs with backup_drills_list') but adds no format or constraint detail beyond the schema, so baseline 3 applies.

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?

States a specific verb and resource (get a backup drill report) and enumerates the returned facets: source, backup, phase, target cluster, verification results, cleanup state, framed as asynchronous restore testing. It also names the sibling that produces the IDs, so the agent can distinguish it from backup_drills_list 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?

Explicitly directs the agent to backup_drills_list for ID resolution, which is the main prerequisite for calling this tool, and explains the 404 condition for missing or cross-cluster reports. It gives clear usage context but no explicit when-not-to-use guidance.

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