Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CLO_MCP_HOSTNoHost address for the CLO listener TCP socket127.0.0.1
CLO_MCP_PORTNoPort for the CLO listener TCP socket5005
CLO_MCP_TIMEOUTNoTimeout in seconds for long operations (simulate/render)600

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
clo_pingA

Check that CLO is open and the listener is reachable.

clo_shutdownA

Stop the in-CLO listener and hand control back to CLO's UI.

Needed for the blocking main-thread mode CLO uses when no Qt binding is available: the listener occupies CLO until this is called.

import_projectA

Open a CLO project or garment file (.zprj/.zpac/.avt) into the scene.

import_avatarC

Import an avatar file into the scene.

auto_hangC

Auto-hang a garment on a hanger. bottom=True uses bottom hangers.

simulateA

Run cloth simulation for the given number of frames.

add_fabricC

Add a .zfab fabric to the project. Returns its fabric index.

assign_fabricC

Assign an existing fabric to a pattern piece.

set_fabric_colorB

Set a fabric's PBR base color (0..1 floats) for a colorway/face.

copy_colorwayB

Duplicate a colorway. Returns the new colorway index.

set_colorwayC

Make a colorway current, optionally renaming it.

render_imageB

Render the current scene to image(s). Returns the saved file path(s).

export_zprjC

Save the current scene as a .zprj project file.

pattern_countA

Return the number of pattern pieces in the current scene.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.3/5.0

Scored across 14 tools

Disambiguation5/5

Each tool targets a distinct operation with no overlap. For example, add_fabric imports a new fabric while assign_fabric attaches an existing fabric to a pattern piece. Similarly, clo_ping and clo_shutdown serve different roles in connection management.

Naming Consistency4/5

Most tools follow a verb_noun pattern (e.g., add_fabric, export_zprj, set_colorway), but pattern_count uses noun_verb, and clo_ping/clo_shutdown use a clo_ prefix, introducing minor inconsistency.

Tool Count5/5

With 14 tools, the server covers the major aspects of CLO interaction (file I/O, fabric, colorway, simulation, rendering, connection) without being overly granular or sparse.

Completeness3/5

The tool set covers core workflows but has notable gaps: no pattern creation/modification, no deletion of resources, and no scene inspection beyond pattern count. This limits some agent-driven tasks.

Maintenance

ActivityInactive
ResponsivenessNo issues