Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
UI_HOSTNoDashboard host
UI_PORTNoDashboard port
ENABLE_UINoEnable local dashboard
LOG_LEVELNoLog level; DEBUG for verboseINFO
JEV_API_KEYNoAlias for TYPESAFE_API_KEY
MAX_SOURCESNoServer-side cap on max_sources10
ENABLE_CACHENoProcess-local page cache enabledtrue
BRAVE_API_KEYYesYour Brave Search key (SEARCH_API_KEY fallback)
MAX_REDIRECTSNoRedirect hops5
SEARCH_API_KEYNoFallback alias for BRAVE_API_KEY
TYPESAFE_MODELNoJEV modeljev-latest
SEARCH_PROVIDERNoSearch provider; brave (live only)brave
UI_OPEN_BROWSERNoOpen dashboard in browser automatically
TYPESAFE_API_KEYYesYour TypeSafe key (JEV_API_KEY also accepted)
CACHE_TTL_SECONDSNoProcess-local page cache TTL3600
TYPESAFE_BASE_URLNoAPI root (gateway-compatible)https://api.typesafe.ai
MAX_DOCUMENT_CHARSNoDocument cap (truncates, never OOMs)200000
MAX_RESPONSE_BYTESNoStreaming cap2000000
MAX_SEARCH_RESULTSNoSearch candidates (≤ 50)20
JEV_MAX_STATE_CHARSNoState cap80000
MAX_EVIDENCE_TOKENSNoEvidence budget (approx tokens)8000
JEV_BLOCK_BATCH_SIZENoBlocks per JEV call30
FETCH_TIMEOUT_SECONDSNoPer-request timeout15
JEV_RESULT_BATCH_SIZENoCandidates per JEV call20
BLOCK_UNCERTAIN_MARGINNoConservative retain band for block filtering0.15
MAX_CONCURRENT_FETCHESNoFetch semaphore (≤ 20)5
MAX_BLOCKS_PER_DOCUMENTNoParser cap300
RESULT_UNCERTAIN_MARGINNoConservative retain band for result filtering0.15
RESULT_USEFUL_THRESHOLDNoNoul keep threshold for result usefulness0.5
BLOCK_RELEVANT_THRESHOLDNoBlock threshold for relevance0.5
RESULT_RELEVANT_THRESHOLDNoNoul keep threshold for result relevance0.5
BLOCK_ACTIONABLE_THRESHOLDNoBlock threshold for actionability0.5
JEV_MAX_BLOCK_CHARS_FOR_STATENoPer-block text sent to JEV (full text kept for evidence)2000

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
}

Tools

Functions exposed to the LLM to take actions

NameDescription
researchB

Research a coding question and return compact evidence with provenance.

Args: query: The coding/research question (non-empty, max 2000 chars). max_sources: Max sources to fetch (1..server cap, default server-side). max_evidence_tokens: Evidence budget cap (approx tokens, whole blocks only). mode: 'jev' (semantic filtering) or 'baseline' (no JEV, for comparison).

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 1 tool

Disambiguation5/5

There is only one tool, so there is no possibility of confusing it with another. Its purpose (answer a coding question with sourced evidence) is unambiguous.

Naming Consistency4/5

With a single tool named 'research', there is no pattern to violate, but it is a bare noun rather than a verb_noun convention. Consistency is trivially satisfied.

Tool Count3/5

One tool for an entire research server is borderline thin; a single rich entry point can work, but there is no separate way to list sources, refine results, or fetch a specific document. It sits at the low end of reasonable scoping.

Completeness3/5

The tool covers the core research lifecycle (query, sources, evidence, provenance, modes), but notable gaps remain: no way to retrieve or expand a specific source, no follow-up/refinement operations, and no metadata or health operation. Agents can work around these but with friction.