Skip to main content
Glama

500Toolbox

Remove Background

remove-background
Read-onlyIdempotent

Downloads a PNG, JPEG, WebP or BMP from a public URL and runs ISNet background removal on the media worker. Returns a transparent PNG as base64. Costs 25 credits per call.

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": {
      "fileUrl": "<fileUrl>"
    },
    "name": "remove-background"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileUrlYesPublicly reachable URL of the image.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful context beyond that: accepted input formats, the specific ISNet engine, the base64 PNG return shape, and a 25-credit cost per call, which is important for an agent budgeting calls. It stops short of detailing file-size limits, timeouts, or failure behavior for unreachable URLs.

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 tight sentences with zero filler. The core operation is front-loaded, followed by the output format and the cost, both of which an agent needs before committing. Nothing is repeated from the title or schema verbatim.

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?

For a single-parameter tool with no output schema, the description covers the essential gaps: what formats are accepted, what the return value looks like (base64 transparent PNG), and that the call costs credits. What remains unstated are operational limits such as maximum image size, processing time, and behavior on unsupported or unreachable URLs, which keeps it from a 5.

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?

There is a single parameter with 100% schema description coverage, and the schema already documents it as a publicly reachable URL with length bounds and an example. The description's phrase 'from a public URL' reinforces the constraint but adds no syntax, format rules, or edge-case semantics beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: downloads an image from a public URL and runs ISNet background removal, returning a transparent PNG as base64. The supported formats (PNG, JPEG, WebP, BMP) and the engine name make the operation unambiguous. It does not differentiate itself from visually related siblings such as image-upscale or watermark-image, so it falls short of a 5.

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?

Usage is implied by the operation itself: the agent can infer it should call this when it has a publicly reachable image URL and wants the background removed. There is no explicit when-to-use or when-not-to-use guidance, and no alternative tool is named for cases where the image is not publicly reachable or is already transparent.

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