Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

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
get_game_stateA

获取当前游戏状态 (最近一帧)。

返回 self(己方: 矿/气/供给/单位列表)、enemies(可见敌方单位)。
单位字段: id/type/x/y/hp/sh/player/owner。
trainA

训练单位。例如: train("Terran_SCV")、train("Protoss_Zealot")。

bridge 会找一个能训练该单位的己方建筑下达指令。
buildB

让指定 worker 在 (tile_x, tile_y) 建造建筑。

坐标是格子(TilePosition),不是像素。例如:
    build(1, "Terran_Supply_Depot", 50, 100)
moveB

让指定单位移动到像素坐标 (x, y)。

attackB

让指定单位攻击指定目标单位。

gatherB

让 worker 采集指定资源点(矿物/气矿)。

stopB

让单位停止当前指令。

holdC

让单位原地驻守(hold position)。

chatA

在游戏内发送一条聊天/文字。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 9 tools

Disambiguation5/5

每个工具都对应明确且不同的操作:查询状态、训练、建造、移动、攻击、采集、停止、驻守和聊天。即使 stop 与 hold 语义相近,但描述中一个表示停止指令、一个表示原地驻守,不会造成实质混淆。

Naming Consistency4/5

大多数工具采用简洁的单个动词命名,如 train、build、move、attack、gather,风格统一;但 get_game_state 是唯一的动词+名词 snake_case 形式,与其余工具命名模式略有偏差。整体仍易读可预测。

Tool Count5/5

9 个工具覆盖了 StarCraft 基础控制所需的常见操作,数量适中,没有冗余或明显臃肿。每个工具都有独立用途,规模与服务器定位匹配。

Completeness3/5

基础的状态查询、建造、训练和单位指令已具备,但缺少一些常见 RTS 操作如巡逻、攻击移动、修理、研究和升级,也没有取消或队列相关指令。这些缺口会限制复杂策略的实现,但核心流程仍可运行。

Maintenance

ActivityMaintained
ResponsivenessNo issues