Skip to main content
Glama

Add Backdrop

backdrop
Destructive

Frame a video or screenshot on a gradient, color, or wallpaper with padding, rounded corners, and a drop shadow, optionally placed on a 16:9, 1:1, 9:16, or 4:5 canvas.

Instructions

Frame a video or screenshot on a gradient, color, or wallpaper with padding, rounded corners, and a drop shadow, optionally on a 16:9/1:1/9:16/4:5 canvas.

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": {
      "input": "<input>"
    },
    "name": "backdrop"
  }
}

Input Schema

NameRequiredDescriptionDefault
imageNoInstead: a wallpaper image, scaled to cover.
inputYesPath to the source video or image (png/jpg).
aspectNoOutput on this aspect's canvas (1920x1080, ...), content scaled to fit.
colorsNoInstead: 1 color = solid, 2-4 = diagonal gradient.
outputNoOptional output path. Defaults under SCREENCAST_HOME/edits (screenshots for an image).
presetNoGradient: desktop (default, dark slate), rec (red), amber, light.
radiusNoCorner radius px (default ~1.2% of the longer side; 0 = square).
shadowNoShadow blur px (default ~2.5%; 0 = none).
paddingNopx around the content (default 6% of the longer side).
overwriteNoReplace an existing output.
shadowOpacityNoDefault 0.5.

Output Schema

NameRequiredDescriptionDefault
widthYes
heightYes
outputPathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.54.0
    • changedInput schema / properties / overwrite / description
      Previous value: -"Allow replacing an existing file at the output path (default false)."New value: +"Replace an existing output."
  2. Addedv0.47.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the write-a-file nature is covered structurally. The description adds useful behavioral detail about what actually happens to the media (padding, radius, shadow, canvas fitting) but never mentions that an output file is written, where it lands, or that existing output is replaced unless overwrite is set — worth stating for a destructive tool.

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?

One front-loaded sentence that names the action first and then layers the modifiers. Every clause maps to a real capability and there is no filler.

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?

With an output schema, full parameter coverage, and annotations carrying the safety profile, the description covers the creative behavior well enough to call the tool correctly. The only shortfall is not stating the output-file/write behavior, which matters given destructiveHint=true.

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 100%, so the params are already well documented, and the description only echoes the aspect enum and the gradient/color/wallpaper choice already spelled out in colors, preset, and image. It adds framing context but no new parameter semantics, so baseline 3 is right.

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 gives a specific verb ("Frame") plus the exact resource ("a video or screenshot") and enumerates the concrete visual treatments — gradient/color/wallpaper background, padding, rounded corners, drop shadow. That is precise enough to separate it from generic siblings like convert or compose without opening the schema.

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 the effect it produces (presentation framing of media), but there is no explicit when-to-use / when-not guidance and no alternative tool is named for someone who just wants resizing or simple conversion. An agent can infer the scenario but gets no routing help.

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