Skip to main content
Glama
local-context
by JustinA988

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PYTHONIOENCODINGNoRecommended to set to utf-8 for Python I/O encoding.utf-8
PYTHONUNBUFFEREDNoRecommended to set to 1 for unbuffered Python output.1
LOCAL_CONTEXT_ROOTYesThe folder Claude may read and use as the shell working directory.

Instructions

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

Local tools only. This server never calls the Claude API. Every result is capped. Search or list before reading. Use offset to continue a capped result. SQL is read-only unless a source allows writes. refresh_source and run_task do the work locally and return a short status.

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
list_dirA

List names in an allowed directory. Does not read file contents.

search_textA

Search text under an allowed root. Returns capped matching lines.

read_fileC

Read a capped text slice. offset is a character offset.

run_commandA

Run one command inside an allowed root. Output is capped. Anthropic credentials are removed from the child environment.

query_sqlB

Run one SQLite statement. Ad-hoc files are read-only. Rows are capped.

list_sourcesA

List configured external data sources by name and type.

read_sourceB

Read a capped slice of a configured source. pointer is a JSON pointer.

refresh_sourceB

Run a command source locally and store its output. Returns a short status, not the output.

list_tasksB

List named local tasks.

run_taskC

Run one named task locally and return a capped status.

task_statusB

Read a capped slice of the latest stored task output.

server_statusA

Show roots, caps, and that this server makes no Claude API calls.

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 12 tools

Disambiguation4/5

Tools are mostly distinct by resource and action: files, sources, tasks, commands, SQL, and server status each have clear boundaries. There is mild overlap between read_file/read_source and run_command/run_task/refresh_source, but the descriptions generally help an agent choose correctly.

Naming Consistency4/5

Names are consistently snake_case and mostly follow a verb_noun pattern such as list_dir, read_file, run_command, and refresh_source. The two *_status tools break the verb_noun pattern, but the overall convention remains predictable and readable.

Tool Count5/5

Twelve tools sit comfortably within the expected 3-15 range for this kind of local-context server. Each tool maps to a clear capability area—file browsing, search, execution, SQL, sources, tasks, and status—with no obvious filler.

Completeness4/5

The core local-context workflows are covered: listing, searching, reading, command execution, SQL querying, source access, task execution, and status introspection. Explicit write/edit and create/delete operations for files, sources, or tasks are absent, but run_command provides partial workarounds and some configuration may be external.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues