Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
VISION_URLNoOptional vision URL used by describe_image.
VISION_MODELNoOptional vision model used by describe_image.
GOOSE_ACP_HOSTNoACP host for notify to the same goose.
GOOSE_ACP_PORTNoACP port for notify to the same goose.
VISION_API_KEYNoOptional vision API key used by describe_image.
ATTACHMENTS_DIRYesRequired. Directory used by the files group for attachments.
GOOSE_SESSIONS_DBNoThe sessions directory.
ASSISTANT_STATE_URLNoURL for the state store. If unset, the state tools are not advertised.
GOOSE_PUSH_ENDPOINTNoBootstrap UnifiedPush endpoint; the live endpoint is learned over ACP and left behind for the senders.
ASSISTANT_STATE_TOKENNoToken for the state store.
ATTACHMENTS_IMPORT_ROOTSNoImport roots for attachments.
GOOSE_SERVER__SECRET_KEYNoSecret key for ACP to the same goose.

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
attachment_beginA

Start receiving a file from the client. Returns an uploadId to pass to attachment_chunk. Uploads are chunked because a single message has transport ceilings; 8 MiB of raw bytes (about 10.7 MiB base64) per chunk is comfortable.

attachment_chunkB

Append one base64 slice of an in-progress upload. offset must equal the number of bytes already received; the server refuses a mismatch rather than guessing.

attachment_commitB

Finish an upload. Returns the absolute path the file now lives at, plus its sha256 and size. Reference that path in the prompt (a resource_link with a file:// URI) and the agent can read it with its own tools.

attachment_shareA

Put a file from the attachments directory in front of the user, as a card in the chat with a download button. Use this instead of pasting a file:// link when you have produced a file for them. The BYTES are never sent with this call: the client fetches them on demand, so the conversation stays small and reopening the chat costs nothing. A file outside the attachments directory is COPIED IN automatically when its directory is one the operator listed in ATTACHMENTS_IMPORT_ROOTS (render output dirs, typically); anything else must be copied into the attachments directory first. Sharing an IMAGE is how you show the user a picture — do that instead of describing it in prose, and do NOT read_image it first: read_image loads the pixels into YOUR context (thousands of tokens per picture, so a handful exhausts the window) and shows the user nothing. One call per file is expected; a gallery of a dozen renders is a dozen calls.

attachment_readA

Read one window of a stored file, base64-encoded. Clients use this to download a shared file in chunks; offset continues where the previous call stopped and total says when you are done. Not for the model to call on large files — use attachment_extract for text, and never for showing a picture (that is attachment_share; this returns bytes into YOUR context instead of a card). STORE ONLY: this never reads an arbitrary path.

attachment_listB

List files already uploaded to the attachments directory.

attachment_extractA

Extract text from an uploaded file. Handles PDF (text layer), .docx and .xlsx, and any UTF-8 text format. Returns a character window so a long document can be read in pieces: pass offset to continue where the previous call stopped. An empty PDF result means it is a scan, not that extraction failed.

notifyA

Deliver text to the user: pushes it to the user's phone and posts it into the assistant thread. Calling this IS the delivery -- there is no other path, nothing else reads your final answer, and if you do not call it the user never sees the message. When to call it is the calling job's decision, stated in its own instructions.

compact_threadA

Compact the assistant thread: summarise its history in place so it can keep being the same thread forever instead of being replaced. Call it exactly once and report what it returns. It is a no-op if the thread was already compacted today. Takes up to a few minutes on a long thread.

describe_imageA

Look at an image and answer in TEXT, using a vision model. Use this whenever an image needs interpreting and you cannot see images yourself. Pass the user's actual question so the answer is about what they asked, not a generic caption.

tidy_sessionsA

Archive finished scheduled-job sessions, including this one. They are the per-run working sessions the scheduler creates; the results already live in the Assistant thread, so the runs themselves are clutter in every client. Archiving hides them without deleting anything. Call this LAST, once the real work is done.

purge_sessionsA

Permanently delete finished machine-created sessions. Two sweeps: archived scheduled runs older than the cutoff, and sub_agent/hidden sessions older than the cutoff (those are never archived, so age is the only condition). Never touches a chat, a live run, or the Assistant thread. Nightly housekeeping, not something to reach for when a list looks untidy.

thread_noteA

Append one line into a THREAD's own conversation — the chat filed under 'Thread: ' — so the area reads as a log of what the assistant did about it. Use it for the assistant's own actions ('Closed: the renewal request — Sam owns it'), not for news: notify is what reaches the user, this is what reaches the thread the user opens later. Cheap and deterministic: one row, no model turn. If the thread has no conversation yet the note is declined and reported, which is not an error to retry. The client also uses this to give a thread chat its CONTEXT: one note per item it holds, carrying the title, the detail behind it and the row's id, re-offered on every open and written only when the key is new.

nowA

Current local date and time, plus the overnight cutoff to bound message searches with. Call this FIRST in any scheduled run: nothing else here has a clock, and every 'today' you reason about depends on it.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 14 tools

Disambiguation4/5

The attachment_* family is the main risk area, but the descriptions explicitly carve boundaries (attachment_share for showing files, attachment_read for client byte downloads, attachment_extract for text, describe_image for vision). tidy_sessions vs purge_sessions (archive vs permanent delete) and compact_thread vs thread_note (thread summarisation vs thread log) are clearly distinguished. Only attachment_read vs attachment_extract remain mildly confusable since both return offset/total character windows from a stored file.

Naming Consistency4/5

All names are snake_case, and the seven attachment_* tools form a clean resource-prefixed family (begin/chunk/commit/share/read/list/extract). The rest are verb_noun (compact_thread, describe_image, tidy_sessions, purge_sessions, thread_note) with two bare verbs (notify) and one noun (now) that break the pattern slightly but stay readable and unambiguous.

Tool Count4/5

14 tools is comfortably within a well-scoped range, and each tool maps to a real operation. The set is slightly heavy on attachment plumbing (begin/chunk/commit is three calls for one logical action), but that is justified by the stated transport chunking constraint rather than redundancy.

Completeness3/5

The surface covers upload, read, extract, share and list for attachments, but there is no attachment_delete/cleanup and no way to abort a failed in-progress upload (begin/chunk/commit only). Threads can be written to via thread_note but never listed or read back, and `now` advertises an overnight cutoff 'to bound message searches' when no message-search tool exists in this set, leaving a dangling dead end.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues