Skip to main content
Glama

Remove watermark (authorized material only)

remove_watermark
Destructive

AI watermark removal / inpainting for ONE image (JPG/PNG/WebP, <= 10 MB) supplied as a public URL. Optional mask_image_url (white = remove) or normalized mask_rect {x,y,width,height} in 0-1; with neither, the upstream auto-detect mode is used (support depends on the upstream). COPYRIGHT / ABUSE GATE: Use only on images you own or are explicitly licensed/authorized to edit. Do not remove copyright, ownership, attribution or license watermarks from third-party material, and do not bulk-strip watermarks from other people's content. Calls are rate-limited/metered by mcp-credit-gateway, require a valid sk_live_ key, and every attempt (including failures) is logged with an audit id for review. (仅处理自有或已获授权素材;禁止批量剥离他人版权水印;调用限频;失败可审计。) This tool is metered per call, accepts a single image per request, and returns an audit_id; bulk/automated third-party stripping is prohibited and may be blocked or reported. Cost: 3 credits per call; mcp-credit-gateway charges before forwarding the request.

Input Schema

NameRequiredDescriptionDefault
bucketNoUpstream storage bucket for the result (default imgkits).
mask_rectNoOptional rectangular mask in normalized coordinates (0–1). For /api/inpaint this is forwarded as `mask_rect`; if the upstream requires a bitmap mask, pass mask_image_url instead. Mutually exclusive with mask_image_url.
source_urlYesPublic http(s) URL of the image to clean (JPG/PNG/WebP, <= 10 MB). Only use material you own or are explicitly authorized to edit.
mask_image_urlNoOptional public URL of a mask image (white/opaque = watermark area to remove, black or transparent = keep). Mutually exclusive with mask_rect.
idempotency_keyNoOptional caller correlation key, echoed in the result. Billing is handled by mcp-credit-gateway.

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 past the annotations by disclosing pricing (3 credits per call), the sk_live_ key requirement, that mcp-credit-gateway charges before forwarding, rate limiting, that every attempt including failures is logged with an audit id, and that bulk misuse may be blocked or reported. These are exactly the operational and consequence details an agent needs before committing to a destructive, non-idempotent call.

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?

The first half is well front-loaded, but the metering/audit/audit_id information is stated two or three times across the English paragraph, the parenthetical Chinese sentence, and the closing sentence. That redundancy costs space without adding information.

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 single-image metered mutation with no output schema, the description covers input constraints, mask modes, authorization gates, cost, and the fact that an audit_id comes back. Nothing an agent needs to call it correctly or safely is missing.

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 already 100%, so the baseline is 3; the description still adds cross-parameter behavior the schema does not encode — that mask_image_url and mask_rect are alternatives and that omitting both falls back to upstream auto-detect, whose availability is upstream-dependent. It also restates the mask polarity (white = remove) and the 0–1 normalization, though that duplicates the schema.

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 ("AI watermark removal / inpainting") plus hard scope: ONE image, JPG/PNG/WebP, <=10 MB, public URL. An agent can immediately distinguish this from the sibling add_watermark and from the blind-watermark tools.

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 a strong when-to-use condition (only owned or explicitly licensed/authorized material) and explicit exclusions (no copyright/attribution stripping, no bulk third-party removal). It also explains the mask-mode selection: mask_image_url, mask_rect, or neither for upstream auto-detect. It does not name a sibling tool as an alternative path, which keeps it below 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.