Skip to main content
Glama
xcstrings-mcp-server

xcstrings-mcp-server

xcstrings_remove

Removes a translation key or a single language entry from an Xcode string catalog, so you can delete an entire key or only one localized value.

Instructions

Remove a translation key or a language-specific entry from the catalog.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "key": "<key>"
    },
    "name": "xcstrings_remove"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesString key to remove
langNoOptional language code. If omitted, the full key is removed
catalogPathNoPath to Localizable.xcstrings

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does not state that removal is destructive and irreversible, what happens to a key's other language entries when one is removed, or how a missing key is handled.

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?

A single front-loaded sentence with no filler words. Every clause conveys a distinct mode of operation.

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 tool is simple and all three parameters are documented in the schema, so the description is nearly adequate. However, with no annotations and no output schema, the absence of any statement about destructiveness or post-removal state leaves a meaningful 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 baseline is 3. The description's distinction between removing a full key versus a language entry restates what the 'lang' schema field already says ('If omitted, the full key is removed'), adding no new semantics.

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?

The description names a specific verb ('Remove') and resource ('translation key or a language-specific entry') and makes the two removal modes distinguishable. It does not explicitly name xcstrings_add as the counterpart, so sibling differentiation is only implied by the operation itself.

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?

Usage is implied by the operation: call it to delete a key or a single language entry. There is no explicit guidance on when not to use it, no mention of related tools like xcstrings_strings for verification, and no prerequisites such as the catalog needing to exist.

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