Skip to main content
Glama

Makemancer

Remove background

remove_background

Remove the background of an image (transparent PNG; default background-removal/birefnet) or a video (default background-removal/bria-v3; background-removal/veed keeps semi-transparent parts, webm only; background-removal/birefnet-matting and background-removal/ben-v2 output webm or mp4). Video output_format: webm keeps transparency, prores (Bria models) is a ProRes 4444 .mov, mp4 has no transparency. Returns a job; check_job returns the permanent URL once it is completed. Submitting charges credits, refunded automatically if the job fails; estimate_generation prices a request without charging.

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": {
      "media_url": "<media_url>",
      "type": "<type>"
    },
    "name": "remove_background"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYesKind of media at media_url.
modelNoBackground-removal model ID.
extrasNoModel-specific parameters as listed by get_model_params. They are merged with the top-level fields.
force_newNoAn identical request submitted in the last 10 minutes returns that job without charging again; true generates it again.
media_urlYesImage or video to process (https URL).
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.
output_formatNoVideo only.
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.4/5.0
Behavior4/5

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

Annotations only declare the generic profile (not read-only, not destructive, open-world); the description goes further by disclosing the async job pattern, that credits are charged on submit and auto-refunded on failure, and which output formats preserve or drop transparency. It does not restate the 10-minute dedupe behavior or mention auth/permission needs, so not quite exhaustive.

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?

Front-loads the core action before the model and format detail, and each clause carries actionable information. The heavy parenthetical nesting makes it dense to parse, but nothing is redundant 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?

For a no-output-schema, 8-parameter asynchronous mutation tool, the description supplies what is otherwise missing: the submit-then-check_job lifecycle, the credit/refund model, and model-dependent output behavior. An agent has everything needed to call it correctly and know what comes back.

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%, yet the description adds real meaning the schema lacks: per-model output characteristics (birefnet-matting and ben-v2 produce webm or mp4) and output_format semantics ('webm keeps transparency', 'prores (Bria models)', 'mp4 has no transparency'). This is meaningful disambiguation of an enum, not repetition.

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?

Names a specific verb+resource ('Remove the background of an image ... or a video') and immediately scopes the two media types to their model families. An agent can tell this apart from generate_video, extract_frames, or add_audio_to_video without opening another 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 clear routing context: model names by media type, when a given model is appropriate ('veed keeps semi-transparent parts'), and the follow-up path via check_job and estimate_generation. It lacks an explicit 'do not use this when...' exclusion, but the alternatives it does name are unambiguous.

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.