Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BHSA_SQLITEYesPath to the BHSA SQLite database file (e.g., data/bhsa.sqlite3)
LLM_PROVIDERNoLLM provider: 'anthropic' (default) or 'none'anthropic
ANTHROPIC_API_KEYNoAPI key for Anthropic LLM. Required unless LLM_PROVIDER is set to 'none'.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
lookup_featureB

Look up a BHSA feature: its gloss and valid values.

run_mqlA

Validate and run a read-only MQL query; return the query and glossed results.

Only read-only queries (SELECT/GET) are accepted. Quoting rule (getting it wrong fails typechecking): enumeration features compare UNQUOTED (sp=verb, vs=nif); string features compare QUOTED (lex='BR>['). Verb lexemes carry a trailing '['. Call lookup_feature(name) to check a feature's kind/values.

run_tfA

Validate and run a Text-Fabric search template; return glossed results.

A template is one object per line, indentation = containment, constraints as unquoted feature=value pairs (sp=verb, lex=BR>[). Put the object you want results for on the LAST line. Call lookup_feature(name) to check a feature's values. Pinned to the BHSA 2021 release.

to_citable_mqlA

Convert a Text-Fabric search template to equivalent MQL for SHEBANQ.

Deterministic, no model involved: indentation becomes brackets, spaces become AND, string features get quoted from the catalogue. Use this to turn a notebook query into a citable SHEBANQ saved query. Templates using TF constructs beyond ' feature=value ...' lines are refused with an explanation. The mirror of to_tf_template.

to_tf_templateA

Convert an Emdros MQL query to the equivalent Text-Fabric search template.

Deterministic, no model involved: brackets become indentation, AND becomes a space, quoted string values lose their quotes. GET clauses are dropped with a note (TF results expose all features). MQL using OR, NOT, FOCUS, or sequence operators is refused with an explanation. The mirror of to_citable_mql.

search_bhsaA

Answer a plain-language question about the Hebrew Bible.

With server-side translation enabled, returns generated MQL + results. On the public deploy (no server-side LLM) it returns a concise MQL-writing primer so you compose a read-only query yourself and call run_mql. Use the write-mql prompt for the full feature reference. The response also carries the query's Text-Fabric equivalent, derived deterministically from the MQL.

Prompts

Interactive templates invoked by user choice

NameDescription
write_mqlCompose a read-only BHSA MQL query for a plain-language question.

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Jossifresben/shebanq-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server