Skip to main content
Glama

vibedgames

Remove an image's background

generate_remove_background

Cuts the subject out of an image onto a transparent background, for sprites and props; prompt names what to keep when the cut is ambiguous (Bria Guided Remove Background: bria/guided-remove-background). Billed against your credits; waits up to wait_seconds, then returns the request_id to follow with generate_status.

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": {
      "image_url": "<image_url>"
    },
    "name": "generate_remove_background"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptNoWhat to keep, e.g. the knight
optionsNoAny other input the model takes, per generate schema of its endpoint; the fields above win
image_urlYesAn image's URL, e.g. from generate upload
wait_secondsNoHow long to wait for the result before returning the request id

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?

Goes well beyond the annotations by disclosing that the call is billed against credits, that it is time-boxed by `wait_seconds` (max 25s), and that it may return a `request_id` requiring polling rather than a finished result. These are the exact operational facts an agent needs before committing spend, none of which appear in the annotations.

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 dense sentences with the core action first, then model identity, then cost and async behavior. No filler, and each clause carries a distinct operational fact.

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 paid, potentially asynchronous image-mutation tool with no output schema, the description covers purpose, cost, timeout semantics, and the polling escape hatch. Nothing an agent needs in order to call it and handle the response is missing.

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?

Schema coverage is 100% and the schema already documents `prompt` as 'what to keep' and `wait_seconds` as the result timeout, so the description mostly restates structured data. It adds only the modest nuance that `prompt` matters specifically when the cut is ambiguous; `options` is not addressed at all in the description.

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 and resource ('cuts the subject out of an image onto a transparent background') plus the intended use case ('sprites and props') and the exact underlying model endpoint. An agent can tell this apart from generate_image or generate_3d without opening the 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?

Explains the conditional trigger for supplying `prompt` ('when the cut is ambiguous') and gives the explicit follow-up path via generate_status when the wait expires. It stops short of naming when NOT to use this tool (e.g. versus a general generate_image edit), which keeps it from a 5.

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.