Skip to main content
Glama

bvoiz_synthesize_speech

Converts text into natural Vietnamese or multilingual speech with adjustable speed, pitch, volume, MP3/WAV output, and optional local saving.

Instructions

Chuyển đổi văn bản thành giọng nói AI tự nhiên (Vietnamese & Multilingual Text-to-Speech) sử dụng nền tảng BVoiz AI. Hỗ trợ điều chỉnh tốc độ, cao độ, âm lượng, định dạng file, và tùy chọn lưu file cục bộ.

Input Schema

NameRequiredDescriptionDefault
textYesNội dung văn bản cần chuyển thành giọng nói
asyncNoNếu là true, tạo tác vụ nền và trả về Job ID ngay lập tức (phù hợp với văn bản rất dài)
pitchNoCao độ giọng nói từ 0.5 (trầm) đến 1.5 (cao). Mặc định 1.0
speedNoTốc độ đọc từ 0.5 (chậm) đến 2.0 (nhanh). Mặc định 1.0
volumeNoÂm lượng giọng đọc từ 0 đến 100. Mặc định 100
api_keyNoBVoiz API Key bắt đầu bằng 'bv_live_...'. Nếu đã cài biến môi trường BVOIZ_API_KEY thì không cần truyền.
audio_typeNoĐịnh dạng âm thanh đầu ra: 'mp3' hoặc 'wav'. Mặc định 'mp3'mp3
speaker_idNoID giọng đọc (ví dụ: 'bvoiz_nam_mb_muu_luoc', 'bvoiz_nu_mn_ngan_nguyen_sang_trong', 'vi-VN-HoaiMyNeural'). Dùng công cụ bvoiz_list_voices để xem danh sách đầy đủ.
save_to_fileNoĐường dẫn file trên máy cục bộ để tự động tải và lưu file âm thanh sau khi tạo xong (ví dụ: 'E:/audio/output.mp3' hoặc './speech.wav')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden and mostly restates the adjustable parameters already in the schema. It does not disclose the API-key/auth requirement, cost or rate limits, what the call returns (audio bytes vs URL vs Job ID), or how the async path behaves – all critical for a mutation/synthesis tool.

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?

Two focused sentences that front-load the core purpose, with no filler or redundancy. Slightly under-specified rather than over-long, but structurally clean.

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 9-parameter synthesis tool with no annotations and no output schema, the description omits the return value, the auth requirement, and the async/job-handoff workflow. It also does not point to bvoiz_get_job_status or bvoiz_download_audio, leaving the async path underspecified.

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 every parameter (including pitch, speed, volume ranges, speaker_id, async, save_to_file) is already fully documented in the schema. The description adds only a generic summary of adjustable aspects, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ('Chuyển đổi văn bản thành giọng nói AI' / text-to-speech) on the BVoiz platform and enumerates the adjustable aspects. However, it never distinguishes itself from the sibling 'bvoiz_demo_synthesize', which an agent could easily confuse with this production synthesize tool.

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?

There is no explicit guidance on when to use this instead of bvoiz_demo_synthesize, bvoiz_clone_voice, or the async/download siblings. The only hint ('tùy chọn lưu file cục bộ') implies a save workflow but does not state when/when-not to apply it.

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