Skip to main content
Glama

tlkify_module

Idempotent

Extract hardcoded strings from a Neverwinter Nights module into a TLK file and rebuild the module with strref pointers, so text can be reviewed and localized.

Instructions

Extract all hardcoded strings from the loaded module into a TLK file for localization review. Creates a new module with strref pointers and a companion TLK containing all extracted text.

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": {
      "outputTlkPath": "<outputTlkPath>"
    },
    "name": "tlkify_module"
  }
}

Input Schema

NameRequiredDescriptionDefault
outputModPathNoPath for the TLKified module (defaults to <original>.tlkified.mod)
outputTlkPathYesPath to write the generated TLK file

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

A3.7/5.0
Behavior4/5

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

The only annotation is idempotentHint=true, so the description carries the burden of disclosing side effects and does: it writes two files (a new .tlkified module and a companion TLK) and rewrites strings as strref pointers. It also implies the source module is not modified in place. It does not state what happens when output paths already exist or whether a module must be loaded first as a hard prerequisite, which keeps it short of 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the core action and effect. The second sentence partly duplicates the first ('all extracted text' vs 'all hardcoded strings'), so a small amount of redundancy remains, but there is no filler.

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 two-parameter tool with fully documented schema and no output schema, the description covers what is produced and why. The main residual gap is failure/overwrite behavior for the two output paths, which matters because the tool writes files.

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% and both parameters (including the default for outputModPath) are documented in the schema itself, so the baseline of 3 applies. The description adds the meaning of the TLKified module as containing strref pointers, but contributes no path formatting or override semantics beyond the schema.

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 and resource ('Extract all hardcoded strings ... into a TLK file') plus the two artifacts produced (a new module with strref pointers and a companion TLK). Nothing in the sibling list overlaps with this transformation, so it is easy to tell apart, though the second sentence largely restates the first rather than adding scope.

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 phrase 'for localization review' implies the context of use, and the preconditions are implicit ('the loaded module' means a module must already be loaded). There is no explicit when-not guidance or pointer to an alternative workflow (e.g. export_module_report) for a read-only inspection instead of a mutation-producing extraction.

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

Deploy Server

Other Tools