Skip to main content
Glama

visible

cli_visible

Remove known visible AI watermarks from images by detecting registered marks, localizing each to a mask, and filling it with an inpainting backend. Use erase for arbitrary logos.

Instructions

Remove a known visible AI watermark from an image.

Finds registered marks in their expected areas and removes them by localizing
each mark to a mask, then filling that mask with the selected ``--backend``.
``--mark auto`` removes every detected registry entry in one pass. Run
``--help`` to see the current mark keys. For arbitrary logos and objects, use
``erase``.

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": {
      "source": "<source>"
    },
    "name": "cli_visible"
  }
}

Input Schema

NameRequiredDescriptionDefault
markNoWhich known visible mark to target (auto picks every detected mark). The fill backend is chosen by --backend (default auto).auto
detectNoDetect watermark before removal.
outputNoOutput path (default: <source>_clean.<ext>).
sourceYessource
backendNoFill backend for visible-mark removal (localize -> fill). auto: best available, LaMa > MI-GAN > cv2 (a learned backend needs the 'lama' or 'migan' extra; else cv2, with a warning). cv2: classical inpaint (no model download, smears texture). migan: MI-GAN ONNX (light, ~1 GB, the memory-tight pick). lama: big-LaMa ONNX (best quality, ~4.7 GB).auto
sensitivityNoHow hard to trust a borderline mark. auto: relax a mark only when metadata or a same-product sibling mark corroborates it (safe; clean images untouched). strict: high-precision visual gate only, never relaxed. To act on a mark YOU can see but the detector missed, use 'erase --region' or '--mark <name> --no-detect' rather than a blanket relaxation.auto
strip_metadataNoStrip AI metadata from output.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.58.1

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only supply openWorldHint=false, so the description carries the behavioral burden and does it well: it discloses the detect-then-localize-then-fill pipeline, that 'auto' sweeps all detected marks, and that backends differ in cost (~1 GB vs ~4.7 GB downloads, extra installs) and quality. It never says what the tool reports back or whether the source file is left untouched, which keeps it from a 5.

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

Conciseness4/5

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

The purpose and scope are front-loaded in one line, then mechanism and alternatives follow. The mask/fill sentence is useful behavioral context but leans technical for a selection aid; otherwise nothing is padding.

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?

With 7 parameters, no output schema, and thin annotations, the description supplies the mechanism, backend tradeoffs, and the escape hatch to 'erase'. The remaining gap is return behavior: with no output schema, nothing tells the agent what a successful run yields (paths cleaned, marks found, failures).

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%, so every parameter is already documented, which sets the baseline at 3. The description reinforces '--mark auto' and the backend default but largely restates the enum descriptions, adding no cross-parameter nuance beyond what the schema already explains.

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 first sentence gives a specific verb plus a precise resource: 'Remove a known visible AI watermark from an image.' The 'known'/'registered marks' framing instantly separates this from arbitrary-logo removal, and the closing line names the sibling ('erase') that does that other job.

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?

It states the selection condition ('--mark auto removes every detected registry entry in one pass') and explicitly routes arbitrary logos and objects to 'erase'. The exclusion is concrete rather than inferred. It stops short of contrasting with invisible-watermark tools or explaining when to prefer a targeted mark over 'auto'.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.