Ripple
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| RIPPLE_STORE | No | Path 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
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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 |
| tests_forA | Which tests to run after changing |
| reviewersA | Who should review a change to |
| dead_codeA | Non-test functions that nothing calls and no test executes (dunders and |
| 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 |
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 10 tools
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.
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.
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.
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.