Skip to main content
Glama

Overlay Images

overlay_images

Burn 1 to 8 still images, such as a logo, watermark or copyright notice, onto a video for its full duration. Costs 2 credits per image. Returns a job immediately; check_job returns the permanent URL once it is completed. A failed job is refunded automatically.

width_percent is the image width relative to the video width (12 is about 230 pixels on a 1920-pixel-wide video). margin_px is the inset from the selected edges, 48 by default, and does nothing on a centered axis. Each image keeps its aspect ratio; later entries sit above earlier ones. The result is a new video with the source audio; the original is kept. Use transparent images with little empty padding: for a logo on a solid background, call remove_background with type=image first.

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": {
      "video_url": "<video_url>",
      "overlays": "<overlays>"
    },
    "name": "overlay_images"
  }
}

Input Schema

NameRequiredDescriptionDefault
overlaysYesLater entries appear above earlier ones.
force_newNoAn identical request submitted in the last 10 minutes returns that job without charging again; true generates it again.
video_urlYesVideo to put the images on.
skills_usedNoOptional workflow analytics: names of the skills (or skill/reference paths) followed for this call. Stored with generation jobs only. Never include private data, local paths or media URLs.
budget_projectNoOptional budget project this generation's cost counts toward, for tracking spend per client or job. Pass its slug; an id or the exact display name also works. Create one with create_budget_project and find slugs with list_budget_projects. An unknown project never stops the generation: it runs without one, and the result warns how to add it with assign_to_budget_project.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: cost of 2 credits per image, asynchronous job semantics (returns immediately, check_job yields the permanent URL), automatic refund on failure, and that the source video and its audio are preserved in a new output. The annotations only declare mutation/open-world/idempotency flags, so the description is carrying real weight here.

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?

Two tight paragraphs: the first front-loads what the tool does, its cost, and its async contract; the second is dense with parameter nuance and the remove_background prerequisite. No sentence is filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, but the description explains the return path (job id, then check_job for the permanent URL), the cost, the failure/refund behavior, and the source-preservation guarantee. Combined with full schema coverage, an agent has everything needed to invoke it correctly.

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 already 100%, so the baseline is 3; the description goes further by explaining width_percent is relative to video width with a concrete pixel example (12 ≈ 230px on 1920px), that margin_px defaults to 48 and is inert on a centered axis, that aspect ratio is preserved, and that later entries stack above earlier ones.

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 with scope: "Burn 1 to 8 still images ... onto a video for its full duration," and gives concrete use cases (logo, watermark, copyright notice). An agent can distinguish this from generate_video or add_subtitles 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 Guidelines4/5

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

Gives actionable guidance: use transparent images with little empty padding, and call remove_background with type=image first for a logo on a solid background. It also routes to check_job for results. It does not explicitly exclude alternatives or say when not to overlay, so it stops short of a 5.

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.