Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

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

Before writing a new function or module, call find_existing and reuse what already exists. Before changing a file, call read_list with it and follow what it says. Before you finish, call changed_read_list and run the checks it lists (or run npx readfirst verify).

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
read_listA

What to read and check before changing these files: the project rules and risks that apply, the checks to run, the tests that reach the code and the files that use it, and where the file broke before (from git history). Call it before editing.

changed_read_listA

The same read list for every file changed on this branch since the base (default origin/main, else main), each rule and risk judged against the change, under a verdict: what to do, what is blocked, what was not checked, other repositories. Call it before finishing, then run the checks it lists.

find_existingA

Before writing a new function, helper or module: the functions, classes, files and map entries that may already do it, matched by words (not meaning) against names and paths. Give a few words about what it does, e.g. "payment retry" or "csv export". If one fits, use or extend it instead of writing another.

check_mapA

Whether .readfirst/map.json still covers the code: files in no group, patterns that match nothing, broken rules.

pending_map_editsB

Map edits the hosted upkeep proposed that nobody has merged yet: how many merges they cover and how long they have waited on the readfirst/upkeep branch (from the clone's refs, as of the last fetch). Tell the user when there are any, so the map stays in step.

audit_repoA

The whole repository against .readfirst/map.json, as a report: rules and risks whose files changed a lot since they were written, hot spots that moved, groups never filled in, code no test reaches through imports, what readfirst could not see, and the files that broke most in the last 12 months (this part needs no map). Use it before larger work, or to decide what to add to the map.

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

Disambiguation4/5

Each tool has a defensible distinct role, but two near-pairs exist: read_list vs changed_read_list (both emit rule/risk/check guidance, differing only in scope) and check_map vs audit_repo (both validate against map.json, one structural, one report-style). Descriptions do help disambiguate, so misselection risk is moderate rather than severe.

Naming Consistency3/5

All names are lowercase snake_case, which is consistent, but the conventions are mixed: verb_noun (check_map, audit_repo, find_existing) alongside noun phrases (read_list, changed_read_list, pending_map_edits). It's readable but not a single predictable pattern.

Tool Count4/5

Six tools is well within a healthy range for a pre-edit context/guardrail server, and each earns a place. The read_list/changed_read_list pair arguably could be one tool with a flag, making it slightly leaner than ideal.

Completeness4/5

Covers the core loop: read guidance before edits, changed-file verdicts, map coverage checks, pending upkeep edits, repo-wide audits, and duplicate discovery. The main gap is the absence of any tool to create or update the map itself (edits arrive only via the hosted upkeep branch), which is a deliberate but limiting omission.

Maintenance

ActivityNo data
ResponsivenessOutdated data