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.

antiRea advisory signals as stateful sessions. Flow: list_signals -> create_signal -> observe (and observe_reference for herd-tightness) -> evaluate -> close_signal. Every result is advisory (enforcement: "none"): signals measure and report, host code decides. Never hard-block anyone on this output.

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
list_signalsA

Returns the 8 signal kinds this server can open sessions for, the library factory behind each, and the exact event shape observe() expects per kind. No session needed.

create_signalA

Creates one antiRea signal instance (from @dannyphan190/anti-rea) and holds it in an in-memory session. kind is one of the 8 from list_signals. options are forwarded verbatim to the library factory - seat-occupancy and room-guard REQUIRE options { capacity: number }; for all other kinds options may be omitted (lab-frozen defaults - do not retune silently). Returns the sessionId to feed with observe.

observeA

Forwards one event to the session instance's observe(). Fill only the fields the session's kind uses (see list_signals): herd-phase / activity-phase / vote-brigading / herd-tightness use { identity, ts } (vote-brigading also takes accountCreatedTs); seat-occupancy and room-guard use { type, identity, ts, accountCreatedTs? }; room-hop uses { identity, room, ts }; reconnect-storm uses { source, kind, ts }. ts is a millisecond timestamp. Returns the library's observation object (e.g. { status, counted }). Feed ONE homogeneous stream per session.

observe_referenceB

Forwards { identity, ts } to a herd-tightness session's observeReference() - the established, known-legitimate population the cohort is standardised against. Only herd-tightness instances have this method in the library; other kinds return an error.

evaluateA

Runs the session instance's evaluate() and returns its JSON result verbatim. args are forwarded as the evaluate options object: { cohortWindowMs } for herd-phase / activity-phase (scoping is part of the law for room streams - use 86400000), { asOfTs } for the other kinds. Omit args to evaluate with defaults. Every result is advisory (enforcement: "none").

close_signalB

Drops the session and its in-memory signal instance. State is not persisted anywhere.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 6 tools

Disambiguation4/5

Each tool maps to a distinct phase of the session lifecycle (list kinds, create, observe, evaluate, close), so overlap is minimal. The one soft spot is observe vs. observe_reference, which share a verb and a payload shape; the description does clarify that observe_reference only works on herd-tightness sessions, so an agent can recover, but misselection is plausible.

Naming Consistency4/5

Four of six names follow a clean verb_noun pattern (list_signals, create_signal, close_signal, observe_reference). The bare verbs evaluate and observe break the pattern and, in observe's case, sit awkwardly next to observe_reference, but overall the convention is readable and predictable.

Tool Count5/5

Six tools is well-scoped for a thin session wrapper over a signal library: enumerating kinds, create/observe/evaluate/close lifecycle, plus the one special reference-observation path. No tool feels redundant or padded.

Completeness4/5

The create → observe → evaluate → close lifecycle is fully covered, including discovery via list_signals. Minor gaps remain: there is no way to list active sessions or inspect held state before closing, and no reset/re-open, which forces agents to track sessionIds themselves in memory.