Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
RETOKEN_PORTNoLoopback port to listen on.8888
RETOKEN_TERSE_MODENoAsk the model for terse prose replies.false
RETOKEN_UPDATE_APINoPoints the update check at a mirror of the GitHub releases API.
RETOKEN_AUTO_UPDATENoDaily update check: install (download, verify, restart; release binaries only), notify (log only) or off.install
RETOKEN_CCR_ENABLEDNoProxy-side replay of retoken_retrieve calls (experimental).false
RETOKEN_CACHE_ENABLEDNoExact-match response cache for deterministic requests.true
RETOKEN_CACHE_TTL_SECSNoResponse cache entry lifetime.300
RETOKEN_GEMINI_BASE_URLNoUpstream for Gemini API requests.https://generativelanguage.googleapis.com
RETOKEN_CHATGPT_BASE_URLNoUpstream for /chatgpt/... requests (Codex on a ChatGPT plan).https://chatgpt.com/backend-api/codex
RETOKEN_COMPRESSION_ENABLEDNoTool-output compression (lossless unless the retrieval tool is present).true
RETOKEN_SUBAGENT_TERSE_MODENoTerse replies for Claude Code subagents only.false
RETOKEN_SUBAGENT_CONTEXT_LIFTNoMulti-agent: move each Claude Code subagent's shared opening context into the cached system prompt so sibling agents read it instead of writing it.true
RETOKEN_UPSTREAM_TIMEOUT_SECSNoConnect and idle-read timeout to the provider.60
RETOKEN_ALLOWED_UPSTREAM_HOSTSNoAllowlist for custom upstreams.any public host
RETOKEN_PROMPT_CACHING_ENABLEDNoAnthropic cache breakpoints and OpenAI prefix canonicalization.true
RETOKEN_SHARED_PREAMBLE_BREAKPOINTNoCache breakpoint after the reminders a conversation starts with, when the client has not placed one; only cache markers change.true

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
retoken_retrieveA

Read the saved original when a ReToken marker indicates that lines you need were elided. Skip retrieval if the visible output answers the question. Pass the handle alone for the original text, search for matching lines, or request a line range. Results over 80000 UTF-8 bytes are cut and followed by a notice. Narrow the search or range to read more. A malformed, unknown, or expired handle returns a tool error: check the marker, then rerun the original command if safe and needed.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.7/5.0

Scored across 1 tool

Disambiguation5/5

There is only one tool, so there is no possibility of misselection between competing tools. Its purpose—retrieving elided content via a ReToken handle—is stated unambiguously, including the guidance to skip it when visible output suffices.

Naming Consistency4/5

The single name `retoken_retrieve` follows a clean snake_case, server-prefixed verb pattern. There is no inconsistency to speak of, though a one-tool set gives no opportunity to demonstrate a repeatable convention.

Tool Count4/5

The server's scope is deliberately narrow—recovering content hidden behind a marker—and one tool covers that job without redundancy. It is on the thin side, but no additional tool would obviously earn its place.

Completeness4/5

The tool supports the three plausible access modes (whole original, search, line range) plus truncation handling, which covers the retrieval lifecycle well. Minor gaps exist around discovering handles or inspecting size/metadata without fetching content.

Maintenance

ActivityActive
ResponsivenessNo recent community issues