Skip to main content
Glama

Organize with AI (OwAI)

Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Organize with AI. If you published it, claim ownership there.

Restore media or undo an edit

restore_media

Restore a filesystem original and saved metadata, or undo a supported favorite, collection-membership, or face-label edit, using an ID from inspect_activity. Refuses to overwrite occupied paths or conflicting metadata. OneDrive and Apple Photos original files must be restored in the provider's recycle bin or Recently Deleted, then synced; this tool does not claim to restore them. Use inspect_activity to find recovery IDs and guidance.

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": {
      "recovery_id": "<recovery_id>"
    },
    "name": "restore_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
recovery_idYes
idempotency_keyNo

Output Schema

NameRequiredDescriptionDefault
commandYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed13 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / device_id
      Removed value: -{
      -  "minLength": 1,
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "device_id",
      -  "recovery_id"
      -]New value: +[
      +  "recovery_id"
      +]
    • addedOutput schema / properties / command / properties / attempt / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / command / properties / attempt / minimum
      Added value: +0
    • changedOutput schema / properties / command / properties / attempt / type
      Previous value: -"number"New value: +"integer"
    • addedOutput schema / properties / command / properties / claimed_at / anyOf
      Added value: +[
      +  {
      +    "maximum": 9007199254740991,
      +    "minimum": 0,
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / command / properties / claimed_at / type
      Removed value: -[
      -  "number",
      -  "null"
      -]
    • addedOutput schema / properties / command / properties / completed_at / anyOf
      Added value: +[
      +  {
      +    "maximum": 9007199254740991,
      +    "minimum": 0,
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / command / properties / completed_at / type
      Removed value: -[
      -  "number",
      -  "null"
      -]
    • addedOutput schema / properties / command / properties / requested_at / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / command / properties / requested_at / minimum
      Added value: +0
    • changedOutput schema / properties / command / properties / requested_at / type
      Previous value: -"number"New value: +"integer"
  2. First observed

TDQS

A4.1/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, so the description carries meaningful extra weight and delivers it: refusal to overwrite occupied paths or conflicting metadata, and the explicit self-limiting claim that it does not restore OneDrive/Apple Photos originals. It does not disclose anything about the idempotency mechanism or the shape of a recovery action's effects, which keeps it from a 5.

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 sentences, front-loaded with the primary action before the constraints and prerequisite. Every sentence adds something, though the final sentence partially restates the inspect_activity reference already made in sentence one.

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?

An output schema exists, so return values need no prose, and the definition still covers the refusal conditions, the provider-specific exception, and the recovery-ID prerequisite. The one gap is the undocumented idempotency_key, which leaves a caller unsure how to make retries safe.

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 0%, so the description must compensate for both parameters. It adequately explains recovery_id (a recovery identifier obtained from inspect_activity) but says nothing at all about idempotency_key, leaving half the parameters unexplained by any structured field.

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 definition leads with a specific verb+resource pair ('Restore a filesystem original and saved metadata') and then enumerates the supported undo targets (favorite, collection-membership, face-label edits), which sharply separates it from siblings like apply_media_deletion, set_favorites, and manage_collection. An agent can pick this tool over its neighbors without opening any 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 names the prerequisite/entry point explicitly ('using an ID from inspect_activity') and repeats it as guidance for finding recovery IDs, which is a real routing instruction. It also states a when-not condition for OneDrive and Apple Photos. It stops short of naming a direct alternative tool to use in those provider cases, so it is clear context rather than a full when/when-not/alternatives map.

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.

Resources