Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
RIPPLE_STORENoPath to the Relate store file used by Ripple (equivalent to the --store option). Every command takes --store PATH (default store/ripple.rl, or $RIPPLE_STORE).store/ripple.rl

Instructions

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

Ripple is a graph of this Python codebase (functions, calls, tests, coverage, git blame) stored in Relate. Use it BEFORE editing a function, instead of grepping for callers:

  • impact(symbol): every function that calls it directly or transitively — what may break.

  • tests_for(symbol): the tests to run afterwards. static = reaches it through calls, dynamic = coverage saw it run; dynamic-only tests are ones static analysis cannot see (e.g. getattr dispatch).

  • reviewers(symbol): who wrote its current lines (git blame), i.e. who to ask / request review from. For cleanups use dead_code(), untested() and import_cycles(). Symbols accept short names (calculate_total, PaymentProcessor.charge); if a name is ambiguous the error lists the candidates — use find_symbol(name) to look one up. For anything else, read graph_schema() and run a read-only cypher(query).

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
find_symbolA

Look up functions by name. Accepts a full qualname ('shop.pricing.calculate_total') or a suffix ('calculate_total', 'pricing.calculate_total', 'PaymentProcessor.charge'). Returns {query, matches: [{qualname, module, lineno, is_test}]}.

impactA

What breaks if symbol changes: every function that calls it directly or transitively (up to max_depth hops), with its shortest distance. Use before editing a function. Returns {symbol, max_depth, count, callers: [{qualname, module, depth, is_test}]} sorted by depth.

tests_forA

Which tests to run after changing symbol. static = the test reaches it through calls; dynamic = coverage shows the test executed it. Tests that are dynamic-only are invisible to static analysis (e.g. getattr dispatch) — run them too. Returns {symbol, count, tests: [{test, module, static, dynamic}], dynamic_only: [test]}.

reviewersA

Who should review a change to symbol: the authors of its current lines (git blame at HEAD). Returns {symbol, reviewers: [{author, email, lines, share, last_date}]} sorted by lines desc; share is the fraction (0..1) of the function's lines, last_date the author's latest commit on it.

dead_codeA

Non-test functions that nothing calls and no test executes (dunders and main excluded), with who last touched them. Candidates for deletion. Returns {count, functions: [{qualname, module, last_author, last_date}]}.

untestedA

Non-test functions that no test reaches, neither through calls nor in coverage. Returns {count, functions: [{qualname, module}]}.

import_cyclesA

Module import cycles in the repo. Each cycle is a list of module names starting at its alphabetically smallest member. Returns {count, cycles: [[module, ...]]}.

graph_statsA

Size of the graph: node counts per label and relationship counts per type, plus the store path. Returns {store, nodes: {label: n}, relationships: {type: n}}.

cypherA

Run a read-only Cypher 25 query against the graph (write clauses are rejected; at most 200 rows). Call graph_schema first to see labels, properties and relationship types. Pass every $param used in the query in params. Returns {count, rows: [{column: value}]}; nodes come back as property dicts.

graph_schemaA

The Ripple graph schema (labels, properties, relationship types, naming conventions) with example Cypher. Read it before writing a query for the cypher tool.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 10 tools

Disambiguation4/5

Each tool answers a clearly different question (find a symbol, find callers, find tests, find reviewers, find dead code), so misselection is unlikely for the core analysis tools. The main soft spot is dead_code vs untested, which both surface 'nothing touches this' functions and differ only by the call-vs-coverage nuance, and graph_stats vs graph_schema are adjacent enough to require reading the descriptions.

Naming Consistency3/5

All names are lowercase snake_case and readable, but the grammatical patterns are mixed: verb_noun (find_symbol, import_cycles, graph_stats), noun (reviewers, cypher), verb (impact), and noun_prep (tests_for). A user cannot predict from a name whether a tool is an action or a resource, though nothing is truly ambiguous.

Tool Count5/5

Ten tools is well within the sweet spot, and each one corresponds to a distinct code-analysis question an agent would actually ask. The two generic escape hatches (cypher, graph_schema) are justified rather than filler.

Completeness4/5

The surface covers the practical pre-edit workflow: locate a symbol, see what breaks, pick tests, pick reviewers, plus repo hygiene via dead code, untested code, and import cycles. Gaps are minor: impact only reports callers, so there is no direct 'what does this call' (downstream) query, and there is no way to index/refresh or inspect a symbol's source; the cypher tool can work around most of these.