Skip to main content
Glama

update_key

Update an existing translation key's name, namespace, or description

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyNameYesCurrent key name (used to find the key)
newNameYesNew key name (provide the current name if unchanged)
keyBranchNoOptional: branch name (used to find the key, for branching projects)
projectIdNoID of the project (required for PAT, auto-resolved for PAK)
keyNamespaceNoOptional: current namespace of the key (used to find the key)
newNamespaceNoOptional: new namespace for the key
newDescriptionNoOptional: new description for the key

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states that the tool 'updates' an existing key, implying mutation, but does not disclose whether the operation overwrites existing values, requires specific permissions, or what the response contains. For a mutation tool, this is a significant transparency gap.

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 a single sentence that is front-loaded with the verb and resource, and clearly lists the scope of changes. Every word earns its place, with no wasted or redundant phrasing. It is appropriately sized for the tool's simplicity.

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

Completeness2/5

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

Given the tool has 7 parameters, no output schema, and no annotations, the description is too sparse to be considered complete. It does not explain update semantics (e.g., whether all fields are overwritten), potential error conditions, or return values. The schema covers parameters but not behavioral or response context, leaving significant gaps for an agent.

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%, with all 7 parameters having descriptive comments. The description adds no additional parameter semantics beyond listing the updatable fields (name, namespace, description), which the schema already covers. The baseline of 3 applies since the schema does the heavy lifting.

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 uses a specific verb ('Update') and resource ('existing translation key'), and lists the exact attributes that can be updated (name, namespace, description). This clearly differentiates it from sibling tools like create_keys or delete_keys. The purpose is unambiguous and immediately understandable.

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?

The description implies the tool is used when you need to modify a translation key's name, namespace, or description, providing clear context. However, it does not explicitly state when not to use it or mention alternatives such as set_translation for updating translation values. No exclusions or alternative guidance is given.

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.

TDQS

A3.9/5.0
Disambiguation4/5

Most tools target distinct entities and actions, but a few pairs like create_keys/set_translation and list_keys/search_keys have overlapping functionality. The descriptions clearly differentiate their use cases, so ambiguity is limited.

Naming Consistency5/5

All tools follow a consistent snake_case verb_noun pattern (create_, delete_, get_, list_, set_, etc.), making the API predictable. The only slight deviation is machine_translate, but it still reads as a single action verb.

Tool Count4/5

With 22 tools, the server covers many aspects of translation management, but the count is slightly above the ideal range. Each tool has a clear purpose, though some could potentially be consolidated without loss of functionality.

Completeness3/5

The core key and translation lifecycle is well covered, but there are notable gaps: languages only support create and list (no update/delete), tags can be added but not removed, and projects lack get/update/delete operations. These omissions may require workarounds.