Skip to main content
Glama

PennyCompute

Remove an image background

remove_background

BiRefNet outputs a transparent PNG at source dimensions. $0.0003 per image. Failed jobs are free.

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": {
      "input_url": "<input_url>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "remove_background"
  }
}

Input Schema

NameRequiredDescriptionDefault
priorityNonormal
input_urlYes
output_uploadNo
idempotency_keyYes
client_referenceNo
max_output_bytesNo
max_wait_secondsNo
webhook_endpoint_idNo

Output Schema

NameRequiredDescriptionDefault
idYes
resultNo
statusYes
priorityNo
created_atNo
service_idYes
started_atNo
updated_atNo
output_fileNo
completed_atNo
failure_codeNo
failure_messageNo
output_deliveryNo
client_referenceNo
charged_fee_microsNo
outstanding_microsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.2/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It does disclose useful traits — output is a transparent PNG at source dimensions, cost is $0.0003 per image, and failures are not billed — but it omits the async job contract (priority, max_wait_seconds, webhook_endpoint_id), whether the call blocks, and how output is delivered via output_upload, all of which the 8-parameter schema exposes.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short and each sentence carries information, but it is front-loaded with output format and pricing rather than the core action, and no sentence establishes the input requirement. Efficient word count is offset by misplaced emphasis.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The output schema covers return values, so that omission is acceptable, but for a mutation-style job submission with 8 parameters, no annotations, and a nested object, the definition should explain the async/wait model and the purpose of the required idempotency key. As written, an agent would have to infer nearly all calling conventions from the raw schema.

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

Parameters1/5

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

Schema description coverage is 0% across 8 parameters including a nested output_upload object, yet the description explains none of them — not input_url, idempotency_key, output_upload, max_output_bytes, max_wait_seconds, priority, webhook_endpoint_id, or client_reference. 'At source dimensions' only faintly gestures at sizing behavior and does not compensate for the documentation gap.

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

Purpose3/5

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

The description conveys the model used (BiRefNet) and that the output is a transparent PNG at source dimensions, which implies background removal, but it never states the action with a verb like 'removes the background from the image at input_url.' It also gives no differentiation from siblings such as upscale_image or generate_image, which share an image-processing surface.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no named alternative. The mention of 'Failed jobs are free' hints at a job model but never tells the agent when to submit here versus calling estimate_job or get_job_status.

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