Skip to main content
Glama

List restore history

restores_list
Read-onlyIdempotent

List restore history and recovery records with names, sources, phases, operation IDs, timing or error details; paginate results and pass a record name to inspect individual progress.

Instructions

List restore history

Returns recovery records with name, source, phase, operationId and available timing or error details. Pagination uses limit (default 100, maximum 500) and cursor from nextCursor; pass a returned name to restore_get for individual progress.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum results per page. Results are authorization-filtered before pagination.
cursorNoOpaque cursor returned by the preceding page.
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
itemsYes
nextCursorNoOpaque continuation cursor; absent at the end.
operationIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 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 / cursor / description
      Added value: +"Opaque cursor returned by the preceding page."
    • addedInput schema / properties / limit / description
      Added value: +"Maximum results per page. Results are authorization-filtered before pagination."
    • 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": {
      +    "NamespaceName_depth14": {
      +      "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_depth14": {
      +      "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"
      +    },
      +    "Restore_depth15": {
      +      "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_depth14"
      +            }
      +          ],
      +          "readOnly": true
      +        },
      +        "operationId": {
      +          "description": "Durable operation that created this restore.",
      +          "readOnly": true,
      +          "type": "string"
      +        },
      +        "phase": {
      +          "enum": [
      +            "Pending",
      +            "Running",
      +            "Succeeded",
      +            "Failed"
      +          ],
      +          "type": "string",
      +          "x-enum-varnames": [
      +            "RestorePhasePending",
      +            "RestorePhaseRunning",
      +            "RestorePhaseSucceeded",
      +            "RestorePhaseFailed"
      +          ]
      +        },
      +        "source": {
      +          "$ref": "#/$defs/RestoreSource_depth14"
      +        },
      +        "startedAt": {
      +          "format": "date-time",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "namespace",
      +        "name",
      +        "cluster",
      +        "source",
      +        "phase"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "additionalProperties": false,
      +  "properties": {
      +    "items": {
      +      "items": {
      +        "$ref": "#/$defs/Restore_depth15"
      +      },
      +      "type": "array"
      +    },
      +    "nextCursor": {
      +      "description": "Opaque continuation cursor; absent at the end.",
      +      "type": "string"
      +    },
      +    "operationId": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "items"
      +  ],
      +  "type": "object"
      +}
  2. First observedv0.4.3

TDQS

A3.6/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. The description adds little beyond that: the pagination defaults (100, max 500) and the returned field list are already present in the input schema and output schema respectively. Authorization filtering is mentioned only via the schema's limit description, not elaborated here.

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?

Three short, front-loaded sentences: purpose, return shape, then pagination plus follow-up routing. Every sentence is functional, though the return-field enumeration partially duplicates the output schema. No filler or hedging language.

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 needn't explain return values in depth, and annotations cover the safety profile; the schema documents every parameter thoroughly. The definition is sufficient to call the tool correctly. Minor gap: no statement about scoping (cluster/namespace) or ordering of results, which an agent might want when paginating.

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 all four parameters (limit, cursor, cluster, namespace) are already documented, including namespace resolution semantics and the RBAC object model. The description restates limit's default and maximum and the cursor/nextCursor pairing without adding syntax or edge-case meaning. Baseline 3 applies when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('List restore history') and immediately enumerates the record fields returned (name, source, phase, operationId, timing/error details). It also distinguishes itself from the sibling restore_get by noting that a returned name can be passed there for individual progress. It stops short of a 5 because 'restore history' largely restates the title 'List restore history' without expanding scope (e.g., whether it covers all clusters/namespaces).

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?

Gives a concrete routing rule: use this tool to enumerate recovery records, then pass a returned name to restore_get for per-item progress. Pagination mechanics (limit/cursor from nextCursor) tell the agent how to continue a scan. No explicit when-not guidance or prerequisites (e.g., required permissions or cluster scoping) are stated, which keeps it below a 5.

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