Skip to main content
Glama

gflow_media_restore

Restores a trashed media item back to its Flow project without spending credits. Provide the media ID to recover the item and get its restored status and ID.

Instructions

Restore a trashed media item back to its Flow project over the wire (RPC pGCYOe). Credit-free (0 credits). Returns the restored item status and ID.

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": {
      "media_id": "<media_id>"
    },
    "name": "gflow_media_restore"
  }
}

Input Schema

NameRequiredDescriptionDefault
profileNo
media_idYes
project_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.103.1

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It usefully discloses that the operation is credit-free (0 credits) and that it returns the restored item status and ID, plus the RPC identifier. It does not address authentication requirements, whether the restoration is reversible, or how failures (missing/already-active media) behave.

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 sentences, front-loaded with the core verb and resource, then the credit note and return value. The 'over the wire (RPC pGCYOe)' clause is implementation detail that adds little for an agent but costs only a few words.

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?

An output schema exists, so the return-value explanation is optional reinforcement rather than a gap. The main deficiency is the silent treatment of project_id and profile, which an agent needs to invoke this correctly on a mutation-style operation with no annotations to fall back on.

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

Parameters2/5

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

Schema description coverage is 0% across three parameters. The description adds no meaning for media_id, project_id, or profile; in particular it is unclear whether project_id is required to disambiguate the target project or whether profile selects an account/workspace context. Only media_id is self-explanatory from its name.

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 a specific verb and resource: restore a trashed media item back to its Flow project. The 'trashed' qualifier implicitly distinguishes it from the inverse sibling gflow_media_trash. It does not explicitly name an alternative, so it falls short of a 5.

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

Usage Guidelines3/5

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

Usage is implied by 'restore a trashed media item', which tells the agent the precondition that the item must be in the trash. There is no explicit guidance on when not to use it, what happens if the item is not trashed, or which sibling to prefer in edge cases.

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