Skip to main content
Glama

copy_from_primary

Copy primary locale values verbatim into target locales for keys like brand names, prices, and percentages that should not be translated. Errors if a key is missing from the primary locale.

Instructions

Copy the primary locale value verbatim to specified locales for specified keys. Use for brand names, prices, percentages, and other terms that legitimately should not be translated. Returns an error if any key is missing from the primary locale.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keysYesDot-notation keys to copy, e.g. ["brand.name", "unit.percent"]
localesYesTarget locales to copy into, e.g. ["de", "fr"]
namespaceYesNamespace name from .i18n-mcp.json

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.17

TDQS

A3.8/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It usefully discloses one behavior - 'Returns an error if any key is missing from the primary locale' - but omits key mutation traits: whether target locales are overwritten, permission requirements, or reversibility for a write operation.

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?

Three tight sentences, front-loaded with the operation, then intent, then the error condition. Every sentence earns its place with no redundancy.

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 3-parameter mutation tool with no annotations and no output schema, the description covers purpose, intent, and an error edge case. It falls short only on overwrite semantics, but is otherwise complete enough to call correctly.

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 all three parameters are already documented in the schema. The description adds only the 'verbatim' semantics of the copy; it contributes no syntax or format detail beyond the schema. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (copy) and resource (primary locale value to target locales for given keys) with the manner ('verbatim'). It is clear enough to distinguish from write-oriented siblings like add_translation, though it never names an alternative explicitly.

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?

Gives concrete when-to-use guidance: 'Use for brand names, prices, percentages, and other terms that legitimately should not be translated.' This tells the agent the intent well, but offers no exclusions or named alternatives (e.g. add_multiple_translations for real translations).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.