Skip to main content
Glama

List the languages an agent can speak or write

list_agent_languages
Read-onlyIdempotent

List the languages an agent can speak or write

Returns the languages you can assign to an agent, each with an English name, the name the language calls itself, and a region code for a flag image, so a language picker needs no table of its own. This is a different list from GET /languages, which returns the locales the dashboard interface is translated into. Populating an agent picker from the locale list is a common mistake and leaves a customer with three choices where the platform supports dozens. Set type to chat for a text agent, which has no speech synthesis and therefore the longer list. For voice, language support depends on the speech model, so pass the same ttsModel value you will create the agent with and the answer matches what that agent will accept; leaving it unset answers for the default model. The voice list is read from the live model catalogue, and meta.source reports catalog when it came from there or defaults when a built-in list was used instead. Set type to all to name any language code the platform may have stored, which is what a list of agents needs to print a language instead of a bare code.

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": "list_agent_languages"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoWhich kind of agent the languages are for, or `all` to name every language the platform knows.voice
ttsModelNoSpeech model the voice agent will use, for example `echocall-ultra`. Ignored for `type=chat` and `type=all`. Unset means the default model.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, but the description adds real behavior: the voice list is read from the live model catalogue, `meta.source` reports `catalog` vs `defaults`, and unset `ttsModel` answers for the default model. These are non-obvious traits beyond the annotations, though it does not discuss result size or ordering.

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?

Purpose and the sibling contrast are front-loaded, then the parameter guidance follows in a logical order. It is a single dense block with a couple of expendable clauses (the language-picker rationale), but nearly every sentence carries information an agent needs.

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?

With no output schema, the description carries the return-shape burden and does so: English name, autonym, region code for a flag image, plus `meta.source`. Combined with the enum guidance for both parameters, nothing an agent needs to call this correctly is missing.

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 coverage is 100%, yet the description still adds meaning the schema lacks: `chat` implies no speech synthesis and therefore a longer list, `ttsModel` is ignored for `chat`/`all`, and the value must match what the agent is created with or the answer diverges. This is genuine semantic enrichment, not repetition.

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?

States a specific verb and resource (list languages assignable to an agent) and explicitly contrasts it with the sibling `GET /languages` locale list, calling out the common mistake of using the locale list for an agent picker. An agent can distinguish this from `list_languages` without opening either 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 conditional guidance: `chat` for text agents (no speech synthesis, longer list), `voice` for speech where support depends on the speech model and requires the same `ttsModel` value used at creation, `all` for naming any stored code when listing agents. It also names the wrong alternative (the locale list) and the consequence of choosing it.

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.