Skip to main content
Glama
fabkho
by fabkho

Remove Translations

remove_translations

Remove translation keys from all locale files in a layer, with dry-run preview to verify changes before saving.

Instructions

Remove one or more translation keys from ALL locale files in the specified layer. Use dryRun to preview changes before applying them.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keysYesDot-separated key paths to remove from every locale file in the layer. Example: ["common.actions.delete", "auth.errors.expired"].
layerYesLayer name from discover (e.g., "root", "app-admin"). The key will be removed from ALL locale files in this layer.
dryRunNoWhen true, returns a preview of what would be removed without writing any files. Default: false.
projectDirNoAbsolute path to the Nuxt project root. Defaults to I18N_PROJECT_DIR, then server cwd. Example: "/home/user/my-app".
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses the destructive scope (removing from ALL locale files) and the dryRun preview, which is useful. However, it does not mention reversibility, required permissions, or return format, leaving meaningful gaps.

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 two sentences, front-loaded with purpose, and every word adds value. It includes the essential dryRun guidance without any fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers purpose and the key safety feature, but with no output schema and no annotations, it lacks details about return values, behavior for missing keys, and side effects on files. For a mutation tool affecting multiple files, this is a moderate 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 description coverage is 100%, so the schema already documents all parameters with examples. The description only reinforces the layer and dryRun concepts without adding new semantic details, matching the baseline.

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 specifies the verb 'Remove' and the resource 'translation keys from ALL locale files in the specified layer', which distinguishes it from sibling tools like remove_orphan_keys and rename_translation_key. The scope is explicit and unambiguous.

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 clearly states when to use the tool (to remove translation keys) and highlights the dryRun option as a safety measure. However, it does not explicitly contrast with alternatives or mention when not to use it, so it lacks explicit exclusions.

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/fabkho/the-i18n-kit'

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