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

Tools

Functions exposed to the LLM to take actions

NameDescription
session_overviewB

Session metadata: app URL, duration, lang, audio captured, ASR engine, counts of says/marks/errors/requests/ws frames, file list

list_segmentsA

Speech anchor index — every spoken segment with suspects, dead clicks and shot/dom refs. Segments are mechanically cut, NOT confirmed issues: merge adjacent ones or split as the semantics require. READ THIS FIRST.

segment_detailA

One speech segment's evidence bundle: verbatim speech, suspect elements, dead clicks, errors, and the exact shots/dom snapshots to inspect. n = segment number (1-based)

list_saysC

All spoken feedback fragments with timestamps — the issue anchors

session_mdB

The rendered evidence timeline (SAY blocks + attached events). Capped at ~80k chars — for long sessions prefer list_segments/segment_detail first, then events_around for raw precision

events_aroundB

Raw events within a time window. t_ms = timeline ms, radius_ms default 3000, kinds = comma list (click,input,req,res,ws,console,error,mut,mark,nav,say,scroll,shot,note,issue,dom,key)

get_errorsB

All console errors, page errors and HTTP responses >= 400

get_shotB

A screenshot image. path is relative to the session dir, e.g. shots/011-mark.jpg

get_dom_stateA

DOM snapshot HTML nearest to a timeline ms (snapshots at nav/mark/every 30s). Returns path + html, capped — pass max_chars for more. For visuals prefer get_shot/keyframes

get_bodyB

Captured HTTP response body. path relative to session dir, e.g. bodies/r3.json

get_audioA

Session microphone audio (audio.webm, opus). Returns the whole recording inline when ≤15MB — use it to verify what the user actually said against the transcript. Larger files return the path+size instead; extract a time range locally with ffmpeg if needed

get_transcriptA

Speech recognition output: full transcript text + segments with timestamps (engine/model/lang recorded). Returns say events if no transcript.json exists

search_eventsB

Full-text search across event fields (say text, console, errors, urls, selectors, input values, ws payloads). Case-insensitive substring. Returns matching events as JSON, oldest first

get_asrA

Current live speech-recognition engine for future recordings (auto|local|doubao-web|doubao-ime|sr|off)

set_asrA

Switch the live ASR engine for FUTURE recordings (persists to ~/.witness/config.json). local = offline sherpa-onnx; doubao-web = best cloud punctuation; doubao-ime = sentence timestamps; sr = browser builtin; off = none.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.4/5.0

Scored across 15 tools

Disambiguation4/5

Most tools map to a distinct evidence type (shot, DOM, body, audio, errors, events, ASR config), so an agent can pick correctly in most cases. The overlap is in the speech/timeline axis — list_says, get_transcript, list_segments, segment_detail, session_md and events_around all return related timeline content, and the descriptions rely on 'prefer X first' guidance rather than clean separation.

Naming Consistency3/5

Roughly half the tools follow a verb_noun convention (get_shot, list_segments, search_events, set_asr), but the other half are bare noun phrases with no verb (session_overview, segment_detail, session_md, events_around). The get_/list_ split is also inconsistent — get_transcript vs list_says vs list_segments return comparable data but use different verbs.

Tool Count4/5

15 tools for a rich multi-modal evidence domain (speech, screenshots, DOM, network, console, config) is defensible and each tool covers a real data type. A few could merge (session_md into segment_detail/events_around; get_transcript into list_says), putting it at the top of the comfortable range.

Completeness4/5

Coverage of the replay/evidence surface is strong: overview, segments, transcript, audio, screenshots, DOM, HTTP bodies, errors, raw events, full-text search, and ASR configuration. Gaps are minor — no way to enumerate or select among multiple sessions, no generic file access beyond shots/bodies/audio, and no annotation/export operation despite note/issue event kinds existing.

Maintenance

ActivityNo data
ResponsivenessOutdated data