Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BUDDIE_LOGNoHook run log; 0 turns it off.~/.cache/buddie/hook.jsonl
BUDDIE_FETCHNoSet to 0 so the hook uses stored snapshots only instead of downloading cited pages.on
BUDDIE_FINALNoRegex marking a final answer that must carry anchors at any event; with none, the last message at Stop is the final answer; empty turns the rule off.final_mark in [mandate] of buddie.toml, else none
BUDDIE_GATESNoclass=level,... overrides the default levels of the gates.[gates] of buddie.toml
BUDDIE_INTRONoThe intro mode's count per buddie.toml; 0 keeps none.~/.cache/buddie/intro.json
BUDDIE_REPOSNodir:dir pairs of repositories used to check repo anchors.git repos around the working directory
GITHUB_TOKENNoAlternative GitHub API token used for pr: and ci: anchors (public repos work without one, within rate limits).
BUDDIE_GITHUBNoSet to 0 to make no GitHub calls; pr: and ci: anchors become UNCHECKABLE.on
BUDDIE_STORESNodir:dir extra snapshot stores the hook reads along with the session's own.none
BUDDIE_LESSONSNoSet to 0 for no lessons at SessionStart.on
BUDDIE_NUMBERSNogap, fail or off: how the receipt judges a number missing from its source.from the numbers level
VERBATIM_STORENoSnapshot store used to keep the bytes of every cited source../.verbatim
BUDDIE_SHARED_LOGNoSecond log, one file per session; 0 turns it off./mnt/project-files/buddie/hook, only if that folder exists
BUDDIE_GITHUB_TOKENNoGitHub API token used for pr: and ci: anchors (public repos work without one, within rate limits).
BUDDIE_JOURNAL_TEXTNoSet to 1 so the journal also keeps promise sentences, choice and decision cards as text.[journal] text of buddie.toml, else off
BUDDIE_CONTEXT_LIMITNoContext tokens past which a non-final reply is returned; 0 turns it off.200000

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
}

Tools

Functions exposed to the LLM to take actions

NameDescription
verify_report

Check a report before accepting or passing it on: every quote must be in the bytes of the source it links to (verbatim), every ⚓ anchor must hold in the repos, on GitHub (pr:, ci:) or in the session transcript (run:). Returns a receipt with outcome FAIL / GAPS / PASS / EMPTY, the blocking items and a one-line summary. Only quotations in quotation marks with a link to their page in the same sentence, and ⚓ anchors in backticks, are checked: write e.g. Article 2.10 says «Юридическое лицо, присоединившее другое юридическое лицо, подлежит ответственности» (КоАП РФ, ст. 2.10). EMPTY means nothing was checkable, not that the text is right.

snapA

Snapshot URLs (bytes by sha256) so quotes can be taken from and checked against them. Call it before quoting a page, then copy the words from source_text and link the same URL.

source_textB

Visible text of a snapshot (URL or sha256 prefix). With grep, only the matches with context. Copy quotes from here character for character, put them in quotation marks “…” or «…», and link the snapshot's URL right after the quote in the same sentence.

summaryC

When no subagent is left: the summary built by code from the hook's records (what each subagent did with its receipt outcome, who was lost, the next steps with auto/ask verdicts, open PRs and red CI) and card, a ready AskUserQuestion input with at most three steps and «Ничего не запускать». Show text as is and ask with card unchanged; launch auto steps yourself and the picked ones with the anchor ⚓ choice:<summary_id>=.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 4 tools

Disambiguation4/5

Each tool targets a different stage: snap creates snapshots, source_text retrieves quotable text, verify_report validates quotes/anchors, and summary reports subagent session outcomes. Their descriptions cross-reference each other, but the core actions are distinct enough to avoid misselection.

Naming Consistency3/5

All names use lowercase snake_case and are readable, but the set mixes verb-led (verify_report), noun-phrase (source_text), bare verb (snap), and bare noun (summary) forms. There is no single predictable verb_noun pattern.

Tool Count5/5

Four tools is a tight, well-scoped set for a snapshot/verification workflow. Each tool has a clear role and none appear redundant or missing for the stated purpose.

Completeness4/5

The set covers creating snapshots, extracting quotable text, verifying reports, and summarizing subagent sessions. It may lack explicit listing or searching of existing snapshots/reports, but the core lifecycle is present and workable.

Maintenance

ActivityMaintained
ResponsivenessNo issues