Sylvan
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
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.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| what_does_this_callB | Returns all symbols that a given function or method calls. Each callee includes file path, signature, and line number. Shows what a function depends on. |
| who_depends_on_thisA | Returns all files that import a given module. Each result includes has_importers flag: false means the import chain is transitively dead (nothing depends on that importer). Structural query based on the import graph, not text matching. |
| who_depends_on_theseA | Importers for multiple files in one call. Returns dependency lists per file with per-file max_results limit. |
| what_breaks_if_i_changeA | Shows which files and symbols would be affected by changing a given symbol. Separates confirmed impact (name actually referenced) from potential impact (file imported but name not confirmed). Follows import chains up to 3 hops. |
| what_breaks_if_i_change_theseB | Blast radius for multiple symbols in one call. Returns confirmed and potential impact for each symbol independently. |
| inheritance_chainA | Returns the inheritance chain for a class: ancestors (what it extends) and descendants (what extends it). Searched by class name across the index. |
| import_graphA | Returns file-level import dependency graph. Shows what a file imports, what imports it, or both. Returns nodes with symbol counts and directed edges. Follows import chains up to 3 hops deep. |
| who_touched_thisA | Returns git blame, change frequency, and recent commits for a file or symbol. Accepts either file_path or symbol_id to scope the query. |
| find_tech_debtB | Returns quality metrics per symbol: has_tests, has_docs, has_types, complexity score. Filterable by untested_only, undocumented_only, or min_complexity threshold. |
| code_health_reportB | Comprehensive static quality analysis for a repository. Returns test coverage, documentation coverage, code smells, security findings, code duplication, and quality gate pass/fail. No test execution needed. |
| whats_changed_recentlyA | Returns files changed in the last N commits with language, symbol count, and last commit message per file. Lighter than what_changed_in_symbols when you only need file-level change overview. |
| who_calls_thisA | Returns symbol-level references: callers (direction=to) or callees (direction=from). Based on the reference graph, not text matching. Each reference includes file path, signature, and line number. |
| related_codeB | Returns symbols related to a given symbol by co-location, shared imports, or name similarity. Useful for discovering nearby code and understanding context. |
| what_changed_in_symbolsA | Compares symbols between the current index and a previous git commit. Returns symbols added, removed, or changed with signature diffs. Works at symbol level, not line level. |
| rename_everywhereB | Finds all edit locations needed to rename a symbol. Returns exact file, line, old_text, and new_text for each occurrence. Uses blast radius to find affected files across the import graph. |
| find_columnsA | Searches column metadata from ecosystem context providers (dbt). Finds columns by name or description across models. Filterable by model name pattern. |
| what_calls_thisA | Returns all symbols that call a given function or method. Each caller includes file path, signature, and line number. Symbol-level precision, more granular than file-level who_depends_on_this. |
| understand_symbolA | Returns a symbol's source code, file imports, callers, and sibling symbols in one call. Replaces 3-5 separate lookups when you need full context around a function or class. |
| whats_in_fileA | Returns a hierarchical outline of all symbols in a file: functions, classes, methods with signatures and line numbers. No file content loaded. ~100 tokens vs ~2000 for reading the file. |
| whats_in_filesA | Batch retrieves outlines for multiple files in one call. Returns symbol trees with signatures and line numbers for each file. |
| project_structureA | Returns the repository's directory tree with language and symbol counts per directory. Directories beyond max_depth are collapsed with file counts. Compact output like the |
| repo_deep_diveA | Full repository orientation: stats (files, symbols, sections), directory tree, language breakdown, and manifest contents (pyproject.toml, package.json, go.mod). Replaces 5-10 separate calls to understand a repo's scale, structure, and stack. |
| repo_overviewA | High-level repository summary: file count, languages, symbol breakdown by kind, documentation coverage. Quick orientation for unfamiliar codebases. |
| read_doc_sectionA | Retrieves the content of one documentation section by ID. Returns one heading's worth of content instead of the entire file. ~100 tokens vs ~2000 for reading the full doc. |
| read_doc_sectionsA | Batch retrieves multiple documentation sections in one call. Returns content for each section ID. |
| read_symbolA | Retrieves exact source code of a function, class, or method by symbol ID. Returns only that symbol's lines, signature, and docstring. ~50-200 tokens vs ~2000 for reading the full file. |
| read_symbolsB | Batch retrieves source code for multiple symbols in one call. Returns source, signature, and file info for each. Reports not_found for any missing IDs. |
| doc_table_of_contentsA | Returns a structured table of contents for indexed documentation. Lists every heading with section IDs and hierarchy. Filterable by document path. |
| doc_treeA | Nested table of contents grouped by document. Returns heading trees per doc file with depth control. Better than doc_table_of_contents for repos with many documentation files. |
| reindex_fileA | Reindexes a single file. Faster than index_project when only one file changed. Returns updated symbol count. |
| index_projectA | Indexes a local folder for code and documentation search. Incremental: re-runs only process changed files. Returns file count and symbol count. For third-party libraries, use index_library_source instead. |
| index_library_sourceA | Indexes a third-party library's source code for API lookup. Fetches the actual implementation at a specific version from pip, npm, go, or cargo. Format: pip/django@4.2, npm/react@18, go/github.com/gin-gonic/gin, cargo/serde. |
| indexed_librariesA | Lists all indexed third-party libraries with name, version, and symbol count. |
| remove_libraryB | Removes an indexed library and its source files from disk. |
| indexed_reposA | Lists all indexed repositories with file count, symbol count, source path, and indexing timestamp. |
| generate_project_docsC | Generates a sylvan/ project context directory with architecture docs, quality reports, dependency maps, and an agent instruction file (CLAUDE.md or .cursorrules). Creates planning directories for future/working/completed tasks. |
| where_to_startA | Suggests queries for exploring a repo: key entry points, popular classes, unexplored areas, docs. Adapts to what has already been explored this session. |
| find_docsA | Searches indexed documentation sections (markdown, RST, HTML, OpenAPI) by title, summary, or content. Returns section summaries and IDs without loading file content. |
| find_codeA | Searches indexed symbols (functions, classes, methods, constants, types) by name, keyword, or docstring. Returns ranked results with signatures and locations, no file content loaded. Also searches indexed third-party libraries. ~50 tokens per result vs ~2000 for reading each file. |
| find_code_batchB | Multiple symbol searches in one call. Each query runs independently with optional repo, kind, and language overrides. Returns results grouped by query. |
| find_textA | Full-text search across indexed file content. Finds comments, strings, TODOs, and literal text that symbol search misses. Returns matching lines with optional surrounding context. |
| risky_to_changeB | Ranks symbols by risk: combines cyclomatic complexity with git churn rate. High hotspot scores mean the code is both complex and frequently changed. Configurable time window and complexity threshold. |
| plan_renameA | Finds all locations where a string appears in a repo and classifies each by context: string literal, import path, class name, code identifier, documentation, or comment. Returns structured edit entries for rename-safe occurrences and skip entries with reasons for the rest. Accepts a single rename or a batch mapping. |
| batch_plan_renameA | Plan renames for multiple strings in one call. Takes a mapping of old_name -> new_name pairs and returns classified edit locations for each. More efficient than calling plan_rename repeatedly. |
| check_version_driftA | Compares installed dependencies against indexed library versions. Reads pyproject.toml, package.json, go.mod and reports outdated, up-to-date, and not-indexed libraries. |
| migration_guideA | Compares two indexed versions of a library. Returns symbols added, removed, and changed with signature diffs. Both versions must be indexed via index_library_source first. |
| forget_thisA | Deletes a memory by ID. Permanent removal from the project knowledge base. |
| delete_user_ruleB | Deletes a preference by key and scope. For global scope, scope_id is not needed. |
| load_user_rulesA | Returns the user's behavioral rules for this repo: code style, test patterns, commit format, interaction preferences. Merges global, workspace, and repo scopes (repo wins). One DB query, no inference. |
| get_memoryB | Retrieves a specific memory by ID. Returns the full content, tags, and timestamps. |
| remember_thisA | Saves project context that would be lost between sessions: decisions, root causes, business constraints, architecture rationale. Vector-searchable by meaning, portable across agents and machines. Auto-deduplicates similar content. |
| save_user_ruleB | Saves a behavioral rule the user established. Key should be descriptive (e.g. 'test_style'). Instruction must be actionable as a standalone rule. Scope: global (all repos), workspace, or repo. |
| recall_previous_sessionsB | Searches project memories by semantic similarity, not keywords. Returns past decisions, root causes, and context ranked by relevance. Finds matches even when the query uses different words than what was saved. |
| setup_claude_codeA | Creates or updates .claude/settings.local.json with sylvan tool permissions and SubagentStart hook for this project. |
| setup_cursorC | Creates .cursor/rules/sylvan.md with tool routing rules for this project. |
| setup_windsurfC | Creates .windsurf/rules/sylvan.md with tool routing rules for this project. |
| setup_copilotB | Creates .github/copilot-instructions.md with tool routing rules for this project. |
| server_logsA | Returns sylvan server log entries. Defaults to most recent lines (tail). Supports from_start for head and offset for pagination. |
| connection_configA | Returns this server's MCP connection config: command, args, working directory, dashboard URL, and database path. Useful for connecting subagents or SDK clients. |
| how_to_use_sylvanA | Returns workflow rules and tool sequences for common tasks: code exploration, safe editing, dependency analysis, library integration. Also reports pending editor setup actions if project_path is provided. |
| delete_repo_indexA | Permanently deletes a repository's index and all associated data: files, symbols, sections, imports, quality records, references. Cannot be undone. |
| find_similar_codeB | Vector similarity search for code patterns. Given a symbol ID, finds semantically similar functions, classes, or methods across the codebase. Useful for discovering alternative implementations or repeated patterns. |
| add_repo_to_workspaceA | Adds an indexed repo to a workspace. Resolves cross-repo imports automatically. |
| index_multi_repoB | Indexes multiple folders and groups them into a workspace. Resolves cross-repo imports automatically. Enables cross-repo search, blast radius, and dependency analysis. |
| search_all_reposB | Searches symbols across all repos in a workspace. Results from different repos are ranked together. Supports kind, language, and pagination filters. |
| cross_repo_impactA | Cross-repo blast radius. Shows which files across multiple repositories are affected by changing a shared symbol. Returns confirmed and potential impact per repo. |
| pin_library_versionA | Pins a library version to a workspace. Once pinned, search_all_repos includes that library's symbols. The library must be indexed via index_library_source first. |
| usage_statsA | Returns usage statistics: tokens returned vs avoided, tool calls, symbols and sections retrieved. Three levels: current session, per-project lifetime, and overall. Filterable by repo. |
| open_dashboardA | Returns the URL for the sylvan web dashboard. The dashboard shows indexed repos, quality reports, library management, and interactive symbol search. |
| is_peak_hoursA | Returns whether this is peak or off-peak hours for the AI provider. Peak: weekdays 13:00-19:00 UTC. Weekends are always off-peak. Includes time until next transition. |
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 70 tools
Most tools have a distinct purpose and the descriptions actively disambiguate near-neighbors (e.g. 'more granular than file-level who_depends_on_this'). However there are real collisions: what_does_this_call, what_calls_this and who_calls_this overlap heavily (who_calls_this's direction parameter already covers both of the others), and repo_deep_dive/repo_overview, doc_tree/doc_table_of_contents, and rename_everywhere/plan_rename each require careful reading to pick correctly.
The set mixes interrogative prose names (what_does_this_call, whats_in_files, who_touched_this, where_to_start, is_peak_hours), verb_noun names (read_symbol, find_code, index_project), and bare noun phrases (project_structure, import_graph, usage_stats, code_health_report). There is no predictable pattern to generalize from, so an agent must read every description rather than infer from the name.
70 tools is far beyond what an agent can hold in working context, and the breadth is inflated by many singular/plural and batch variants plus redundant analysis tools (find_tech_debt, code_health_report, risky_to_change). The domain is genuinely broad (indexing, search, deps, quality, git, docs, memory, libraries, workspaces, setup), so it is not a pure count problem, but the surface is still oversized for its scope.
Lifecycle coverage is strong: index/reindex/delete repos, index/remove/pin libraries, search, read, dependency and blast-radius analysis, rename planning, quality, git history, docs, memory, workspaces, editor setup, and diagnostics are all present. Minor gaps remain — rename_everywhere and plan_rename return edit locations but nothing applies them, and there is no explicit update path for an existing memory or user rule.