Skip to main content
Glama

Remove Background Tool

remove_background

Remove the background from an already-uploaded image file (a hashid from create_upload), returning a transparent PNG. This is FREE and only needs an account, no subscription.

To use a local file: call create_upload, PUT the bytes to the returned upload_url, then pass that id here as file. Do NOT call complete_upload (that starts the paid clip pipeline); this free tool reads the uploaded file directly.

Processing is ASYNCHRONOUS: this returns a tool_job hashid and status: "queued". Poll get_tool_job_status with that tool_job until it reports completed, then it returns the downloadable PNG URL. Free usage is rate-limited per day with a per-file size cap; a clear error explains how to lift a limit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYesThe uploaded image id (hashid) from create_upload (no complete_upload needed).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A5/5.0
Behavior5/5

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

Annotations are empty, so the description carries the full burden. It discloses that the tool is free, requires only an account, is asynchronous (returns tool_job and status 'queued'), is rate-limited per day, has a per-file size cap, and explains how errors indicate limit lifting. This is exhaustive behavioral context beyond any structured data.

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?

The description is long but every sentence earns its place: it opens with the core purpose and output, then moves to workflow, async behavior, and limitations. It is logically ordered and front-loaded with the most critical information, with no fluff or redundancy.

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?

Given the tool's complexity (async job, upload flow, rate limits), no annotations, and no output schema, the description covers everything an agent needs: how to call it, what to expect, how to poll, and what constraints apply. Nothing essential is missing.

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

Parameters5/5

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

Although the schema covers the file parameter with 100% coverage, the description adds substantial meaning by explaining the provenance of the hashid (from create_upload, without complete_upload) and the exact workflow to obtain it. This enriches the parameter's semantics beyond the schema's concise note.

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 states a specific verb ('Remove'), a resource ('background from an already-uploaded image'), and the output ('transparent PNG'). It also references the upstream create_upload flow and distinguishes itself from sibling tools like complete_upload and edit_image by explicitly disclaiming the paid pipeline and noting it reads the file directly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit step-by-step instructions for local files (create_upload → PUT bytes → pass id) and a clear exclusion: 'Do NOT call complete_upload (that starts the paid clip pipeline).' It also directs the agent to poll get_tool_job_status until completion, covering the full usage lifecycle.

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