Skip to main content
Glama

List languages

list_languages
Read-onlyIdempotent

List every content language books are written in or translated into: its code (used by the other tools), English and native names, and how many public books have it as their target_language. Optionally render the names in a display locale (e.g. 'es').

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_languages"
  }
}

Input Schema

NameRequiredDescriptionDefault
localeNoLocale for display_name, e.g. 'en', 'es', 'zh'.

Output Schema

NameRequiredDescriptionDefault
itemsYes
localeYesThe locale display_name is rendered in.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and non-open-world, so safety is covered. Beyond that, the description adds real context: that codes are the identifiers consumed by other tools, and that the count reflects only public books with that target_language — a non-obvious scoping detail the annotations cannot convey.

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?

Two sentences, front-loaded with the verb and resource, then a colon-separated enumeration of return fields. Nothing is repeated and no sentence is filler.

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?

For a one-optional-parameter read tool with a full output schema and explicit safety annotations, the description covers what is returned, what the codes mean, and how the locale option behaves. Nothing an agent needs to call it correctly is absent.

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 description coverage is 100%, and the single optional locale parameter is already documented as affecting display_name. The description adds only the example 'es' and the plural 'names', which marginally clarifies that more than one name field is localized; the response schema carries the rest.

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 every content language') and then enumerates exactly what each entry contains: code, English and native names, and public-book count. No sibling tool in the provided list deals with languages, so there is no scope confusion to resolve.

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

Usage Guidelines3/5

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

Usage is only implied: 'its code (used by the other tools)' hints that this is the lookup source for language codes needed elsewhere, which is a useful cue. However, there is no explicit when-to-use statement, no mention of caching or ordering, and no named alternative.

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.