Skip to main content
Glama

Save speech pronunciations

add_speech_pronunciations
DestructiveIdempotent

Save a batch of pronunciation text replacements for this account. Adding an existing family + language + term replaces its pronunciation and variants without an error. Preserve the user's approved spelling exactly; do not automatically save unapproved pronunciation experiments. generate_speech then replaces the whole word (or a variant) before pricing and generation; a term written in lower case matches any case, one with a capital matches exactly, and a Hebrew or Arabic term saved without vowel points matches any pointing. Changes affect future speech only. Use list_speech_pronunciations to inspect and delete_speech_pronunciations to remove. No generation or charge.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "entries": "<entries>"
    },
    "name": "add_speech_pronunciations"
  }
}

Input Schema

NameRequiredDescriptionDefault
entriesYesUp to 100 pronunciations to save.
skills_usedNoOptional workflow analytics: names of the skills (or skill/reference paths) followed for this call. Stored with generation jobs only. Never include private data, local paths or media URLs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well past the annotations by explaining the upsert semantics ('Adding an existing family + language + term replaces its pronunciation and variants without an error'), the scope of the effect ('Changes affect future speech only'), and the absence of side effects ('No generation or charge'). It also explains how generate_speech consumes the stored entries, including case-sensitivity and Hebrew/Arabic vowel-point matching, which the agent cannot infer from destructiveHint/idempotentHint.

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?

Front-loads the purpose and the overwrite behavior, then the matching rules, then the sibling routing. Dense but each sentence carries distinct information; the workflow-policy sentence ('Preserve the user's approved spelling exactly...') is the only one that reads more like an instruction than a definition.

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?

Covers mutation semantics, overwrite behavior, effect scope, and matching rules for a two-parameter batch tool, and there is no output schema to explain. Minor gap: it does not say what the call returns (e.g., count saved vs replaced), though 'No generation or charge' partially covers the cost concern.

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 coverage is 100%, so the baseline is 3, but the description adds matching semantics the schema does not state: a lower-case term matches any case, a capitalized term matches exactly, and an unpointed Hebrew/Arabic term matches any pointing. Those rules materially affect how the agent fills in 'term'.

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?

Opens with a specific verb and resource: 'Save a batch of pronunciation text replacements for this account.' That is distinguishable from the sibling list/delete pronunciation tools, which are named later, so an agent knows exactly what this tool does without reading the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit routing: 'Use list_speech_pronunciations to inspect and delete_speech_pronunciations to remove.' It also sets a workflow policy ('Preserve the user's approved spelling exactly; do not automatically save unapproved pronunciation experiments'), which tells the agent when not to save something.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.