Skip to main content
Glama

Ai Replace

AI-Replace

Replace unwanted elements with new objects using AI Replace. By using this API, you can instantly remove unwanted object from your photo and replace it with a new one just by using text. Eliminate anything from bags to cars and beyond.​ Sample: For content creators aiming to perfect their social media presence, AI Replace offers a hassle-free way to polish travel photos or promotional images. Remove and replace elements with ease, ensuring your content stands out. Create stunning room mockups with AI Replace by filling empty spaces with aesthetically pleasing furniture and objects, transforming the perception of any space.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pollingNoIf true (default), keep polling until the task finishes, returning the final result. If false, return immediately without waiting for the task to finish.
requestYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already disclose read-only/destructive behavior (readOnlyHint=false, destructiveHint=false). The description adds that it 'instantly removes and replaces' but does not explain output handling or side effects beyond what the schema's polling parameter already covers. It does not contradict annotations, but adds limited extra context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description leads with the core functionality but then includes promotional sample paragraphs about content creators and room mockups that are not necessary for tool invocation. It is moderately sized but contains redundancy and a stray Unicode character, making it less concise than ideal.

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

Completeness2/5

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

Despite having a rich schema and output schema, the description omits essential usage context such as the need for a mask image and the alternative input methods (URL vs. file ID). Given the tool's complex union schema and numerous siblings, the description should clarify these points to help the agent invoke it correctly, but it does not.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description only hints at the 'prompt' parameter ('just by using text') and does not mention the critical mask requirement or the choice between file URLs and uploaded file IDs. While the schema provides detailed descriptions for these parameters, the overall schema coverage is only 50%, and the description fails to compensate by clarifying the union request structure or how to supply inputs.

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 uses a specific verb ('Replace') and resource ('unwanted elements/new objects in photos'), and clearly distinguishes itself from sibling tools like AI-Object-Removal-Pro by emphasizing replacement rather than mere removal. The phrase 'just by using text' also signals the prompt-driven nature of the tool.

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?

The description provides concrete use cases (content creators polishing photos, room mockups) but does not explicitly state when to use this tool versus alternatives like AI-Object-Removal-Pro or AI-Photo-Background-Change. It implies the need for replacement but lacks exclusions or direct comparative guidance.

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.

TDQS

C2.4/5.0
Disambiguation3/5

Many tools are clearly distinct (e.g., AI-Object-Removal-Pro vs AI-Replace), but there is notable overlap among upload-related tools (File-Upload, Get-Upload-API-Info, upload_file) and among photo enhancement tools (Enhance, Color-Correction, Lighting) that could cause misselection. Template-listing tools are repetitive but each is tied to a specific generator.

Naming Consistency2/5

Naming conventions are inconsistent: some tools use PascalCase with dashes (AI-Avatar-Generator), some use verb-first patterns (Get-Feature-Cost, Get-Running-Task-Status), and one uses lowercase snake_case (upload_file). The AI- prefix is consistent for many tools, but the overall pattern is mixed.

Tool Count2/5

With 34 tools, the server feels overloaded. Many tools are variants of similar operations (e.g., numerous template listing tools) and could be consolidated or eliminated. The count exceeds the 25+ threshold for 'too many'.

Completeness4/5

The tool surface covers a broad range of AI media editing operations: photo and video generation, enhancement, background editing, face swap, object removal, and upload/status management. Minor gaps like video background removal (only replacement available) exist, but core workflows are well-supported.

Resources