Skip to main content
Glama

Create Translation Task

create_translation

Create a translation task for a document using a local file path or URL. Specify the target language, optionally the source language, and enable math formula optimization for PDFs.

Instructions

Create a document translation task. Supports file upload via path or URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
to_langYesTarget language code (required), e.g., en, zh, ko, ja
file_urlNoDocument URL to translate (mutually exclusive with file_path)
file_pathNoLocal file path to translate (mutually exclusive with file_url)
from_langNoSource language code (optional, auto-detect if not specified)
optimize_math_formulaNoOptimize math formulas (PDF only)
Behavior2/5

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

No annotations are provided, so the description must carry the full burden of behavioral disclosure. It only mentions file upload capability and does not disclose side effects (e.g., task creation, asynchronous processing), required permissions, or how to track the resulting task.

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?

The description is two short sentences, front-loaded with the purpose and immediately following with input constraints. No unnecessary words or redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a create operation with no output schema and no annotations, the description lacks details about the response (e.g., task ID), follow-up steps (e.g., use get_translation to check status), or any workflow context. This leaves the agent uncertain about what happens after invocation.

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 baseline is 3. The description adds minimal meaning beyond the schema; 'file upload via path or URL' summarizes the file_path/file_url mutual exclusion, but this is already documented in the schema. No extra parameter context is provided.

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?

Clearly states the verb 'create' and resource 'document translation task', making it distinct from sibling tools (get_translation, list_translations, search_documents). The added 'Supports file upload via path or URL' further specifies the tool's scope.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus siblings. There is no mention of get/list for retrieving tasks or search_documents for finding documents. The usage is only implied by the tool's name/verb, not explicitly stated.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/WildDataX/suppr-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server