Skip to main content
Glama

ReWords AI — Edit, Translate & Extract Text in Images

Edit, Translate, or Remove Image Text

edit_image_text

Replace specific words in an image while preserving original font and background, translate all visible text in an image into a target language, or cleanly remove unwanted text/watermarks. Consumes credits from the connected ReWords AI account (10 credits for 1K, 20 for 2K, 30 for 4K) and renders an interactive Before/After preview card.

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": {
      "mode": "<mode>"
    },
    "name": "edit_image_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYesUse "replace" to change specific words, "translate" to translate text into another language, or "remove" to erase text.
imageNoUploaded or conversation image file to process.
image_urlNoOptional public HTTPS image URL (PNG, JPG, or WebP) when providing an image link instead of an uploaded file.
resolutionNoOutput resolution tier. Defaults to "1k" (10 credits). "2k" (20 credits) and "4k" (30 credits) require paid credits on the connected account.
replacementsNoFor "replace" mode (or targeted "remove" mode): list of exact or partial source strings to find in the image and the replacement text (use empty string "" when removing specific text).
erase_all_textNoSet true when mode is "remove" and the user wants all text removed from the entire image.
target_languageNoTarget language when mode is "translate" (for example: "English", "Spanish", "Japanese", "Chinese", "French", "German", "Korean").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations mark this non-read-only but non-destructive and open-world; the description adds real behavior beyond that: exact credit tiers (10/20/30) tied to resolution and the fact that an interactive Before/After preview card is returned. It does not say whether the source image is preserved or overwritten, nor whether the operation is synchronous despite a sibling job-status tool existing.

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 sentences, no filler: the three supported operations lead, and the cost/output note follows. The most decision-relevant information is front-loaded.

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 7-parameter tool with a nested image object, the description covers the operation set, pricing, and returned preview, and the schema handles the rest. The main gap is execution semantics: synchronous vs. job-based, and how to poll or retrieve a finished result.

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 mode, resolution, replacements, erase_all_text, target_language, and the nested image object are all already documented with examples. The description only restates the resolution cost tiers already present in the schema, adding marginal meaning.

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 description names a specific verb and resource and enumerates all three operations (replace words, translate visible text, remove text/watermarks), which matches the three-value mode enum. It is clearly distinguishable from extract_image_text, which reads text rather than modifying the image.

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?

Each mode is paired with a concrete scenario ('preserving original font and background', 'translate all visible text', 'cleanly remove unwanted text/watermarks'), so an agent can pick the right mode without scheming. It stops short of explicitly routing to siblings such as get_edit_job_status for progress polling or extract_image_text when no edit is wanted.

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.