Skip to main content
Glama
Bridge Commander
by PaPasha215

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BRIDGE_COMMANDER_TOKENNoToken for the HTTP transport (alternative to the tokenFile configuration key).
BRIDGE_COMMANDER_CONFIGNoPath to the configuration file (alternative to --config FILE).

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Bridge Commander gives access to files, search and terminal sessions on this machine and on configured nodes. Use absolute paths. Prefer edit_block for small changes, start_process + read_process_output for long commands. Call get_config to see limits.

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
get_configA

Show this server's configuration, version, host, user and configured nodes.

set_config_valueA

Change one setting at runtime (only when allowConfigChanges is true; not persisted). Keys: allowedDirectories, readOnly, blockedCommands, defaultShell, fileReadLineLimit.

list_nodesB

List configured remote nodes and check that each answers.

read_fileA

Read a file: text, images (PNG/JPEG/GIF/WebP), Word .docx (text, headings, tables), Excel .xlsx (rows as tab-separated values; sheet = name or 0-based index), PDF (text; built in on macOS, pdftotext elsewhere). With is_url=true, path is an http(s) URL to fetch. offset = lines to skip; negative offset reads the last N lines. length = max lines (capped by fileReadLineLimit).

read_multiple_filesC

Read several text files at once.

write_fileA

Write a file (mode=rewrite replaces it atomically, mode=append adds to the end). Creates parent directories. For big files write in chunks with append.

edit_blockA

Replace exact text in a file. old_string must match exactly and occur expected_replacements times (default 1). Include enough context to make it unique.

create_directoryC

Create a directory (and parents).

list_directoryA

List a directory as [DIR]/[FILE] lines, recursing up to depth levels (default 2).

move_fileB

Move or rename a file or directory. Fails if the destination exists.

get_file_infoC

Size, type, timestamps, permissions and line count of a path.

search_filesA

Find files and directories whose name contains pattern (or matches a glob like *.py). Skips hidden dirs, .git and node_modules unless include_hidden.

search_codeA

Search file contents with a regular expression (or literal=true for plain text). Returns path:line:text. file_pattern filters names, e.g. *.ts.

start_searchA

Start a background search and return the first results within timeout_ms (default 3000). search_type=files matches names (substring or glob like *.py); search_type=content searches inside files (regex, or literal=true). Use for big trees: page with get_more_search_results, end early with stop_search.

get_more_search_resultsA

Read results of a search started with start_search. offset = first result line (negative = last N lines), length = how many (default 100, max 1000).

stop_searchA

Stop a running search; its results stay readable for 10 minutes.

list_searchesB

List searches with their status and number of hits.

start_processA

Run a shell command in a new session. Returns its PID, status and the output produced within timeout_ms (default 5000). Long-running or interactive programs keep running: continue with read_process_output / interact_with_process. For Python REPLs use python3 -i.

interact_with_processB

Send a line of input to a session started by start_process and return the new output.

read_process_outputA

Return new output of a session, waiting up to timeout_ms for some to appear. With offset, show retained output by line instead (negative offset = last N lines) without consuming it; length caps the lines.

force_terminateA

Terminate a session started by start_process (and its child processes).

list_sessionsA

List sessions started by start_process.

list_processesA

List running system processes, optionally filtered by a substring.

kill_processA

Send SIGTERM (or SIGKILL with force=true) to any process by PID.

get_recent_tool_callsA

Recent tool calls on this node from the audit log: time, tool, arguments (shortened), result start, success. Use it to recover context in a new chat. Filter by tool_name and since (ISO time, e.g. 2026-10-31T12:00).

get_usage_statsA

Usage statistics from the audit log: calls, failures and average duration per tool and node.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.4/5.0

Scored across 26 tools

Disambiguation4/5

The set splits cleanly into files, searching, processes/sessions, config and audit, and nearly every tool targets a distinct resource+action. The main softness is the search family: search_files/search_code duplicate start_search with search_type=files/content, and kill_process vs force_terminate overlap conceptually, though the descriptions do draw the sync-vs-background and any-PID-vs-session distinctions.

Naming Consistency5/5

Almost every name is a predictable snake_case verb_noun (read_file, list_directory, start_process, get_usage_stats), which makes the surface easy to scan. The only bare-verb name is force_terminate, a trivial deviation that context makes unambiguous.

Tool Count3/5

At 26 tools the surface is heavy, pushed over the line partly by six search-related tools (sync + background + paging + stop + list). Each tool does earn a role across files, processes and audit, but the breadth is at the top end of what an agent can hold in view at once.

Completeness4/5

File read/write/edit/move/create/list/info, process lifecycle, config and audit are all covered, but there is no delete_file or delete_directory (and no copy), so cleanup workflows dead-end at the shell. That gap is workable via start_process but is a real omission in an otherwise thorough surface.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues