Skip to main content
Glama
sitebay
by sitebay

sitebay_backup_restore

Restore WordPress sites to previous backup points, configure database and file restoration, and simulate changes before applying them.

Instructions

Restore a site to a previous point in time.

Args (PITRestoreCreate schema): fqdn: The site domain restore_point: ISO datetime string (or omit for latest) for_stage_site: Whether to restore the stage site restore_db: Restore database (default true) restore_wp_content: Restore wp-content (default true) delete_extra_files: Delete extra files from target (default false) dolt_restore_hash: Optional Dolt hash to restore DB is_dry_run: Simulate restore without applying changes

Returns: Restore operation confirmation

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fqdnYes
restore_pointNo
for_stage_siteNo
restore_dbNo
restore_wp_contentNo
delete_extra_filesNo
dolt_restore_hashNo
is_dry_runNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations provided, the description carries full burden but lacks critical behavioral details. It mentions a 'dry run' option and default values for some parameters, but doesn't disclose whether this is a destructive operation (likely yes, given 'delete_extra_files'), permission requirements, rate limits, or what happens to current site data. The confirmation return is noted but without specifics on what that entails.

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?

The description is well-structured and front-loaded with the core purpose, followed by parameter details and return info. Each sentence adds value, with no redundancy. It could be slightly more concise by integrating parameter explanations more tightly, but overall it's efficient and readable.

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

Completeness3/5

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

Given the tool's complexity (8 parameters, no annotations, but with output schema), the description is moderately complete. It covers parameters well but lacks behavioral context (e.g., destructiveness, side effects). The output schema existence means return values don't need explanation, but critical operational details are missing for a restoration tool, leaving gaps in understanding risks and outcomes.

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%, so the description must compensate—and it does by explaining all 8 parameters with clear semantics beyond schema titles. It adds value by specifying formats (ISO datetime), defaults, optionality ('or omit for latest'), and purposes (e.g., 'Simulate restore without applying changes' for is_dry_run). However, it doesn't fully explain interactions (e.g., how dolt_restore_hash relates to restore_point).

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 clearly states the specific action ('Restore a site to a previous point in time'), identifies the resource ('site'), and distinguishes it from siblings like sitebay_backup_list_commits (which lists backups) and sitebay_update_site (which updates current settings). The verb 'restore' is precise and unambiguous.

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 on when to use this tool versus alternatives is provided. While the purpose is clear, there's no mention of prerequisites (e.g., needing existing backups), when not to use it (e.g., for minor changes), or how it relates to siblings like sitebay_backup_list_commits (which might help select a restore point). Usage is implied but not articulated.

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/sitebay/sitebay-mcp'

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