Skip to main content
Glama

Read restore progress and result

restore_get
Read-onlyIdempotent

Read a restore record’s progress, phase, source, operationId, and completion or error details to monitor recovery and determine whether to wait on its operation.

Instructions

Read restore progress and result

Returns the selected recovery record's source, phase, operationId and available start, completion or error details. Obtain its name from restores_list or restore_create; use wait with operationId to observe durable execution.

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>",
      "restore": "<restore>"
    },
    "name": "restore_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
clusterYesManaged cluster name; the RBAC object is namespace/cluster.
restoreYesExact restore name from restores_list or restore_create, a nonempty string of at most 128 characters; this is the recovery-record name, not its operationId.
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
errorNo
phaseYes
sourceYes
clusterYes
namespaceYes
startedAtNo
completedAtNo
operationIdNo

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."
    • 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 / restore / description
      Added value: +"Exact restore name from restores_list or restore_create, a nonempty string of at most 128 characters; this is the recovery-record name, not its operationId."
    • 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"
      +    },
      +    "RestoreSource_depth15": {
      +      "additionalProperties": false,
      +      "description": "Set exactly one of backup, pitrTime or restorePoint; sourceCluster defaults to the target cluster. Distributed PostgreSQL accepts named restore points, not timestamps.",
      +      "oneOf": [
      +        {
      +          "not": {
      +            "anyOf": [
      +              {
      +                "required": [
      +                  "pitrTime"
      +                ]
      +              },
      +              {
      +                "required": [
      +                  "restorePoint"
      +                ]
      +              }
      +            ]
      +          },
      +          "required": [
      +            "backup"
      +          ]
      +        },
      +        {
      +          "not": {
      +            "anyOf": [
      +              {
      +                "required": [
      +                  "backup"
      +                ]
      +              },
      +              {
      +                "required": [
      +                  "restorePoint"
      +                ]
      +              }
      +            ]
      +          },
      +          "required": [
      +            "pitrTime"
      +          ]
      +        },
      +        {
      +          "not": {
      +            "anyOf": [
      +              {
      +                "required": [
      +                  "backup"
      +                ]
      +              },
      +              {
      +                "required": [
      +                  "pitrTime"
      +                ]
      +              }
      +            ]
      +          },
      +          "required": [
      +            "restorePoint"
      +          ]
      +        }
      +      ],
      +      "properties": {
      +        "backup": {
      +          "maxLength": 128,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "pitrTime": {
      +          "format": "date-time",
      +          "type": "string"
      +        },
      +        "restorePoint": {
      +          "maxLength": 128,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "sourceCluster": {
      +          "maxLength": 12,
      +          "minLength": 2,
      +          "pattern": "^[a-z][a-z0-9]{1,11}$",
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    }
      +  },
      +  "additionalProperties": false,
      +  "properties": {
      +    "cluster": {
      +      "maxLength": 12,
      +      "minLength": 2,
      +      "pattern": "^[a-z][a-z0-9]{1,11}$",
      +      "type": "string"
      +    },
      +    "completedAt": {
      +      "format": "date-time",
      +      "type": "string"
      +    },
      +    "error": {
      +      "type": "string"
      +    },
      +    "name": {
      +      "maxLength": 128,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "namespace": {
      +      "allOf": [
      +        {
      +          "$ref": "#/$defs/NamespaceName_depth15"
      +        }
      +      ],
      +      "readOnly": true
      +    },
      +    "operationId": {
      +      "type": "string"
      +    },
      +    "phase": {
      +      "enum": [
      +        "Pending",
      +        "Running",
      +        "Succeeded",
      +        "Failed"
      +      ],
      +      "type": "string",
      +      "x-enum-varnames": [
      +        "RestorePhasePending",
      +        "RestorePhaseRunning",
      +        "RestorePhaseSucceeded",
      +        "RestorePhaseFailed"
      +      ]
      +    },
      +    "source": {
      +      "$ref": "#/$defs/RestoreSource_depth15"
      +    },
      +    "startedAt": {
      +      "format": "date-time",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "namespace",
      +    "name",
      +    "cluster",
      +    "source",
      +    "phase"
      +  ],
      +  "type": "object"
      +}
  2. First observedv0.4.3

TDQS

A3.9/5.0
Behavior3/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 the safety profile is fully covered without the description. The description adds the useful note that error details are surfaced and that durable execution is observed via wait rather than polling here, but it says nothing about permissions or rate limits.

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 compact sentences, with the core purpose and the name-provenance guidance front-loaded. The first sentence restates the title verbatim, which is minor waste but not harmful.

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 description need not explain return values, and annotations cover the safety profile; the remaining need is naming prerequisites and alternatives, both of which are provided. Only the absence of any permission or failure-mode context keeps it below complete.

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 the cluster RBAC note and the namespace resolution rules, so the schema carries the parameter burden. The description only reinforces that the restore argument is the recovery-record name sourced from restores_list/restore_create, adding little beyond what the schema already states.

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 states a specific verb and resource ('Read restore progress and result') and enumerates the returned fields (source, phase, operationId, start/completion/error details), which makes it clearly distinct from restores_list (enumeration) and restore_create (mutation). An agent can tell this is a per-record status reader without inspecting the 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 explicitly tells the agent where the required identifier comes from ('Obtain its name from restores_list or restore_create') and points to an alternative for a related need ('use wait with operationId to observe durable execution'). It stops short of stating when not to use this tool, so it sits just under the top band.

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