Skip to main content
Glama
xcstrings-mcp-server

xcstrings-mcp-server

xcstrings_init

Initialize a Localizable.xcstrings catalog in a target directory to set up Xcode string localization files for adding, removing, and inspecting entries.

Instructions

Initialize a Localizable.xcstrings catalog in the target directory.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "xcstrings_init"
  }
}

Input Schema

NameRequiredDescriptionDefault
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 provided, so the description carries the full burden of behavioral disclosure. It does not explain whether initialization creates a new file, what happens if the path already exists, whether the operation overwrites or fails, or what permissions are required. These are important behavioral details for a filesystem-mutating tool.

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, front-loaded sentence with no unnecessary wording. It states the action, resource, and target location efficiently.

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, with one fully described parameter, and the description covers the basic purpose. However, without annotations or an output schema, it should still disclose edge-case behavior such as existing-file handling. It is adequate but leaves a material behavioral 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 coverage is 100%, and the sole parameter is already documented as the path to Localizable.xcstrings. The description adds limited meaning beyond the schema by framing it as a target directory, but it does not clarify path handling, defaults, or whether the directory must exist.

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 states a specific verb and resource: initializing a Localizable.xcstrings catalog. It also identifies the target location, which distinguishes it from sibling operations like xcstrings_add or xcstrings_strings. However, it does not explicitly contrast itself with those alternative operations.

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 this should be used when a catalog does not yet exist, but it does not state when to use it versus other sibling tools or whether prerequisites exist. It also omits what to do if the catalog already exists.

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