Skip to main content
Glama
huoshuiai42

huoshui-pdf-translator

by huoshuiai42

translate_pdf

Translate PDF documents while preserving mathematical formulas and layout, ideal for academic papers.

Instructions

Translates a PDF document using PDFMathTranslate-next. Preserves mathematical formulas and layout.

Args: pdf_path: PDF file path (absolute or relative to home directory) output_path: Optional custom output path for the translated PDF

Returns: Dictionary with paths to translated files (dual and mono versions)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pdf_pathYesPDF file path (absolute or relative to home directory)
output_pathNoOptional output path for translated PDF

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses preservation of mathematical formulas and layout, plus the return structure (dual and mono versions). However, it does not mention prerequisites like needing a warmed-up translator, potential file overwrites, or other side effects, leaving significant behavioral gaps.

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 description is concise and well-structured, starting with the main purpose, followed by Args and Returns sections. It is front-loaded with the core action. Some redundancy exists because the Args section repeats schema descriptions, but overall it is efficient and easy to parse.

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?

The tool is simple with two parameters and an output schema exists (as indicated by context signals), so the description does not need to explain return values in detail. It covers the core behavior and output. However, it omits mention of the warm_up_translator sibling as a prerequisite, which is a minor completeness gap.

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% because both pdf_path and output_path have descriptions that match the Args section. The description adds no new meaning beyond the schema; it merely restates the parameter definitions. Baseline 3 is appropriate since the schema fully documents the parameters.

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 clearly states the tool translates a PDF document via PDFMathTranslate-next, with preservation of formulas and layout. This specific verb+resource combination distinguishes it from sibling tools like pdf_get, warm_up_translator, and check_translation_tool.

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 the tool is used for translating PDFs, but does not explicitly state when to use it versus the sibling tools (e.g., whether warm_up_translator should be called first). There is no direct alternative or exclusion guidance, only an implied purpose.

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/huoshuiai42/huoshui-pdf-translator'

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