Skip to main content
Glama

ghostrigger_export_model

Exports KotOR MDL models to FBX on disk using GhostRigger, preparing them for import into Unreal Engine 5.

Instructions

Export a KotOR MDL model to FBX (or another format) via GhostRigger.

Calls the KotorMCP 'ghostrigger_open_model' tool through GhostRigger with export options. The exported FBX is saved to export_path on the local filesystem.

This is the first half of the KotOR→UE5 pipeline:

  1. ghostrigger_export_model → exports MDL to FBX on disk

  2. import_static_mesh / import_skeletal_mesh → imports FBX into UE5

Args: resref: Model resource reference (e.g. "n_bastila", "plc_bench") export_path: Absolute path on the MCP server machine where the FBX should be saved (e.g. "/home/user/exports/n_bastila.fbx" or "C:/exports/n_bastila.fbx") module_dir: Optional path to the module directory format: Export format: "fbx" (default) — future: "gltf", "obj"

Returns: JSON string: { "success": true, "resref": "n_bastila", "export_path": "/home/user/exports/n_bastila.fbx", "format": "fbx" } or {"error": "..."}

KB: see knowledge_base/16_ANIMATION_DEEP_DIVE.md#overview Example: ghostrigger_export_model(resref="Example", export_path="/Game/MCP_Test/Example")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formatNofbx
resrefYes
module_dirNo
export_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does well: it discloses that the tool writes an FBX to a local filesystem path, calls another tool (ghostrigger_open_model), and returns a structured JSON success/error payload. It doesn't mention overwrite or prerequisite behavior, but the core side effect and result format are clear.

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?

The description is well-organized with clear sections (summary, pipeline, Args, Returns, KB, Example) and front-loaded purpose. It earns its length. The example contains a contradictory export_path ('/Game/MCP_Test/Example' is a UE path, not an absolute filesystem path), which slightly mars an otherwise tight structure.

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?

The description covers purpose, all parameters, return format, and pipeline linkage, which is strong for a 4-param tool with no annotations. The main gaps are lack of explicit overwrite/prerequisite behavior and the misleading example path, which could cause an agent to pass an invalid export path. These are minor but real.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate fully, and it does. The Args section explains resref, export_path, module_dir, and format with concrete examples, defaults, and allowed values, adding meaning far beyond the bare schema titles.

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 states a specific verb and resource: 'Export a KotOR MDL model to FBX (or another format) via GhostRigger.' It also names the pipeline position and distinguishes from the downstream import tools (import_static_mesh / import_skeletal_mesh), so an agent can clearly tell this is the export step, not an import or open step.

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?

The description gives explicit pipeline context: 'This is the first half of the KotOR→UE5 pipeline' and lists the follow-up import tools. This tells the agent when to use it in a workflow. It does not enumerate when not to use it or compare with ghostrigger_open_model, but the pipeline framing is sufficient guidance.

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