Skip to main content
Glama

Remove image backgrounds

remove_background

Cut the subject out of 1-8 images (Bria RMBG 2.0) and return transparent PNG URLs, one per input, in order. SYNC. SPENDS CREDITS: 1 per image, refunded for any image that fails (its entry carries error). Inputs must be https URLs: upload workspace files with media_reserve_upload → vg put → media_confirm first. For many small sprites, put them on one grid image with gutters, remove the background once, then cut the cells.

Input Schema

NameRequiredDescriptionDefault
imageUrlsYeshttps image URLs (PNG, JPEG or WebP)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations: declares it is SYNC (blocking), that it spends 1 credit per image with refunds on failed images, and that failed entries carry an `error` field. The openWorldHint/idempotent=false annotations are consistent with a credit-spending remote call, and the description supplies the cost model those hints don't.

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?

Front-loaded: purpose, then output shape, then cost, then prerequisites, then an advanced tip. Dense but every clause carries operational information; no filler sentences.

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?

Even without an output schema, the description fully specifies return values (ordered transparent PNG URLs, per-entry `error`), the cost/refund model, sync semantics, and input prerequisites. Nothing an agent needs to call it correctly is missing.

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 100% and already lists PNG/JPEG/WebP and the 1-8 bound, so baseline is 3. The description still adds the non-obvious constraint that URLs must be https and must originate from the upload pipeline, which the schema does not convey — meaningful extra semantics.

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+resource ('Cut the subject out of 1-8 images') and names the underlying model (Bria RMBG 2.0). It also specifies the exact output artifact — transparent PNG URLs, one per input, in order — so an agent knows precisely what it gets back.

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 concrete conditions: inputs must be https URLs, workspace files must first go through media_reserve_upload → vg put → media_confirm, and it offers a strategy (grid + gutters + single call) for many small sprites. It does not name a sibling alternative for cases where this tool is wrong, so it stops short of full routing 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.

Resources