Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TS_URLYesTurnstone console address.
TS_TOKENNoTurnstone API token.
TS_VERIFYNo`true`, `false`, or the path of a CA file.
TS_TIMEOUTNoSeconds per request to Turnstone.
TS_API_DENYNoComma list of API path prefixes to deny.
TS_API_ALLOWNoComma list of API path prefixes to allow.
TS_AUDIT_LOGNoAudit log of write calls. The image uses /data/turnstone-audit.jsonl./data/turnstone-audit.jsonl
TS_FILES_DIRNoFolder in the container from which ts_skill_save may read files. Empty turns file reading off.
TS_HTTP_HOSTNoHTTP host for HTTP mode.
TS_HTTP_PORTNoHTTP port for HTTP mode. The image uses 8765.8765
TS_LOG_LEVELNoLog level: DEBUG, INFO, WARNING, or ERROR.
TS_MCP_TOKENNoAccess token for MCP clients in HTTP mode. At least 24 characters, not the same as TS_TOKEN.
TS_TRANSPORTNoTransport mode. Set by the image to HTTP mode on port 8765; `stdio` is used for a local install.
TS_ENABLE_APINo`1` registers the API tools. Non-GET calls also need TS_ENABLE_WRITE=1.0
TS_TOKEN_FILENoFile holding the Turnstone API token. Wins over TS_TOKEN.
TS_ENABLE_WRITENo`1` registers the write tools; `0` is read only.0
TS_MCP_TOKEN_FILENoFile holding the MCP client access token.
TS_WRITE_ALLOW_IDSNoLimits write tools to these session ids or prefixes. Empty = all sessions. While set, new sessions cannot be created.

Instructions

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

Read-only view of the Turnstone agent orchestrator. Results are compact Markdown and never contain the models' reasoning. Start with ts_sessions, then ts_session / ts_outputs for one session. Session ids may be given in full or as a unique prefix of at least 6 characters. When the API tools are enabled: ts_skills / ts_skill_get / ts_skill_save manage skills, ts_api_endpoints lists the whole Console API and ts_api calls any endpoint the token is allowed to use.

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
ts_whoamiA

Health check: which Turnstone user this server is, its permissions, the API base URL, the server version and whether write tools are enabled.

ts_sessionsA

List Turnstone sessions, newest first: short id, full id, title, kind, state, node, model, persona, child count, context % used and a warning sign when a session waits for a human. state: optional filter (e.g. running, thinking, idle, attention, closed, or "active" for all that are not closed). kind: optional filter (coordinator or interactive). limit: rows (max 100).

ts_sessionA

Details of one session: state, node, model, persona, context use and - if it waits for an approval - the pending tool call with the judge verdict. ws_id: full id or unique prefix (>= 6 chars).

ts_childrenA

The worker sessions of a coordinator session. ws_id: full id or unique prefix (>= 6 chars).

ts_tasksB

The task list of a coordinator session: id, title, status, worker session, last update. ws_id: full id or unique prefix (>= 6 chars).

ts_outputsA

The last final items of a session's conversation: user messages, assistant final text, tool calls and tool results (shortened). Never the models' reasoning. last_n: items (default 5, max 20). include_tools: false hides tool calls and results. max_chars_per_item: default 1500, max 4000. ws_id: full id or unique prefix (>= 6 chars).

ts_clusterA

Cluster overview: nodes (version, reachable, sessions per state), totals and node problems.

ts_modelsB

Model aliases -> model names (with the default alias) and the available personas.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 8 tools

Disambiguation4/5

Each tool targets a distinct data slice (tasks, session detail, children, outputs, cluster, models, identity), and descriptions clarify the boundaries. The risky pair is ts_sessions (list) vs ts_session (detail), and ts_children partially overlaps with ts_sessions filtered by kind, but the descriptions make the intended use clear enough.

Naming Consistency4/5

All names follow a uniform ts_ + noun pattern with no verb/noun or case mixing, which is predictable and readable. The one- or two-character difference between ts_session and ts_sessions is a real selection hazard, so it is not a perfect score.

Tool Count5/5

Eight tools is well-scoped for a read-only session observability server; each tool covers a distinct view (identity, sessions, detail, children, tasks, outputs, cluster, models) with no filler.

Completeness3/5

Read-only coverage of the observability domain is broad, but the surface dead-ends where it matters most: tools flag sessions 'waiting for a human' and expose pending tool calls with a judge verdict, yet there is no tool to approve/deny, message a session, or query logs/events. Task listing is also read-only, so any intervention path is missing.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues