Skip to main content
Glama

gflow_media_trash

Move generated images or videos to Flow's Trash at zero credit cost. Requires confirm=True to prevent accidental deletion; trashed items stay recoverable via restore.

Instructions

Move a generated media item (image or video) to Flow's Trash over the wire (RPC pGCYOe). Credit-free (0 credits). Trashed items are hidden from project views but can be recovered using gflow_media_restore. Requires explicit confirm=True to prevent accidental deletion.

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_trash"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNo
profileNo
media_idYes
project_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.103.1

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does well: it discloses cost (0 credits), the destructive-but-reversible effect (hidden from project views, recoverable), and a safety gate (confirm=True guards against accidental deletion). Gaps remain on permission/auth requirements and behavior on already-trashed or non-existent media.

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?

Four compact sentences, front-loaded with the action and scope, then cost, then recoverability, then the safety requirement. The RPC identifier (pGCYOe) is incidental noise for an agent but costs little.

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 mutation tool with zero annotations, the description covers cost, reversibility, visibility impact, and the confirmation safeguard; an output schema exists so return values need no explanation. Only the profile/project_id scoping semantics are left unaddressed.

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. It does explain the confirm gate and implies media_id identifies the generated item, but project_id and profile are never mentioned, leaving half of the parameter surface undocumented anywhere. Note the confirm requirement is a runtime rule beyond the schema, which is genuinely useful added meaning.

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 ("Move a generated media item (image or video) to Flow's Trash") and pins the scope to generated media, which separates it from generic file tools. It also names the inverse operation, gflow_media_restore, so an agent can locate this tool's counterpart without inspecting 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?

Explains the operational context clearly: this is a reversible hide-from-project-views action, not a permanent delete, and recovery goes through gflow_media_restore. It does not state when NOT to use it (e.g., when a permanent removal is wanted) or what happens if the item is already trashed, but the guidance is well above minimal.

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