Skip to main content
Glama

restore_phone

Put a backup from backup_phone on this phone: apps with their data and layout, Store apps with their permission answers, system settings and the clipboard. Every part is checked first, and a bad backup changes nothing. Apps you built that are already on the phone need replace: true. A Store app that is already installed is skipped and listed in skipped.

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": {
      "session": "<session>",
      "backup": "<backup>"
    },
    "name": "restore_phone"
  }
}

Input Schema

NameRequiredDescriptionDefault
backupYesThe backup object from backup_phone
replaceNoReplace apps already on the phone (default false)
sessionYesSession from open_app

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false; the description adds substantive behavior beyond that — validation precedes any write ('Every part is checked first, and a bad backup changes nothing'), which discloses atomicity, plus the skip-and-report rule for installed Store apps. It does not mention the open_app session requirement, how long a restore takes, or whether existing device data outside the backup is affected.

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?

Three short sentences, front-loaded with the action and the restored contents, then the safety guarantee, then the parameter rule. No sentence is redundant and nothing is buried.

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?

For a 3-parameter, nested-object mutation tool with no output schema, the description covers the source object, the replace decision, the skip behavior, and even names one returned field ('skipped'), which is enough to call it correctly. Minor gaps are the session dependency and any rate/duration expectations.

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 coverage is 100%, so the baseline is 3, but the description genuinely adds meaning to `replace` — it is required only for apps you built that already exist on the phone, and is irrelevant for Store apps because those are skipped rather than replaced. The `backup` parameter's provenance is also clarified as the object from backup_phone.

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 ('Put a backup from backup_phone on this phone') and enumerates exactly what is restored: apps with data and layout, Store apps with permission answers, system settings and clipboard. This clearly marks it as the inverse of the sibling backup_phone, so an agent can distinguish the two without opening schemas.

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 names the source of the input ('a backup from backup_phone') and gives the operative decision rule: apps already on the phone need replace: true, while an already-installed Store app is skipped. It never states when *not* to use it or what the alternative path would be, so it falls short of full routing guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.