Skip to main content
Glama

BackGone Background Removal

Remove an image background

remove_background

Removes the background from one image with BackGone’s production engine and returns a transparent PNG (or WebP) inline. Without a key it runs the free trial: 2 images per day per IP, free-tier 1024px output, never charged. With "Authorization: Bearer sk_..." it costs 1 API credit per successful image at full resolution (failed calls are not charged); the first key includes 15 free API calls, top up at https://backgone.com/pricing. Provide exactly one of image_url or image_base64.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "remove_background"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoOutput format. PNG is the default; WebP is smaller and capped at a lower megapixel limit.png
image_urlNoPublic HTTPS URL of a PNG, JPEG or WebP image. Fetched server-side with SSRF protection.
image_base64NoBase64-encoded image bytes (PNG, JPEG or WebP; up to 10 MB). A data: URL prefix is also accepted. Use this when the image is local to the agent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare readOnly/openWorld/idempotent/destructive flags; the description adds substantive behavior: rate limits (2 images/day per IP), free-tier resolution cap, 1 credit per successful image, no charge on failure, 15 free calls with the first key, and SSRF protection on URL fetches. This is exactly the cost and failure-mode context annotations cannot convey.

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 and output, then covers pricing and the input constraint in a single dense passage with no filler. The pricing URL and trial detail are justified because they affect whether an agent should call at all, though the passage could be split into shorter sentences for scanability.

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?

With no output schema, the description carries the burden of describing returns and does so (transparent PNG/WebP returned inline), plus cost and rate-limit behavior. It stops short of describing the exact response shape (e.g., whether the image is base64 in JSON or binary content), which is the one thing an agent must still infer.

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%, so the baseline is 3, but the description adds a constraint absent from the schema itself: exactly one of image_url or image_base64 must be provided (the schema declares no required fields or oneOf). That mutual-exclusivity rule materially improves correct invocation.

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?

"Removes the background from one image" names a specific verb and resource, and the description states the output form (transparent PNG or WebP returned inline). The operation is unambiguous and clearly distinct from the siblings (check_photo_requirements, get_pricing), which serve unrelated lookup purposes.

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 operational context: free trial without a key, paid full-resolution path with a Bearer key, and the constraint to supply exactly one of the two image inputs. It does not state when an agent should prefer this over other processing options, but the siblings are unrelated utilities, so the gap is minor.

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