Skip to main content
Glama
NomaCMS

NomaCMS MCP Server

Official
by NomaCMS

Add project locale

add_project_locale

Add a locale code to a NomaCMS project for setting up multilingual sites before creating translated content. Requires admin API ability.

Instructions

Add a locale code (e.g. tr, es) to the project. Requires admin API ability. Codes are lowercased. Call when setting up a multilingual site before creating translated content.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
localeYesBCP 47 / short locale code, e.g. en, tr, es, de
Behavior3/5

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

With no annotations, the description carries full burden. It mentions the admin requirement and that codes are lowercased, but doesn't disclose potential side effects (e.g., whether adding an existing locale errors or is idempotent) or other behavioral traits.

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 concise sentences, no fluff. Every word contributes: purpose, prerequisite, usage timing, and formatting detail.

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 single-parameter tool with no output schema, the description covers purpose, prerequisite, and usage context. It doesn't mention error handling for duplicate locales, but this is a minor gap.

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% with a description already. The tool description adds value by providing examples (e.g., tr, es) and noting lowercasing, which enhances understanding beyond the schema.

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 clearly states the tool adds a locale code to a project, with specific examples (tr, es). It distinguishes itself from the sibling tool 'set_default_project_locale' by focusing on addition rather than setting default.

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?

It explicitly requires admin API ability and advises calling it when setting up a multilingual site before creating translated content. This provides good context, though it doesn't mention when not to use or alternatives.

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/NomaCMS/nomacms-mcp-server'

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