Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HANDOFF_SERVERNoServer connection mode: 'none' for standalone, or explicit server URL (e.g., 'http://localhost:3000'). Default is auto-discovery mode.
HANDOFF_MAX_COUNTNoMaximum number of handoffs100
HANDOFF_PORT_RANGENoPort range for auto-discovery1099-1200
HANDOFF_SERVER_TTLNoServer auto-shutdown after inactivity in milliseconds (0 = disabled). Default is 24 hours.86400000
HANDOFF_RETRY_COUNTNoAuto-reconnect retry count30
HANDOFF_MAX_KEY_LENGTHNoMaximum key length100
HANDOFF_RETRY_INTERVALNoAuto-reconnect interval in milliseconds10000
HANDOFF_MAX_TITLE_LENGTHNoMaximum title length200
HANDOFF_MAX_SUMMARY_BYTESNoMaximum summary size in bytes (default 10KB)10240
HANDOFF_MAX_CONVERSATION_BYTESNoMaximum conversation size in bytes (default 1MB)1048576

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
handoff_save

Save a conversation handoff for later retrieval. Use this to pass conversation context to another AI or project.

Format Selection

  • structured (default): Organize content using the template below. Much faster — reduces output tokens to ~5-20% of the original conversation. Best for most handoffs.

  • verbatim: Save the complete word-for-word conversation. Use only when exact wording matters (e.g., legal text, precise error messages).

Structured Template (for format="structured")

## Key Decisions
- [Decision]: [Rationale]

## Implementation Details
[What was built/changed, with relevant code snippets]

## Code Changes
[Files modified with brief description]

## Open Issues
- [Issue]: [Status/Context]

## Next Steps
- [ ] Action item

Omit sections that don't apply. Add custom sections if needed.

handoff_list

List all saved handoffs with summaries. Returns lightweight metadata without full conversation content. Opens interactive UI if supported.

handoff_load

Load a specific handoff by key. Returns full conversation content.

handoff_clear

Clear handoffs. If key is provided, clears only that handoff. Otherwise clears all.

handoff_stats

Get storage statistics and current limits. Useful for monitoring usage.

handoff_restart

Restart the shared HTTP server. Useful when the server is in an unhealthy state. All stored handoffs will be lost (data is in-memory).

handoff_merge

Merge multiple handoffs into one. Combines conversations and metadata from related handoffs into a single unified handoff.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
ui://conversation-handoff/viewer.html

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/trust-delta/conversation-handoff-mcp'

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