Skip to main content
Glama
flozonn

Mirelo MCP Server

by flozonn

mirelo_inpaint_audio_with_video_generate

Replace a bounded segment of audio with AI-generated audio conditioned by a video. Provide audio and video sources, define the time range, and optionally add a prompt.

Instructions

Synchronously replace a bounded segment of an audio clip with newly generated audio conditioned by a video (Inpaint_Audio, with-video). Requires audio and video Input_Sources and a segment. Returns the resulting audio URL(s). Model v1.6 only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
audioYesThe audio Input_Source to inpaint: either { type: "url", audio_url } or { type: "asset", asset_id }.
videoYesThe conditioning video Input_Source: either { type: "url", video_url } or { type: "asset", asset_id }.
promptNoOptional text prompt guiding the replacement audio.
segmentYesThe bounded audio span to replace.
num_samplesNoNumber of samples to generate; integer >= 1. Defaults to 1.
model_versionNoModel version. Inpaint_Audio is v1.6-only; defaults to "v1.6".
Behavior3/5

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

No annotations are provided, so the description bears full burden. It discloses synchronous operation and model restriction but omits side effects (e.g., original audio unchanged), required permissions, rate limits, or failure modes. Adequate but not thorough.

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 concise sentences front-load the action and key resources. Every clause adds value: synchronous, bounded segment, conditional generation, model version, and output type. No waste.

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 6 parameters with nested objects and no output schema, the description covers the core operation but misses details like return format (plural URLs from num_samples?), constraints (segment length validated in schema), and default values. Nearly complete but could expand slightly.

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 coverage is 100% with detailed descriptions for all 6 parameters. The description only summarizes required inputs ('audio and video Input_Sources and a segment'), adding minimal extra meaning beyond the schema's own documentation.

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 clearly states the tool's function: synchronously replacing a segment of audio conditioned by a video. It specifies inputs (audio, video, segment), output (audio URL), and model version (v1.6 only), distinguishing it from siblings like mirelo_inpaint_audio_generate.

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?

The description implies when to use this tool (when video conditioning is needed) vs the non-video variant present in siblings. However, it lacks explicit when-not or alternative guidance, such as when preflight or submit tools are more appropriate.

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

Install Server

Other Tools

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/flozonn/mirelo-mcp'

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