Skip to main content
Glama

restore_from_backup

Restore Kubernetes resources from a backup file, with optional target namespace or cluster selection for flexible recovery.

Instructions

从备份恢复资源

Args: backup_file: 备份文件路径 target_namespace: 目标命名空间(可选) target_cluster: 目标集群(可选) kubeconfig_path: kubeconfig 文件路径,不指定则使用默认集群

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
backup_fileYes
target_clusterNo
kubeconfig_pathNo
target_namespaceNo
Behavior1/5

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

There are no annotations, so the description carries the full burden of behavioral disclosure. It only says 'restore from backup' with no mention of the operation's side effects (e.g., overwriting existing resources, needing cluster permissions, whether it is destructive) or any other traits. This is effectively no disclosure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and well-structured: a one-line summary followed by a clear Args list. Every line provides useful information without redundancy, and the front-loaded purpose makes the tool's intent immediately clear.

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

Completeness2/5

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

The tool has no output schema and no annotations, yet the description only covers the purpose and parameter meanings. It omits behavioral details like what happens during restore, whether it replaces existing resources, what errors might occur, and what the success/result indication is. Given the complexity of a restore operation, this is incomplete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% because the schema properties have no descriptions. The description compensates with an Args block that explains each parameter: backup_file path, optional target_namespace, optional target_cluster, and kubeconfig_path with fallback to default cluster. This adds meaningful context beyond the schema's type/default info, though it could be more detailed about expected value formats.

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?

The description states 'Restore resources from backup' with a clear verb-object structure. It is distinct from the backup creation tools in the sibling list, though it could be more specific about what types of resources or what form the backup takes.

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

Usage Guidelines2/5

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

No explicit guidance is provided about when to use this tool versus alternatives. The existence of backup_namespace and backup_resource implies restore is the counterpart, but the description does not state prerequisites, exclusions, or when an alternative like backup_resource or list_backups might be more appropriate.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Tobewont/k8s-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server