Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LONGHAUL_HOMENoWhere memory is stored.~/.longhaul
LONGHAUL_MODELNoModel that does the summarizing. Defaults to the first model the endpoint reports.
LONGHAUL_API_KEYNoSent as a bearer token.local
LONGHAUL_SESSIONNoName this session; separate memory per name.default
LONGHAUL_TIMEOUTNoSeconds to wait for a summary.900
LONGHAUL_BASE_URLNoOpenAI-compatible endpoint used to summarize.http://localhost:1234/v1

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

Tools

Functions exposed to the LLM to take actions

NameDescription
compactA

Compact the conversation when the context window is filling up (call around 70% full, before turns scroll away). Summarizes the session into a dense STATE block, saves it to permanent memory, and returns it. Continue from the returned block and treat earlier turns as discarded - nothing is lost, recall can retrieve it.

recallA

Search everything ever compacted or remembered, across all past sessions. Use when the user refers to earlier work, asks what was decided, or mentions something not in the current window. Call with an empty query to get the most recent compaction.

rememberA

Pin a fact to permanent memory immediately - a user preference, a decision, a path, a credential location. Survives every future compaction and session.

timelineB

List all sessions on record with their memory counts.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

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/yungmoneyhuncho/longhaul'

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