text_to_speech
mlpeek: Speak text aloud in 41 voices: English, Spanish, French, Hindi, Italian, Portuguese. For audio to text use transcribe_audio. Returns the text spoken as audio. Offline neural TTS (Kokoro-82M); the audio is a synthetic voice. At most 2,000 characters; 41 voices in 6 languages (the voice set...
This record as markdown: /tools/dev-tanod-tanod/text-to-speech.md
What text_to_speech does on Tanod
AI agents use text_to_speech to create or update resources in Tanod, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Tanod environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
text | string | Yes | Text to speak, 1 to 2,000 characters, in the language of the chosen voice (English, Spanish, French, Hindi, Italian or Brazilian Portuguese). |
speed | number | — | Speaking rate, 0.5 to 2.0 (1.0 is normal). |
voice | string | — | Voice (41): the first letter is the language: a US English (af_heart default, af_bella, am_adam), b UK English (bf_emma, bm_george), e Spanish (ef_dora), f Fren |
format | string | — | Audio format: mp3, wav (16-bit PCM) or ogg (Opus). |
output | string | — | base64 (default): inline. url: stored for 24 hours; link, metadata. |
Parameters from the server's own tool schema.
Why text_to_speech is rated Medium
An AI agent can call text_to_speech faster than any human can review: one bad instruction and it creates or modifies resources in Tanod by the hundred, each call as confident as the last.
Attacks that exploit this kind of access
The rule that runs text_to_speech safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Tanod, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For text_to_speech, this is the rule to start with:
text_to_speech stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Tanod, apply this rule, and every text_to_speech call is checked against it from then on.
Questions about text_to_speech
mlpeek: Speak text aloud in 41 voices: English, Spanish, French, Hindi, Italian, Portuguese. For audio to text use transcribe_audio. Returns the text spoken as audio. Offline neural TTS (Kokoro-82M); the audio is a synthetic voice. At most 2,000 characters; 41 voices in 6 languages (the voice sets the language: write the text in it). Bad input is a 422, a busy or unavailable model a 503, a synthesis over the time limit a 504 (none charged). Save data_base64 to a file to play it, or send output "url" for a 24 h link. Typically 4-10 s for 200 characters (about 13 s of speech), up to about a minute for 2,000 characters. Price: USD 0.005. Free: 5 mlpeek calls per IP per UTC day. The submitted text is not logged; the result is kept only with output "url" (24 h). Docs: https://tanod.dev/learn/text-to-speech-api.html. It is categorised as a Write tool in the Tanod MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
text_to_speech accepts 5 parameters: text, speed, voice, format, output. Required: text. The full parameter table on this page comes from the server's own tool schema.
Register the Tanod MCP server in PolicyLayer and add a rule for text_to_speech: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Tanod. Nothing to install.
text_to_speech is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the text_to_speech rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for text_to_speech. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
text_to_speech is provided by the Tanod MCP server (https://tanod.dev/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Tanod, and thousands of servers like it.
This server
Across the catalogue