Skip to main content
Glama
dcd887
by dcd887

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MOD_CONFIG_EXTENSIONSNo支持扫描/解析的配置文件扩展名(逗号分隔,可扩展自定义扩展名)cfg,toml,json
MOD_CONFIG_MAX_FILE_MBNo单个配置文件大小上限(MB),超过则跳过50
MOD_CONFIG_MAX_STRING_LENNo校验时字符串值长度告警阈值500

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": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
read_mod_configA

Read and parse a mod config file (.cfg for Forge, .toml for Fabric, .json for any). Returns the parsed config tree.

list_mod_configsA

List all mod config files in a config directory (recursively). Returns file path, mod ID, format, and size.

validate_mod_configsB

Validate all mod config files in a directory for common issues: empty values, invalid numbers, parse errors, oversized strings.

compare_mod_configsA

Compare two config directories (e.g. before/after a modpack update). Reports added, removed, changed, and unchanged config files with key-level diff info.

find_orphaned_configsA

Find config files whose mod JAR is no longer present in the mods/ directory. Useful after removing mods.

get_mod_default_configA

Get the known default/baseline config for a specific mod. Supports Sodium, OptiFine, Phosphor, Lithium, Fabric API.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources