Skip to main content
Glama

imgPip

Add an image overlay onto a video using a direct image URL to create picture-in-picture compositions such as logos.

Instructions

视频中添加画中画,通过用户提供的在线图片链接将图片以画中画的方式插入到视频中进行合成。比如添加logo等 将接口返回的JSON内容输出即可,其中 traceId 表示任务跟踪id。 注意:只需要返回接口内容,无需主动调用任务查询接口

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mXYNo素材坐标(可选、非必填)
mUrlYes图片素材链接地址
WidthNo资源在输出视频画布上的宽度,单位为 pixel。(可选、非必填)
HeightNo资源在输出视频画布上的高度,单位为 pixel。(可选、非必填)
videoUrlYes视频链接地址
mDurationNo素材持续时间(可选、非必填)
mEntrAnimoNo入场动画id(可选、非必填)
mExitAnimoNo出场动画id(可选、非必填)
mStartTimeNo素材出现时间(可选、非必填)
mEntrAniDurationNo入场动画持续时间(可选、非必填)
mExitAniDurationNo出场动画持续时间(可选、非必填)

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.16

TDQS

A4.1/5.0
Behavior4/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 discloses that the response is JSON, that traceId is a tracking ID, and that the agent should not invoke task query APIs—meaningful behavioral guidance. It does not state whether the task is asynchronous, how failures are surfaced, or when the final result will be available, but the traceId reference implies task-based execution.

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?

The main purpose is front-loaded in the first sentence, and the note about not calling the task query is valuable and placed at the end. There is slight redundancy between '将接口返回的JSON内容输出即可' and '只需要返回接口内容', which keeps it from being perfectly concise.

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?

Given 11 parameters, no output schema, and no annotations, the description covers the essential invocation guidance: what the tool does, what inputs to provide, and what to return. It omits details on how optional parameters like mXY, Width, Height, and animation durations affect placement and timing, and it does not describe the response structure beyond traceId, but the full schema coverage compensates for many of these gaps.

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 baseline is 3 even without additional parameter explanation. The description adds no new parameter-level meaning beyond restating that mUrl is an online image link and videoUrl is a video link. Since the schema already documents all 11 parameters, the description has little to compensate for.

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 states a specific verb and resource: adding a picture-in-picture overlay image into a video using a user-provided online image link, with the logo example clarifying typical use. This clearly distinguishes it from sibling tools like imgs2video, video2video, and videoCutRandom, which perform different video operations.

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 gives clear invocation context: use when inserting an image as PiP into a video. It also provides an explicit exclusion: do not call the task query interface, and instead output the returned JSON. It does not explicitly name alternatives among the other sibling video tools, so it falls 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.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Runninghcm/MathMind-MCP-SERVER'

If you have feedback or need assistance with the MCP directory API, please join our Discord server