Skip to main content
Glama

Get Duolingo Language TTS Voices

duolingo_get_language_voices
Read-onlyIdempotent

Retrieve available text-to-speech voice names for a Duolingo language to select a voice for pronunciation or audio playback.

Instructions

Get the available text-to-speech (TTS) voices for a language. Returns a list of voice names.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "duolingo_get_language_voices"
  }
}

Input Schema

NameRequiredDescriptionDefault
language_abbrNoLanguage abbreviation (e.g. 'fr'). Defaults to current language.
response_formatNoOutput format: 'markdown' or 'json'.markdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description usefully adds the return shape ("a list of voice names") in the absence of an output schema, but says nothing about the relationship of those names to other tools or about the default-language fallback behavior.

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 sentences, front-loaded with purpose and then the return value, with no filler. It is appropriately sized, though the second sentence could have carried slightly more actionable detail instead of just restating output.

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?

For a simple two-parameter, zero-required, read-only lookup with fully documented schema and no output schema, the definition covers purpose and return type adequately. Only the downstream use of voice names is left unstated, which is a minor gap.

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 coverage is 100%, with both language_abbr (including the "defaults to current language" note) and the response_format enum fully documented in the schema. The description's phrase "for a language" adds no meaning beyond that, 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?

"Get the available text-to-speech (TTS) voices for a language" states a specific verb and resource, and the TTS-voice scope reads distinctly against siblings like duolingo_get_audio_url or duolingo_get_language_details. It stops short of explicitly contrasting with any sibling, so it lands at clear-but-undifferentiated.

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 when-to-use guidance, no mention of the alternative tools (e.g., get_audio_url, which presumably consumes these voice names), and no stated prerequisite about needing a language context. The agent must infer the call context entirely.

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