Skip to main content
Glama
JaeHyeon-KAIST

pdf2zh-next-mcp

assemble_translated

Assemble translated segments into a final PDF, running asynchronously. Use the returned session_dir to check assembly status, with an optional glossary for consistent terminology.

Instructions

번역된 세그먼트로 최종 PDF를 생성합니다.

백그라운드에서 비동기로 실행됩니다. 반환된 session_dir로 check_assembly_status를 호출하여 완료 여부를 확인하세요.

Args: session_dir: extract_segments에서 반환된 세션 디렉토리 경로 glossary_json: (선택) 용어집 JSON 문자열. 번역 시 생성된 용어집.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_dirYes
glossary_jsonNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses that the tool runs asynchronously in the background and that the caller must check status via check_assembly_status. This is key behavioral context. It does not detail side effects or error modes, but the async disclosure is valuable.

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 efficiently structured: a purpose statement, an async note with follow-up instruction, and a concise args list. Every sentence adds information without redundancy or padding.

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 asynchronous with 2 parameters and an output schema. The description covers the async flow, the two parameters, and the follow-up check step. It does not need to explain return values since an output schema exists. Minor missing context: no explicit prerequisite that translated segments must be saved, but that is implied by the workflow.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It explains session_dir as the path returned from extract_segments and glossary_json as an optional glossary JSON string created during translation. This adds meaning beyond the bare schema property names and defaults.

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 states 'Creates the final PDF with translated segments' – a clear, specific verb+resource combination. It is distinguished from siblings like check_assembly_status (status check) and extract_segments (extraction) by its unique purpose of assembly.

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?

The description clearly indicates when to use it: after translating segments, and explicitly instructs to call check_assembly_status with the returned session_dir to monitor completion. It also ties session_dir to extract_segments. While it doesn't explicitly list when not to use it, the workflow context is clear.

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/JaeHyeon-KAIST/pdf2zh-next-mcp'

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