Skip to main content
Glama

create_pronunciation_dictionary

Lock in exact pronunciations for custom words, names, and invented terms so they are always spoken the same way in any generated audio.

Instructions

Create a pronunciation dictionary so specific words/names are ALWAYS said a fixed way.

Great for a game/story cast: lock how lore names, places, and invented terms are pronounced, then apply it to any speech so every character says them consistently. Save it once (by name), then pass pronunciation=<name> to generate_speech/speak, or pin it to a speaker (save_speaker(pronunciation=)).

Args: name: A name to save this dictionary under (reuse it later by name). rules: The easy form is a {word: say-it-like-this} map, e.g. {"Kaelthas": "kal-thass", "Y'ffre": "iffray"} (alias rules). For precise IPA control, pass a list of ElevenLabs rule objects ({"type":"phoneme","string_to_replace":"...","phoneme":"...","alphabet":"ipa"}). description: Optional note.

Returns: {"name", "id", "version_id", "rules": } or {"error"}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
rulesYes
descriptionNo
Behavior3/5

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

With no annotations, the description carries the burden of disclosing behavior. It explains that the dictionary is saved by name and reusable, and it specifies the return value. However, it does not disclose what happens if a name already exists (overwrite vs error) or any permission requirements.

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 well-structured: a clear one-sentence summary, a usage paragraph, a structured args list, and a returns section. Every sentence adds value, and it is appropriately sized given the tool's complexity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description provides a complete picture: what the tool does, how to use the resulting dictionary, the exact parameter formats, and the return value. It even references related tools (generate_speech/speak, save_speaker) for applying the dictionary, making it fully actionable for an agent.

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

Parameters5/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 fully explain the parameters. It does so thoroughly: name is explained as a handle for reuse, rules are detailed with two formats (alias map and IPA phoneme objects) and examples, and description is noted as optional. This compensates completely for the schema's lack of descriptions.

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 creates a pronunciation dictionary, with a specific verb ('Create') and resource. It explains the function and provides a concrete use case, making the purpose unmistakable even without explicit sibling differentiation.

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 gives clear context on when to use the tool (for consistent pronunciation of names/terms) and how to apply the result (pass to generate_speech/speak or pin to a speaker). However, it does not mention alternatives like add_pronunciation_rules or specify when not to use it.

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/DuragonYama/ofaudio-mcp'

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