Skip to main content
Glama

List locales

list_locales
Read-only

Identify installed locales and the default locale, confirming WIKIJS_LOCALE matches the wiki's language so page tools resolve correctly.

Instructions

Which locales are installed and which one is the default. Worth checking once per wiki: the locale is part of a page’s identity, and every page tool here falls back to WIKIJS_LOCALE, so a wiki running on "de" needs that set or nothing will be found.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
installed_onlyNoOnly locales actually installed (default true). Wiki.js lists every locale it could download otherwise — over a hundred.
Behavior4/5

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

Annotations declare readOnlyHint=true, and the description adds useful behavioral context beyond that: it reveals that the tool reports both installed locales and the default, and explains a consequential fallback behavior tied to WIKIJS_LOCALE. This helps the agent understand why the result matters.

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 compact and front-loaded with the tool's essential question, followed by a succinct, high-value rationale. Every sentence earns its place; there is no redundant or filler content.

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 simple read-only list tool with one optional parameter, the description plus schema fully covers what the agent needs: what is returned, when to call it, and why it is relevant to the surrounding page tools. No output schema is necessary for such a simple result.

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?

The input schema already documents installed_only clearly with 100% coverage, including its default value. The description adds no additional parameter-level detail, so it meets the baseline but does not exceed it.

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 immediately states the tool's purpose: reporting which locales are installed and which is the default. It names the specific resource and the two distinct outputs, making it clearly distinguishable from sibling tools like list_pages or get_site_info.

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 usage context: 'Worth checking once per wiki' and explains why it matters before using page tools, since they fall back to WIKIJS_LOCALE. It does not mention alternatives, but no obvious alternative tool exists for this operation.

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/ni-c/wikijs-mcp'

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