Skip to main content
Glama

Translate the text in an image

translate_image
Read-only

Translate text inside product images while preserving fonts, colors, and layout. Provide an image URL, source and target languages to get the translated image.

Instructions

Replace the text inside a product image with a translation, keeping fonts, colours and layout. Give the image as a URL. Returns the translated image.

Input Schema

NameRequiredDescriptionDefault
fontNoA font name from supported fonts. Default Pretendard.
image_urlYesAn http(s) URL of a JPEG, PNG or WebP image.
source_languageYesThe language of the text in the image, or auto.
target_languageYesThe language to translate into, e.g. ko, en, ja, zh-CN.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds useful context that layout/fonts/colours are preserved and that the result is a translated image, but it says nothing about supported fonts/limits, failure behavior, or the return format beyond 'the translated image'.

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, front-loaded with the core action and the preservation guarantee, with zero filler. Every clause earns its place.

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 four-parameter tool with no output schema, the description covers the action, input form, and that a translated image is returned. The only minor gap is the exact return format (URL vs. binary), but overall it is sufficient to invoke correctly.

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 all four parameters are already documented, including enums and format constraints. The description only reinforces that the image is supplied as a URL and adds no syntax or format meaning beyond the schema, so baseline 3 applies.

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 ('Replace the text inside a product image with a translation') and names the preserved properties (fonts, colours, layout), which distinguishes it clearly from sibling tools like search_products_by_image. An agent can tell exactly what this does without opening the schema.

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

Usage Guidelines3/5

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

The description implies usage ('Give the image as a URL') and the operation type makes its niche evident, but it never states when to use this versus alternatives or any preconditions/exclusions. It relies on the agent inferring context from the name and siblings.

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