Skip to main content
Glama
huoshuiai42

huoshui-pdf-translator

by huoshuiai42

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
pdf_getA

Retrieves detailed information about a PDF file.

Args: path: PDF file path (absolute or relative to home directory)

Returns: PDF resource with detailed information

translate_pdfA

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)

warm_up_translatorA

Warm up the PDF translator by downloading required assets and models. Run this first to avoid timeouts during actual translation.

Returns: Dictionary with warmup status information

check_translation_toolA

Checks if the PDFMathTranslate-next tool is properly installed and available.

Returns: Dictionary with status information about the translation tool

Prompts

Interactive templates invoked by user choice

NameDescription
role_and_rulesCore identity and operational rules for the PDF translation assistant
explain_pdf_pathsHelp users understand how to specify PDF file paths correctly
explain_translation_optionsExplain available translation options and best practices
troubleshoot_translation_errorProvide helpful guidance for common translation errors
explain_translation_resultExplain translation results clearly and provide next steps

Resources

Contextual data attached and managed by the client

NameDescription
translation_capability_listProvides a complete list of all PDF translation capabilities this server supports. Returns: List of supported translation capabilities

TDQS

A4.1/5.0

Scored across 4 tools

Disambiguation5/5

Each tool has a distinct purpose: pdf_get retrieves PDF info, warm_up_translator prepares the model, translate_pdf performs the translation, and check_translation_tool verifies installation. There is no overlap or ambiguity between them.

Naming Consistency4/5

Three tools follow a clear verb_noun pattern (warm_up_translator, translate_pdf, check_translation_tool), but pdf_get reverses this to noun_verb, creating a minor inconsistency. The naming is otherwise clear and readable.

Tool Count5/5

With 4 tools, the server is well-scoped for its purpose of PDF translation. Each tool covers a necessary step in the workflow, and the count is appropriate.

Completeness5/5

The toolset covers the complete workflow: checking installation, warming up models, translating PDFs, and retrieving PDF details. There are no obvious gaps in the provided functionality.

Maintenance

ActivityInactive
ResponsivenessNo issues