Skip to main content
Glama

clean_image

Remove text overlays and watermarks from an image. Only use AFTER face_swap if the result still has visible text - face_swap already tries to remove text by default. Costs 5 credits.

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": {
      "imageUrl": "<imageUrl>"
    },
    "name": "clean_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
imageUrlYesURL of the image to clean
workspaceIdNoWorkspace (product/brand) id from list_workspaces. Omit to use the default workspace (set_default_workspace), else the newest one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / workspaceId
      Added value: +{
      +  "description": "Workspace (product/brand) id from list_workspaces. Omit to use the default workspace (set_default_workspace), else the newest one.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does disclose the key behavioral facts an agent needs: a fixed cost of 5 credits and the fact that face_swap already performs text removal by default, which affects whether this call is worth making. It does not state what is returned (image URL, job id), whether credits are charged on failure, or auth/rate-limit constraints, so it stops short of full disclosure.

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?

Three short sentences, front-loaded with the action, then the ordering constraint, then the cost. Every sentence carries decision-relevant information and there is no filler.

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?

For a simple two-parameter tool with full schema coverage and no output schema, the description covers purpose, sequencing, and cost, which is most of what an agent needs. The remaining gap is return/failure behavior, minor given the tool's simplicity.

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 description coverage is 100%, so both imageUrl and workspaceId are already documented in the schema, including the default-workspace fallback. The description adds no parameter-level meaning beyond that, making the baseline 3 appropriate.

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+resource pair: 'Remove text overlays and watermarks from an image.' It also distinguishes itself from the sibling that overlaps in function, noting that face_swap already attempts text removal, so an agent can tell the two apart without opening either schema.

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?

Gives an explicit conditional rule: only use AFTER face_swap, and only if the result still has visible text. It names the alternative (face_swap) and the condition that selects it, leaving nothing to inference.

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