Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TRINITAS_DATA_DIRNoBase directory for local datadata
TRINITAS_MEMORY_DBNoSQLite memory path{TRINITAS_DATA_DIR}/trinitas_memory.db
PROVIDER_REGISTRY_URLNoRegistry document URLGitHub Pages registry.json
PROVIDER_REGISTRY_BASENoRegistry base for future detail fetchesGitHub Pages base URL
REGISTRY_CACHE_TTL_SECONDSNoIn-memory registry cache TTL60

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
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
store_dialog_turnA

Store a single dialog turn in persistent session memory.

Persists a message (user, assistant, system, or tool) for later retrieval and context assembly. Metadata can hold arbitrary JSON-serializable context such as model name, tool calls, or review state.

Args: session_id: Unique conversation session identifier. role: Speaker role (e.g. user, assistant, system). content: Message text content. metadata: Optional key-value context attached to this turn.

Returns: JSON string with the stored turn record including assigned id.

retrieve_recent_contextA

Retrieve the most recent dialog turns for a session.

Returns turns in chronological order (oldest first) so they can be directly used as LLM context.

Args: session_id: Conversation session to query. limit: Maximum number of recent turns to return (default 10).

Returns: JSON string with session id, turn count, and turn list.

search_memoryA

Search dialog memory within a session by text substring.

Performs a case-insensitive LIKE search over turn content and roles. Suitable for finding earlier mentions of topics, decisions, or entities.

Args: session_id: Conversation session to search. query: Substring to match in content or role. limit: Maximum results to return (default 20).

Returns: JSON string with matching turns, newest first.

route_best_modelA

Recommend the best AI provider for a given task type.

Uses the public kbarbel640-del/ai-provider-registry to score providers by capability match, free-tier preference, and known provider strengths.

Args: task_type: Task category — chat, code, reasoning, vision, search, embeddings, image, or tools. constraints: Optional routing constraints: - prefer_free (bool): Prefer free-tier providers. - exclude_providers (list[str]): Provider ids to skip. - api_style (str): Required API style (e.g. openai).

Returns: JSON string with top recommendation and up to four alternatives.

list_available_providersA

List all providers from the AI Provider Registry.

Fetches the live registry document and returns provider summaries including id, api_style, free-tier status, and supported capabilities.

Returns: JSON string with registry metadata and provider list.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.4/5.0

Scored across 5 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: list providers, retrieve recent dialog, route best model, search memory, and store dialog turn. No overlapping functionality.

Naming Consistency5/5

All tool names follow the verb_noun pattern in snake_case (e.g., list_available_providers, store_dialog_turn), providing a predictable and consistent naming scheme.

Tool Count4/5

5 tools is on the lower side but acceptable for a server combining provider routing and dialog memory. Each tool serves a clear role without redundancy.

Completeness4/5

Dialog memory covers store, retrieve, and search adequately. Provider coverage has list and route but lacks a single-provider detail lookup, a minor gap.

Maintenance

ActivityMaintained
ResponsivenessSyncing