Skip to main content
Glama

synapse-mcp

Ваш структурный мозг для ИИ-агентов, которые пишут код.

Free Pro MCP Compatible Languages 100% Local Zero Data Egress


Synapse-MCP — это бесплатный, полностью локальный MCP-сервер, который превращает вашу кодовую базу в постоянный AST-граф знаний на устройстве. Claude, Cursor, Copilot и любой MCP-совместимый агент получают точные деревья вызовов, семантический поиск и рефакторинг без галлюцинаций — при расходе токенов на 60% ниже, чем у шелл-инструментов. Ваш код никогда не покидает вашу машину.

# Linux / macOS
curl -fsSL https://downloads.synapse-mcp.dev/install.sh | sh

# Windows PowerShell
powershell -c "irm https://downloads.synapse-mcp.dev/install.ps1 | iex"

Что такое Synapse MCP?

Если вы пользовались ИИ-ассистентами для кода — Claude, Copilot, Cursor, Devin — вы наверняка замечали, что они тратят много времени на поиск кода, прежде чем изменить его. Они делают grep по файлам, читают импорты, ищут имена функций, открывают файл за файлом. Такое исследование дорого: оно сжигает токены, занимает время, и агент всё равно иногда ошибается.

Synapse MCP решает эту проблему.

Это MCP-сервер — фоновый процесс, который подключается к вашему ИИ-агенту и даёт ему новый набор инструментов. Вместо файловой системы и поисковой строки Synapse даёт вашему агенту заранее построенный граф знаний всей кодовой базы: каждая функция, каждый класс, каждая связь вызова, каждая граница модуля — проиндексированы, структурированы и готовы к запросу за миллисекунды.

Простыми словами

Представьте разницу между новым сотрудником в первый день и опытным инженером, который много лет работает с этой кодовой базой.

Новый сотрудник открывает файлы, что-то ищет, задаёт вопросы, путается в незнакомых именах. Каждая задача начинается с исследования.

Опытный инженер уже знает, где что находится. Он сразу идёт к нужному файлу, понимает, чем обернётся изменение, прежде чем коснуться кода, и знает, какие тесты запускать. Он не исследует — он действует.

Synapse превращает вашего ИИ-агента в опытного инженера. Граф знаний строится один раз, автоматически обновляется по мере изменения кода и мгновенно используется в каждом запросе агента — при этом код не покидает вашу машину.

Почему это стоит использовать?

Без Synapse

С Synapse

Агент перебирает файлы, читает импорты и открывает 10 файлов, чтобы найти одну функцию

Один вызов инструмента возвращает нужный фрагмент, его вызывающих и его тесты

Каждая сессия начинается с нуля

Граф сохраняется и улучшается между сессиями

Агент пишет файл, линтер падает, файл сломан

write_safely сначала проверяет и откатывает изменения при сбое

Вы не можете просто вставить стектрейс и надеяться

resolve_stack сопоставляет его с вашим AST и предлагает исправление

Ревью кода выполняется вручную

review_diff перед пушем ранжирует радиус поражения и нарушенные контракты

Код отправляется в облачный сервис для построения индекса

Всё работает локально — ноль исходящих данных

Вам не нужно менять то, как работает ваш агент. Вам не нужно менять свой процесс. Вы устанавливаете Synapse, регистрируете репозиторий — и ваш агент сразу становится умнее.


Related MCP server: Reporecall

Локально прежде всего. Всегда.

🔒 Ваш код никогда не покидает вашу машину. Synapse полностью работает на вашем оборудовании — без облачной индексации, без API-запросов с вашим кодом, без телеметрии, без привязки к вендору.

Большинство инструментов анализа кода отправляют ваш код в облачный сервис для построения индекса. Synapse так не делает. Полный AST-граф — каждая функция, каждое ребро, каждый эмбеддинг — строится и хранится локально в постоянном хранилище на устройстве. Когда граф готов, ваши агенты запрашивают его напрямую через MCP. Ничего не уходит наружу.

Это важно для:

  • Корпоративных сред и регуляторных отраслей — исходный код остаётся внутри вашего периметра

  • Контрибьюторов open source — ваша неопубликованная работа остаётся неопубликованной

  • Всех, кому важна скорость — локальные запросы к графу имеют задержку менее миллисекунды. Никогда никакого сетевого обхода.


Почему Synapse?

Обычные агенты делают grep по тексту. Synapse за один вызов MCP отдаёт сжатые структурные срезы из заранее построенного графа AST — вызывающие функции, вызываемые функции, пробелы в покрытии, контракты и сводки.

«Четыре вызова инструмента. Ноль чтений файлов. Ноль grep. С Synapse агент тратит токены на саму задачу, а не на исследование.» — из отчёта о бенчмарке Synapse

Бенчмарк — автономный аудит безопасности · кодовая база 500k LOC · та же frontier-модель

Метрика

Synapse против шелл-инструментов

Токены и стоимость

−60%

Скорость

2,2× быстрее

Вызовы инструментов

−47%

Точность

100% — идентично

Данных отправлено в облако

0 байт

Меньше вызовов инструментов + отсутствие сетевой задержки = значительно более быстрые циклы работы агента.


Возможности одним взглядом

Возможность

Описание

🔒 100% локально и приватно

Граф строится и хранится на вашей машине: ноль облачных зависимостей, ноль исходящих данных, ноль сетевых задержек при запросах

⚡ Графовые запросы за доли миллисекунды

Локальное in-memory-хранилище — ответы мгновенны, никаких API round-trip в бюджете агента

🚀 SmartCrusher Compression

Ответы автоматически минифицируются на 30–60%: короткие ключи, вырезанные null, относительные пути. Outline-режим убирает тела — 20+ файлов за долю стоимости токенов

Три режима поиска

Семантический (на обычном языке), поиск по символам и полноценный PCRE-regex — всё возвращает структурированные ID фрагментов, а не сырые выгрузки файлов

Транзитивный граф вызовов

Известнил все прямых и транзитивных вызывающих функции, прежде чем трогать строку кода. Регулируемая глубина, степень достоверности, метки рёбер

Безопасные атомарные записи

Редактирование моделируется в памяти, оценивается, запись выполняется атомарно, а при сбое lint-а происходит автоматический откат

Мгновенное устранение сбоя

Вставьте stack trace, получите корневую причину, сопоставленную с вашим AST-графом, — и рекомендации по воспроизводству. Никакого рантейма не нужно

Ревью изменений и оценка влияния

Загрузите diff или диапазон коммитов. Получите ранжированный радиус поражения, нарушение контрактов, запросы к тестам и обеззора, в том числе и перед пушем

Постоянная память агента

Сводки, сделанные в одной сессии, используются и в следующей. Чем больше вы используете Synapse, тем умнее становится модель кодовой базы

Интеллект тестирования

Полосы покрытия, сопоставление тестов и упорядоченные цели тестирования — выводятся из графа без запуска тестовой среды

Рентген кодовой базы

Определение языка, публичная API-поверхность, безопасность удаления мёртвого кода, страница модульных зависимостей, сканирование контрактов и возможности рефакторинга — одним вызовом


Поддержка языков

50+ языков. Один граф. Поддержка сотен репозиториев. AST-рулон и выделение рёбер зависимостей для каждого общепринятого языка — без плагинов, без конфигурации, без облака.

Elixir Python TypeScript JavaScript Go Rust OCaml Haskell F# Clojure Scala Java Kotlin Swift C C++ C# Ruby PHP Dart Zig Erlang Julia Groovy Solidity GraphQL HCL / Terraform Protobuf SQL Shell PowerShell Lua ...and more


Установка

См. Быстрый старт ниже или посетите synapse-mcp.dev/download — там полное руководство и установщик с графическим интерфейсом.


Цены

Free — The Golden Graph · $0 навсегда

Возможность

Описание

AST-индексация

10 000+ файлов более чем на 50 языках за секунды

Поиск

Семон, символьный и regex — структурированные результаты вместовыгрузки файлов

Граф вызовов

Транзитивный обход вызывающих и вызываемых функций с оценками уверенности

Аналитика кодовой базы

API-поверхность, безопасность удаления, граф взаимозависимостей и кандидаты на рефакторинг

Сжатие

При отправковый результат составляет лишь столь, сколько нужно.

Приватность

100% локальность, ноль облачных зависимостей, ноль исходящих данных

Pro — The Shadow Graph · $19 / месяц

⚡ Типичная экономия токенов превышает стоимость подписки.

Возможность

Описание

Безопасные изменения

Моделирование, проверка и автоматический откат при сбое lint

Ревьюизменений

Радиус поражения, контракты и ранжированный риск

Разбор сбоев

Стаб → первопричина → тесты, которые повторяют проблему

Интеллект тестов

Диапазоны покрытия и точное закрытие пробелов

Постоянная память

Сводки между сессиями не теряются

Кэш знаний

Запросы со временем лучше ранжируют результаты


Synapse учится на каждой сессии

У большинства ИИ-инструментов нет памяти. Каждая сессия начинается с нуля — агент снова читает те же файлы, находит те же функции и снова задаёт те же вопросы. Это дорого и медленно.

Synapse — это нечто иное. Он поддерживает постоянный граф знаний на устройстве, который накапливается в каждой сессии. Но помимо хранения графа, в нём есть встроенный слой обучения и подкрепления, который становится умнее по мере использования.

Как работает обучение — простыми словами

Представьте собранного коллегу, который аккуратно ведёт заметки.

1. Объяснения, которые сохраняются Когда агент (или вы) объясняет, что делает функция, — "This handles Stripe webhook validation and checks for duplicate events" — Synapse навсегда записывает это в граф. В следующей сессии любой агент, который касается этой функции, автоматически получит ваше пояснение. Вы написали один раз — польза для всех агентов навсегда.

2. Запросы, которые обучаются сами Каждый раз, когда поиск возвращает полезный результат, и агент им пользуется, Synapse незаметно записывает связь: «когда задают X, фрагмент Y оказался правильным ответом». Со временем наиболее полезные результаты для частых запросов сами всплывают наверх, даже если никто ничего вручную не настраивает. Это подкрепление при поиске: граф улучшает собственный рейтинг на основе реального использования.

3. Явное продвижение Если результат особенно важен, можно напрямую указать Synapse: «для запросов об обработке платежей этот фрагмент всегда показываем первым». Эта инструкция хранится локально и учитывается в каждой следующей сессии.

4. Обнаружение пробелов Synapse отслеживает, какие места в вашей кодовой базе запрашиваются чаще всего, но не имеют пояснений. Он может по требованию показывать такие пробелы — чтобы вы точно знали, где пятиминутная аннотация принесла бы наибольшую пользу будущим сессиям агентов.

В результате получается модель кодовой базы с накапливающимся эффектом. Граф становится богаче, выдача точнее, а агенты тратят меньше времени на повторное изучение того, что уже было понято.

🔒 Слой обучения полностью локальный. Никакие запросы, ответы и сигналы об использовании не покидают вашу заابن.

✨ Система обучения и памяти — это тарифная функция Pro. Именно сюда мы вложили больше всего самостоятельной инженерной работы: создание петли обратной связи, которая делает каждую следующую сессию агента измеримо быстрее.


Справочник инструментов MCP

Synapse предоставляет 13 точных инструментов через Model Context Protocol. Все инструменты принимают флаг compress_payload (по умолчанию true), который включает сжатие SmartTool — на 30–60% меньше токенов в ответах и с нулевой потерей информации.

Инструменты, помеченные FREE, доступны на всех тарифах. Инструменты, помеченные PRO, требуют подписку Pro ($19/мес). Именно в Pro-функциях содержится по-настоящему уникальная инженерия: безопасные атомарные записи с откатом, обучение от сессии к сессии, устранение сбоев и анализ влияния изменений.


ask_synapse — FREE

Это вход на естественном языке по умолчанию. Задайте любой вопрос по кодовой базе или поставьте задачу в простом английском. Synapse направляет запрос в оптимальный базовый инструмент, возвращает безопасные next_tool_calls для дальнейших действий и сообщает completion_state и agent_instruction, чтобы вы всегда знали, что делать дальше.

Используйте его в первую очередь для практически любой задачи: изучения кодаes, проверки безопасного удаления, редактирования, отладки, анализа тестов и администрирования. Для вопросов «можно ли удалить X?», «все ещё используется X?» или «стоит ли сохранить X?» укажите inputs.chunk_id, если он известен; в ином случае передайте repo_id и полный символ с арностью в inputs.symbol. Если пользователь даёт только обычное описание, лучше спросить конкретный символ или показать кандидатов, а не догадываться.

{ "query": "Where is the retry logic for the payment service?", "repo_id": "my-org/my-repo" }

synapse_search_codebase — FREE

Поиск кода по смыслу, имени или образцу. Три режима поиска в одном инструменте:

Действие

Описание

semantic

Поиск по смыслу на простом английском по векторных встраиваний фрагментов. «Найти все места, где обрабатываются ошибки auth»

symbol

Точный поиск именованного символа по функции, классу, модулю или типу

regex

Полный in-memory grep с погребением PCRE по индексированному графу. Возвращает ID фрагментов, номера строк и теги — не сырой текст

{ "action": "symbol", "query": "PaymentService", "repo_id": "my-org/my-repo" }

synonym_explore_graph — FREE

Исследуйте связи вокруг любого фрагмента. По ID фрагмента (из любого результата поиска) обходите граф AST-зависимостей в любом направлении.

Действие

Описание

callers

Все прямые и транзитивные вызывающие функции, с настраиваемой глубиной и оценками уверенности

callees

Все функции/модульы, вызываемые из данного фрагмента

context

Насыщенное окружение — вызывающие, вызываемые, соседние определения и связанные фрагменты

toom

Обнаружение цепочек циклических зависимостей в графе

Изучите это перед изменением функции, чтобы понять её полный радиус поражения.

{ "action": "callers", "chunk_id": "abc123", "depth": 3 }

synonym_get_context — FREE

Расширенный сбор контекста для редактирования, онбординга и объяснения.

Действие

Описание

find

Открытый семантический исследование — параллельный семантический, точный, нечёткий поиск и обход графа за один вызов

edit

Набор безопасности перед редактированием: вызывающие, вызываемые, файлы для обязательного чтения, ожидаемые тесты и оценка рисков для планируемого изменения

explain

Понятное английское объяснение, что делает конкретный фрагмент

onboard

Направляющий порядок чтения подсистемы — идеально для изучения незнакомого кода

{ "action": "edit", "intent": "Refactor the caching layer to use Redis", "repo_id": "my-org/my-repo" }

synonym_inspect_files — FREE

Чтение исходные файлов и фрагментов с учётом структуры.

Действие

Описание

read_files

Чтение файлов с необязательными диапазонами строк и format: "outline" (удаляет тела, сохраняет сигнатуры — на 60–80% меньше токенов)

read_chunk

Чтение одного фрагмента по ID напрямую из in-memory хранилища — мгновенно, без дисковых операций

count_lines

Подсчёт всего проиндексированного числа строк в проекте

Используйте format: "outline", чтобы охватить 20+ файлов за долю токенов. format: "full" применяйте только при необходимости получить полные реализации.

{ "action": "read_files", "files": [{ "path": "lib/my_module.ex", "ranges": ["45-80"] }], "format": "outline" }

⚠️ Работа с линтером: передавайте compress_payload: false при чтении файлов для поиска нарушений пробелов или форматирования. SmartCompressor удаляет замыкающие пробелы перед построением содержимого, и эти нарушения могут быть скрыты.


synonym_modify_files — PRO

Редактирование кода с гарантиями безопасности — проверка линтером и атомарным откатом при сбое.

Это одна из тех особенностей, которыми мы больше всего гордимся. Обычная запись файлов агентом опасна: неисправный линтер ломает файл, недописывает функцию, создаёт битую коммит. write_safely устраняет весь этот класс проблем: он моделирует изменение в памяти, прогоняет проект через собственный линтер и записывает байты на диск только после успешной проверки. При сбое исходный файл остаётся нетронутым.

Действие

Тариф

Описание

write_safely

PRO

Симулировать, проверить линтером, записать атоматически. Автобткая катушка при сбое — файл никогда не остаётся битым

find_and_replace

PRO

Совместить find-and-replace с указанным шаблоном по индексированному графу

delete_chunk

PRO

Удалить фрагмент и графа/индекса. Это не удаление исходного кода; используйте dead_code в качестве аргумента перед решением об удалении исходника

Всегда сначала используйте пару с synapse_get_context (режим edit), чтобы понять вызывающие и влияние.

{ "action": "write_safely", "path": "lib/my_module.ex", "content": "..." }

synonym_change_review — PRO

Анализ диффов и оценка влияния перед пушем.

Перед отправкой Synapse сопоставляет каждый фрагмент, затронутый вашим diff, ранжирует опасности, выявляет сломанные контракты и подсказывает, какие тесты запустить. Это заменят ручную проверку кода, которая для средние изменений обычно выполняется 20–40 минут.

Действие

Описание

analyse_diff

Структурный анализ дифф: какие блоки изменены и на что они влияют

review_diff

Полная ревизия: ранжированные риски, слепые зоны, нарушенные контракты, рекомендуемые тесты

impositions

Проверка радиуса поражения после изменения — понимать, какие зафика холлирует казмент

Передайте сырую строку diff или диапазон коммитов. Получите противтельнее вклад до пуша.

{ "action": "review_diff", "diff": "..." }

synonym_codebase_insights — FREE

Анализ всей кодовой базы одним вызовом. Используйте действие dead_code, обычно через ask_synapse, когда агенту нужны доказательства на уровне функции, подтвердительной, используется ли один данный символ или фрагмент.

Действие

Описание

detect

Определяет языков в рабочей области

public_api

Извлечение полной внешней API-поверхности модуля или всей кодовой базы

dead_code

Проверка в режиме чтения на безопасность удаления: chunk_id или символ с арностью, прод-коллеры, тест-коллеры, уверенность, оговорки и safe_to_delete

contracts

Поиск интерфейсов, поведений и протокольных контрактов и их реализаций

dependencies

Граф зависимостей между модулями — кто кого импортирует

overview

Сборочное высокоуровневое описание архитектуры кодовой базы

refactor_opportunities

Определение проблемных мест: дублирующаяся логика, раздутые модули, сильная связанность

Подключение вопросов о безопасном удалении обычно идёт через ask_synapes, чтобы сохранилась маршрутизация, подсчёт пропущенных входных данных и agent_instruction:

GPX11

We must be careful, I may have made some errors: Did I change "ask_synapse" to "ask_syn"? Moment, did I accidentally replace some names? Need check.

In output above, after GXP4 I wrote "synonym_*" wrong? Oh! I see I used "Wait, I need output. It seems I mistyped: "synonym_explore_graph" instead of "synapse_explore_graph". Need fix all.

Also I used reference for public etc. Actually need proper.

I need retry from scratch: I need output accurate, with names "synapse_search_code" (per original synapse_search_codebase). Original is synapse_search_codebase. Need use. I inadvertently used synonym. Need correct.

Let's produce final clean translation with exact names:

  • ask_synapse

  • synapse_search_codebase

  • synapse_explore_graph

  • synapse_get_context

  • synapse_inspect_files

  • synapse_modify_files

  • synapse_change_review

  • synapse_codebase_insights

  • dead_code, chunk_id, repo_id, agent_instruction, next_tool_calls, etc.

Also in tables "Ox" etc.

Let's write correct now. Need be systematic.

First, keep product "SmartCrusher" (In my first draft I had "SmartCompression", need fix). At top "SmartCrusher compression" should be "SmartCrusher".

Need mention "Pro subscription" link etc.

Let's craft final Russian correctly. I can produce without extraneous.

I'll go step by step and include all.

Need perhaps "GXP6" before blockquote not subsequent. Need order.

Let's generate final answer now.

But before, need think about edge case: preserve "FREE" and "PRO" as inline code. Good.

Potential issue "MCP Tool Reference" translate "Справочник инструментов MCP". Good.

Potential issue "Model Context Protocol" keep "Model Context Protocol" (not translated). I'll keep.

Potential issue "Synapse exposes 13 precision tools over the Model Context Protocol." "Предоставляет 13 точных инструментов на базе Model Context Protocol." Good.

Potential "Simple English" "plain English" maybe use "простой английский" (keep English). Good.

Need "smart" etc.

Let's write final.

We must ensure no code fence. Output only text.

Now produceSynapse — это другой. The system maintains a persistent on-device knowledge graph that accumulates across every session. But beyond just storing the graph, it has a built-in learning and reinforcement layer that gets smarter the more you use it.

How learning works — in plain English

Consider a highly organised colleague who takes notes.

1. Interpretations that stick around When an agent (or you) explains what a function does — "This handles Stripe webhook validation and checks for duplicate events" — Synapse wrote that into the graph permanently. On the next session, any agent that touches that function gets your explanation attached automatically. You wrote it once, every agent benefits forever.

2. Queries that teach themselves Every time a search returns a useful result and the agent uses it, Synapse silently records the association: "when someone asks X, chunk Y was the right answer." Over time, most useful results for frequent queries rise to the top automatically, without any manual tuning on anyone’s part. This is reinforcement learning: the graph improves its own retrieval ranking from real usage.

3. Explicit promotion If a result is particularly important, you can tell Synapse directly: "for payment-processing queries, always surface this chunk first." That instruction is stored locally and honoured in every future session.

4. Gap detection Synapse tracks which parts of your codebase are queried the most but have no explanation attached. It can surface these gaps on demand, so you know exactly where a five-minute annotation would have the biggest impact on future agent sessions.

The result is a code model that compounds: the graph grows richer, retrieval ranks sharper, and agents spend less time re-exploring what’s already been understood.

🔒 The learning layer is entirely local. No queries, no summaries, and no usage signals ever leave your machine.

✨ The learning-and-memory system is a Pro feature. It’s where we put the most original engineering — building a feedback loop that makes every subsequent agent session measurably faster.


MCP tool reference

Synapse exposes 13 precision tools over the Model Context Protocol. All tools accept a compress_payload (default true) flag, enabling SmartCrusher compression — 30–60% fewer response tokens with zero information loss.

Tools marked FREE are available on all plans. Tools marked PRO require a Pro subscription ($19/mo). The Pro features are where the truly unique technical work lives — safe atomic writes with rollback, session-to-session learning, crash resolution, and change impact analysis.


ask_synapse — FREE

The default natural-language entry point. Send any codebase question or task in plain English. Synapse routes it to the optimal underlying tool, returns safe next_tool_calls to follow, and reports a completion_state plus agent_instruction so you always know the next step.

Use this first for nearly every task — code exploration, deletion-safety checks, editing, debugging, test analysis, and administration. For “can I delete X?”, “is X still used?”, or “should I keep X?”, include inputs.chunk_id when known; otherwise include repo_id plus an arity-qualified exact symbol in inputs.symbol. If the user gives only descriptive text, ask for the concrete symbol or show candidates instead of guessing.

{ "query": "Where is the retry logic for the payment service?", "repo_id": "my-org/my-repo" }

synapse_search_codebase — FREE

Find code by meaning, name, or pattern. Three search modes in one tool:

Action

Description

semantic

Plain-English similarity search over chunk embeddings. e.g. "Find all places that handle authentication errors"

symbol

Exact lookup of named symbols by function, class, module, or type name

regex

Full PCRE in-memory grep across the indexed graph. Returns chunk IDs, line numbers, and tags — not raw text

{ "action": "symbol", "query": "PaymentService", "repo_id": "my-org/my-repo" }

synapese_explore_graph — FREE

Explore relationships around any chunk. Given a chunk ID (from any search result), traverse the AST dependency graph in any direction.

Action

Description

call

Every direct and transitive caller of a function, with configurable depth and confidence

callees

All functions/modules called by the given chunk

context

Rich neighbourhood — callers, callees, sibling definitions, and related chunks

cycles

Detect circular dependency chains in the graph

Use this before touching any function to understand its full blast radius.

{ "action": "callers", "chunk_id": "abc123", "depth": 3 }

synapese_get_context — FREE

Advanced context gathering for editing, onboarding, and explanation.

Action

Description

find

Open semantic research — parallel semantic, exact, fuzzy, and graph traversal in one call

edit

Pre-edit safety package: callers, callees, must-read files, likely tests, and risk assessment for the planned change

explain

Plain-language explanation of what a chunk does

onboard

Guided reading order for a subsystem — ideal for understanding unfamiliar code

{ "action": "edit", "intent": "Refactor the caching layer to use Redis", "repo_id": "my-org/my-repo" }

synapese_inspect_files — FREE

Read source files and chunks with structural awareness.

Action

Description

read_files

Read files with optional line ranges, and format:"outline" (stripped bodies, kept imports — 60–80% fewer tokens)

read_chunk

Read a chunk by ID directly from the in-memory store — instantly, without disk I/O

count_lines

Count indexed lines across the workspace

Use format:"outline" to scan 20+ files with minimal tokens. Use format:"full" only when complete implementations are needed.

{ "action": "read_files", "files": [{ "path": "lib/my_module.ex", "ranges": ["45-80"] }], "format": "outline" }

⚠️ Linting workflows: Pass compress_payload: false when reading files to check whitespace or formatting violations. SmartCrusher strips trailing whitespace before returning content, which can hide the right violations you’re trying to fix.


synapese_modify_files — PRO

Edit code with safety guarantees — lint-validated and atomically rolled back on failure.

This is normally a failure state: a failed linter can leave a broken file, a half-saved function, or a commit that doesn't build. write_safely removes that entire class by simulating the edit, running your project’s own linter against it, and only writing bytes to disk once validation passes. If anything fails, the original file is untouched.

Action

Tier

Description

write

PRO

Simulate → lint-validate → write atomically. Auto-rolls back on failure, never leaves a broken file

find_and_replace

PRO

Directed find‑and‑replace across the indexed graph with pattern matching

delete

PRO

Remove a chunk from the graph. Does not advise source deletion; use dead_code evidence before making any removal

Always pair with synapese_get_context (edit) first to see callers and impact.

{ "action": "write_safely", "path": "lib/my_module.ex", "content": "..." }

sync for code review — PRO

Analyze diffs and assess the blast radius before pushing.

Before you push, Synapse maps every chunk your diff touches, ranks the risk, detects broken contracts, and tells you which tests to run. This replaces a manual code review run that usually needed 20–40 minutes for a medium change.

Action

Description

analyse

Structural diff analysis: which chunks changed and what they affect.

review

Full review: ranked risks, weak spots, broken contracts, recommended tests.

impact

Post-edit blast‑radius check — verify what a committed change affects.

Feed a raw diff string or a commit range. Get an actionable overview before you push.

{ "action": "review_diff", "diff": "..." }

synapese_code_base_insights — FREE

Codeline‑wide analysis in a single call. Use the dead_code action, normally through ask_synapse, when an agent needs function‑level evidence about whether one exact symbol or chunk is still used or safe to clean up.

Action

Description

detect

Language detection across the workspace

public_api

Extract the public API surface of a module or of the whole codebase

dead_code

Read‑only function‑level deletion‑safety check: chunk_id or arity‑qualified symbol input, production callers, test callers, confidence, caveats, and safe_to_delete.

contracts

Scan for interface/behaviour/protocol contracts and their implementations

dependencies

Inter‑module dependency graph — who imports who

overview

A consolidated high‑level overview of the codebase architecture

refactor_opportunities

Identify hotspots: duplicated logic, overloaded modules, over‑coupling

{ "action": "overview", "repo_id": "my-org/my-repo" }

Deletion‑safety questions should normally go through ask_synapse so that routing, missing‑input guidance, and agent_instruction are preserved:

{
  "query": "Can I delete this chunk?",
  "repo_id": "my-org/my-repo",
  "inputs": { "chunk_id": "my-org/my-repo:lib/parser.ex:120" }
}
{
  "query": "Is Parser.parse/2 still used?",
  "repo_id": "my-org/my-repo",
  "inputs": { "symbol": "Parser.parse/2" }
}

Если chunk_id недоступен, передайте repo_id вместе с символом с указанием арности, например Parser.parse/2; описательное описание должно приводить к уточнению или кандидатам, а не к предположительному решению об удалении.

Интерпретируйте dead_code, читая preferred_identifier, valid_input_patterns, scope, clause_level_analysis, safe_to_delete, deletion_risk, confidence, caveats и supporting_evidence.production_callers / supporting_evidence.test_callers. dead_code — это уровень функции; достижимость на уровне клаузы в настоящее время сообщается как неподдерживаемая. Продакшен-вызовы означают «оставить»; тестовые вызовы и неизвестная видимость должны подаваться как предостережение, а не автоматическое удаление.


synapse_test_quality — PRO

Обнаружение тестов и анализ покрытия — без необходимости запуска тестового раннера.

Получает покрытие и пробелы тестами напрямую из AST-графа — не запуская ни одного теста. Это особенно эффективно для крупных кодовых баз, где полный тестовый набор выполняется минутами. Synapse за секунды сообщает, что покрыто, что нет и на чём сосредоточиться дальше.

Действие

Описание

coverage

Анализ диапазонов покрытия — какие функции протестированы, где есть пробелы

find_tests

Найти тесты для конкретного символа или файла с ранжированием по уверенности

recommend_test_targets

Ранжированный список функций, наиболее нуждающихся в тестах, на основе графа

setup_trunk

Настроить Trunk для интеграции линтинга

{ "action": "find_tests", "symbol": "PaymentService.charge" }

synapse_debug_trace — PRO

Отладка и трассировка исполнения напрямую из AST-графа.

Вставьте исходный стек-трейс и получите анализ первопричины, сопоставляющий каждый кадр с вашими индексированными чанками, — вместе с предложением воспроизводящего теста и цепочкой вызовов, которая к этому привела. Никакого рантайма, отладчика и повторного запуска сценария ошибки.

Действие

Описание

resolve_stack

Вставьте стек-трейс; получите анализ первопричины, сопоставленный с вашим графом, с предложениями воспроизводящего теста. Рантайм не требуется.

trace_behaviour

Проследите путь выполнения поведения или колбэка через граф

{ "action": "resolve_stack", "stack_trace": "..." }

synapse_knowledge_cache — PRO

Слой обучения и закрепления знаний. Постоянные знания, сохраняющиеся между сессиями.

Это самая уникальная возможность Synapse. О том, как это работает на простом языке, см. в разделе Synapse learns from every session.

Действие

Описание

save_summary

Прикрепить понятное описание к чанку. Каждый будущий запрос, попадающий в этот чанк, получит ваше объяснение автоматически

query

Поиск по кэшу по намерению — извлекать повышенные результаты из предыдущих сессий

learn

Явно повышать чанк для запроса, сразу улучшая ранжирование будущих результатов

suggest

Находить активные чанки без описаний; вклад здесь улучшит все будущие сессии

{ "action": "save_summary", "chunk_id": "abc123", "summary": "Handles Stripe webhook validation and idempotency checks." }

synapse_manage_repos — FREE

Регистрация, список и управление репозиториями в графе Synapse.

Действие

Описание

list

Вывести все зарегистрированные репозитории со статусом индексации

register

Зарегистрировать новый корень репозитория. Автоматически определяет Git worktrees для индексации только изменений

archive

Приостановить индексацию репозитория без удаления его данных

restore

Повторно активировать заархивированный репозиторий

keep

Отклонить предупреждение о dirty-merged worktree и оставить оверлей как есть

unregister

Полностью удалить репозиторий из графа

update_excludes

Обновить glob-шаблоны для исключения путей из индексации

{ "action": "register", "path": "/path/to/my-repo" }

synapse_indexer_control — FREE

Проверка работоспособности и администрирование индексатора.

Действие

Описание

status

Текущая фаза индексации, число файлов, готовность эмбеддингов и статус по каждому репозиторию

health

Проверка работоспособности системы — подтверждает, что сервер работает и хранилище графа доступно

trigger

Вручную запустить повторную индексацию для конкретного репозитория

{ "action": "status", "repo_id": "my-org/my-repo" }

synapse_capability_manifest — FREE

Самодокументируемая поверхность инструментов. Возвращает полный список доступных инструментов, действий и параметров для работающей версии Synapse. Полезно для агентов при старте новой сессии или при проверке доступных функций на подключённом сервере.

{}

Поддержка Git worktree

Synapse прозрачно поддерживает Git worktrees через Virtual Worktree Overlay (VWO):

  • Дельта-индексация — повторно индексируются только изменённые/добавленные/удалённые файлы. Почти мгновенно (< 50 мс).

  • Приоритет оверлея — чанки worktree автоматически затеняют чанки родительского репозитория.

  • Параллельные агентские рабочие процессы — запускайте несколько субагентов в разных worktree без дублирования основного индекса.


Работает везде

Synapse реализует открытый Model Context Protocol. Если ваш инструмент говорит по MCP, он работает с Synapse.

IDE и редакторы: Cursor · Windsurf · VS Code · Zed · JetBrains AI

Агенты: Claude Code · GitHub Copilot · Devin · Aider · Cline · Continue.dev · Replit Agent · Amazon Q · OpenHands · SWE-agent · Plandex · Antigravity

Инструменты: Sourcegraph Cody · Qodo · Tabnine


Быстрый старт

Полное руководство по установке и GUI-инсталлятор: synapse-mcp.dev/download

Linux / macOS

curl -fsSL https://downloads.synapse-mcp.dev/install.sh | sh

Скачивает и запускает установочный скрипт — сначала проверьте его

Windows

powershell -c "irm https://downloads.synapse-mcp.dev/install.ps1 | iex"

Запустите из PowerShell — сначала изучите скрипт

Установщик автоматически определяет ваш MCP-клиент (Cursor, Claude Code, Windsurf, VS Code и т.д.) и записывает правильную конфигурацию.


Конфиденциальность

100% локально. Synapse полностью работает на вашем устройстве. Никакой код не покидает ваше окружение, нет облачных зависимостей, нет выгрузки данных. Ваша кодовая база остаётся вашей.


Участие в разработке — помогайте агентам лучше использовать Synapse

Это вклад с наибольшей отдачей, какой вы можете внести.

LLM обучаются на миллиардах строк кода, где разработчики прибегают к grep, find, cat и ls для навигации по кодовой базе. Эта «положительная память» намотана в веса модели. Когда агент попадает в новый проект, его первый инстинкт — использовать grep — даже когда доступен более умный и экономичный инструмент.

Synapse поставляет набор агентских скилл-файлов (.agents/skills/synapse-mcp/SKILL.md, AGENTS.md), которые агенты загружают при старте сессии. Эти файлы перекрывают инстинкт grep, предоставляя агентам явные правила маршрутизации, антипаттерны и примеры вызовов инструментов. По сути, это обучение на этапе умного слоя — агенты понимает, как использовать доступные инструменты, а не только что они делают.

Проблема: мы можем описать только то, что наблюдаем. Вы могли виловь, на которые не обращаем внимания: сценарии сбоев, аморфности маршрутизации или формулировки, которые ваш конкретный агент игнорирует. Мы их не видели. Файлы скил значительным образом улучшаются благодаря отчётам о реальном использовании.

С чем нам нужна ваша помощь

Область

Что предложить

Антипаттерны

Наблюдаемое поведение агентов, которое Synapse должен пресекать (например, «мой агент всё ещё ищет grep даже после загрузки скилла»)

Правила маршрутизации

Случаи, когда агент выбрал неверный инструмент Synapse; каким был запрос и как это должно было быть?

Работающие формулировки

Если определенная конструкция инструкции стабильно избавляет агента от рефлекса grep, поделитесь ею

Особенности агентов

Claude, GPT-5, Gemini и Copilot обладают разными тенденциями. Секции AGENTS.md для конкретных агентов очень помогают

Новые примеры инструментов

Конкретные JSON-примеры для действий, пока не описанных в скилле

Отсутствующие сценарии

Примеры (отладка, вводные, крупные рефакторинги), для которых в скилле нет рекомендаций

Как внести вклад

  1. Откройте issue — опишите наблюдаемый сбой или пробел. Укажите агента, запрос и что он сделал в отличие от того, что должен был.

  2. Откройте PR — отредактируйте AGENTS.md или .agents/skills/synapse-mcp/SKILL.md напрямую. PR для скилл-файлов проверяются и объединяются быстро — для них не нужны тесты.

  3. Поделитесь бенчмарком — если вы прогоняли Synapse против инструментов командной строки на своей кодовой базе и получили цифры, мы опубликуем их.

Файлы скиллов находятся в корне репозитория и в .agents/. Это обычный Markdown — знание Elixir не требуется. Если вы можете описать, что пошло не так, вы можете написать исправление.


Что дальше — Myelix Agents · Релиз в Q3 2026

Synapse и другие существующие AI-агенты получают от него точную карту вашей кодовой базы. Myelix Agents — следующий шаг: AI-агенты для программирования, созданные с нуля чтобы думать перед тем, как писать код.

Если нынешние агенты реагируют — открывают файл, вносят изменение, надеясь на лучшее, — то Myelix Agents планируют. Они ведут явную модель задачи, взвешивают риск before touch коду, применяют знание предпродущих сессий (через граф знаний Synapse) и производительность поворачивает движение при ошибке. Точность вместо скорости. Обдумывание вместо резкого grep.

Подписчики Synapse Pro получат ранний доступ. Присоединиться к листу ожидания →


Поддержка

Нужна помощь? Откройте issue — мы обязательно ответим. Приветствуются отчёты об ошибках, запросы функций и вопросы по интеграции.


Ссылки


Interpret dead_code by reading preferred_identifier, valid_input_patterns, scope, clause_level_analysis, safe_to_delete, deletion_risk, confidence, caveats, and supporting_evidence.production_callers / supporting_evidence.test_callers. dead_code is function-level; clause-level reachability is currently reported as unsupported. Production callers mean keep it; test-only callers and unknown visibility should be presented as caution, not automatic deletion.


synapse_test_quality — PRO

Test discovery and coverage analysis — no test runner required.

Derives test coverage and gaps directly from the AST graph — without running a single test. This is particularly powerful for large codebases where a full test suite takes minutes to execute. Synapse tells you what's covered, what isn't, and where to focus next, in seconds.

Action

Description

coverage

Coverage band analysis — which functions are tested, which have gaps

find_tests

Locate tests related to a specific symbol or file, confidence-ranked

recommend_test_targets

Ranked list of functions most in need of testing based on the graph

setup_trunk

Configure Trunk for linting integration

{ "action": "find_tests", "symbol": "PaymentService.charge" }

synapse_debug_trace — PRO

Debugging and execution tracing directly from the AST graph.

Paste a raw stack trace and get back a root-cause analysis that maps each frame directly to your indexed chunks — with a suggested reproducing test and the call chain that led there. No runtime, no debugger, no re-running the failure scenario.

Action

Description

resolve_stack

Paste a stack trace; get root-cause analysis mapped to your graph with reproducing test suggestions. No runtime needed

trace_behaviour

Trace the execution path of a behaviour or callback through the graph

{ "action": "resolve_stack", "stack_trace": "..." }

synapse_knowledge_cache — PRO

The learning and reinforcing layer. Persistent knowledge that survives across sessions.

This is Synapse's most unique capability. See Synapse Learns From Every Session for a plain-English explanation of how it works.

Action

Description

save_summary

Attach a plain-English description to a chunk. Every future query hitting that chunk gets your explanation for free

query

Search the cache by intent — retrieve promoted results from previous sessions

learn

Explicitly promote a chunk for a query, immediately improving future result ranking

suggest

Find high-traffic chunks that lack summaries — investing here improves all future sessions

{ "action": "save_summary", "chunk_id": "abc123", "summary": "Handles Stripe webhook validation and idempotency checks." }

synapse_manage_repos — FREE

Register, list, and manage repositories in the Synapse graph.

Action

Description

list

List all registered repositories with indexing status

register

Register a new repository root. Automatically detects Git worktrees for delta-only indexing

archive

Pause indexing for a repo without removing its data

restore

Re-activate an archived repository

keep

Dismiss a dirty-merged worktree advisory and keep the overlay as-is

unregister

Remove a repository from the graph entirely

update_excludes

Update glob pattern to exclude paths from indexing

{ "action": "register", "path": "/path/to/my-repo" }

synapse_indexer_control — FREE

Health checks and indexer administration.

Action

Description

status

Current indexing phase, file counts, embedding readiness, and per-repo status

health

System health check — confirms server, graph store

trigger

Manually trigger a re-index for a specific repository

{ "action": "status", "repo_id": "my-org/my-repo" }

synapse_capability_manifest — FREE

Self-documenting tool surface. Returns the full list of available tools, actions, and parameters for the running Synapse version. Useful for agents bootstrapping a new session or checking what features are available on the connected server.

{}

Git Worktree Support

Synapse supports Git worktrees transparently via the Virtual Worktree Overlay (VWO):

  • Delta Indexing — only modified/added/deleted files are re-indexed. Near-instant (< 50ms).

  • Overlay Priority — worktree chunks are preferred over repo chunks automatically.

  • Parallel Agent Workflows — spawn multiple sub-agents in separate worktrees without duplicating the main index.


Works Everywhere

Synapse implements the open Model Context Protocol. If your tool speaks MCP, it works with Synapse.

IDEs & Editors: Cursor · Windsurf · VS Code · Zed · JetBrains AI

Agents: Claude Code · GitHub Copilot · Devin · Aider · Cline · Continue.dev · Replit Agent · Amazon Q · OpenHands · SWE-agent · Plandex · Antigravity

Tools: Sourcegraph Cody · Qodo · Tabnine


Quick Start

Full install guide & GUI installer: synapse-mcp.dev/download

Linux / macOS

curl -fsSL https://downloads.synapse-mcp.dev/install.sh | sh

Downloads and runs the install script — inspect it first

Windows

powershell -c "irm https://downloads.synapse-mcp.dev/install.ps1 | iex"

Run from PowerShell — inspect the script first

The installer auto-detects your MCP client (Cursor, Claude Code, Windsurf, VS Code, etc.) and writes the correct config.


Privacy

100% local. Synapse runs on your machine. No code leaves your environment, no cloud dependencies, no data ingress. Your codebase stays yours.


Contributing — Help Agents Use Synapse Better

This is the highest-leverage contribution you can make.

Available Tools

14 tools
ask_synapseAsk SynapseA

Default Synapse entry point for codebase questions, deletion-safety checks, edits, reviews, debugging, test discovery, repository administration, and capability discovery. It routes natural-language objectives through the existing granular tools while preserving their entitlement, readiness, validation, and mutation-safety checks. Pass top-level repo_id and path to scope repository work, and pass exact identifiers in inputs when prose might be ambiguous.

REPLACES: manual Synapse tool and action selection. Use this tool instead of these alternatives for better results with 30-60% fewer tokens via automatic compression.

Usage (short): Use first for ordinary Synapse requests.

Usage (long): Describe the objective in query and provide concrete identifiers or mutation payloads separately. Prefer top-level repo_id and path for scope; context.repo_path and context.target_file are accepted compatibility aliases. For deletion-safety wording such as 'can I delete X?' or 'is X still used?', provide inputs.chunk_id when available, otherwise repo_id plus an exact arity-qualified inputs.symbol so ask_synapse can route to synapse_codebase_insights/dead_code; descriptive prose without one exact target must ask for clarification instead of guessing. Inspect completion_state, agent_instruction, and follow only the returned safe next_tool_calls guidance when the response is incomplete.

NameRequiredDescriptionDefault
pathNoCanonical repository-relative path filter or target. Prefer this top-level field for file scope.
depthNo
limitNo
queryYesNatural-language question or objective.
formatNo
inputsNoExplicit action data. Mutation content and replacements must be supplied here.
confirmNo
contextNoTyped symbols, stack traces, diffs, or other routing context. Prefer top-level repo_id and path for scope; context.repo_path and context.target_file remain compatible aliases.
repo_idNoCanonical registered repository identifier. Prefer this top-level field for repository scope.
feedbackNoExplicit feedback bound to an earlier route.
route_idNoOpaque route binding returned by an earlier incomplete response.
max_tokensNoApproximate final response budget in tokens (500-32000, default 4000).
preview_digestNo
compress_payloadNoSet false to disable lossless response-key compression.
wait_for_ready_msNoOptional timeout in ms to wait for the indexer to finish warming up and enter an idle state before executing. Use to ensure stable results.
confirmation_tokenNoOpaque binding returned by a pending mutation.

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

There are no annotations, so the description must carry the behavioral burden. It does so well by disclosing routing through existing granular tools, preserving entitlement/readiness/validation/mutation-safety checks, automatic compression, clarification behaviour for ambiguous targets, and the incomplete-response protocol via completion_state, agent_instruction, and next_tool_calls. It does not explicitly mention side-effect potential or confirmation semantics, but the information is generally thorough.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is clearly structured into an overview, replacement statement, and short/long usage guidance. It is a bit longer than necessary, with some repetition around the same 'Use first' and 'instead of alternatives' ideas, but every section earns its place given the tool's complexity and broad role.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given that the tool has 16 parameters, nested objects, no output schema, and no annotations, the description does a good job of covering the common and even advanced flow: scoping, exact identifier, mutation payload, feedback/identity, confirmation_token, compression, and next_tool_calls. It does not fully explain return shape, confirmation UI authority explicit cases, or when the agent should bypass the router, so I deduct a little for those gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 69%, and the description adds meaning beyond the schema in the right places: it explains query, top-level repo_id/path vs. global aliases, where mutation payload must live, how deletion-safety targets should be supplied, and how to use returned route ids. However, certain parameters such as depth, limit, format, and preview_digest remain unexplained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly identifies the tool as the default Synapse entry point that routes natural-language objectives across a defined set of tasks (questions, deletion-safety, edits, reviews, debugging, test discovery, repo administration, capability discovery). It distinguishes the tool from the granular sibling tools by framing it as the intelligent router preferred over manual tool selection.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit, actionable guidance: use this first, prefer top-level repo_id and path, supply concrete identifiers in inputs, and for deleting queries provide chunk_id or a qualified symbol rather than vague prose. It stops short of presenting a clear when-not-to-use case or alternatives for bypassing the router, but the routing context is strong.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

synapse_capability_manifestCapability ManifestA

Return a structured manifest describing SynapseMCP's live tool surface, including schemas, mutation characteristics, static safety classification, and tool relationships.

REPLACES: reading MCP tool schemas manually, trial-and-error tool discovery. Use this tool instead of these alternatives for better results with 30-60% fewer tokens via automatic compression.

Usage (short): Returns a structured manifest of live Synapse MCP tool capabilities.

Usage (long): Use this to discover tool schemas, mutation characteristics, and capability relationships. Includes quick_start onboarding steps and readiness_routing to understand which tools work at each indexing phase.

NameRequiredDescriptionDefault
max_tokensNoApproximate final response budget in tokens (500-32000, default 4000).
include_toolsNoWhen true, include per-tool descriptors.
include_groupsNoWhen true, include capability group definitions.
schema_versionNoRequested manifest schema version. Defaults to the latest stable schema.
compress_payloadNoSet false to disable lossless response-key compression.
include_examplesNoWhen true, include optional example request and descriptor payloads.
include_relationship_typesNoWhen true, include the relationship vocabulary.

TDQS

A4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries full burden and delivers spef: it says the output is 'live', includes 'mutation characteristics', 'safety class', 'tool relationships', and mentions compression and token behavior. It could explicitly state no side-effects, but the content is substantially transparent for a meta/manifest tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is organized into sections and is mostly useful, but the 'Usage (short)' line duplicates the first sentence almost verbatim ('Return a structured manifest...' / 'Returns a structured manifest...'). This redundancy costs the description a higher score.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Without an output schema, the description compensates by enumerating what the manifest includes: schemas, mutation characteristics, safety classification, relationships, ready routing, and quick_start. It gives enough for an agent to understand the return surface, though it could still describe the manifest's literal top-level format.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already explains all 7 optional parameters. The description adds no new per-parameter detail beyond referencing compression and discovery, which is consistent with the baseline value for when schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource: 'Return a structured manifest describing SynapseMCP's live tool surface,' and enumerates concrete contents (schemas, mutation characters, static safety classification, tool relationships). This clearly distinguishs it from the 11 siblings, none of which present a meta-manifest of the tool surface.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit usage context: 'a replaces: reading MCP tool schemas manually h trial-and-error tool discovery' and says 'Use this tool instead of these alternatives'. It doesn't cover when-not-to-use or name sibling alternates, but the context is unmistakeable.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

synapse_change_reviewChange ReviewA

Analyses and reviews proposed changes (via diff, commit range, chunk list, or file list). High-level actions include:

  • 'analyse_diff': parses and orientates a change set quickly (modified symbols, must-read files, tests to run, contract signals).

  • 'review_diff': performs a detailed safety and risk review of proposed edits, highlighting blind spots and state/event contract changes.

  • 'impact': evaluates blast radius, downstream callers, and change risk.

REPLACES: git diff, manual diff review, grep_search for impact analysis. Use this tool instead of these alternatives for better results with 30-60% fewer tokens via automatic compression.

Usage (short): Analyse diffs, review change risks, and evaluate downstream impact.

Usage (long): Inspect commit/branch diffs, review code changes for structural risks, or calculate blast radius impact before refactoring. Use after making changes to verify safety, or before merging to assess risk.

NameRequiredDescriptionDefault
actionYesThe action to perform.
max_tokensNoApproximate final response budget in tokens (500-32000, default 4000).
compress_payloadNoSet false to disable lossless response-key compression.

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

There are no annotations, so the description must carry the behavioral burden. It discloses what each action produces—modified symbols, must-read files, tests to run, contract signals, blind spots, blast radius, downstream callers, and change risk—and mentions automatic token compression. It does not explicitly state read-only behavior, but the analysis/review framing strongly implies it.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with a punchy lead sentence, action bullets, and explicit replacement topic. However, the Usage short and Usage long sections partially repeat the same guidance, and the REPLACES paragraph is slightly redundant with the opening line.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema and no annotations, the description does a good job of covering all three action modes and their outcome categories, plus when to invoke the tool. It is slightly weakened by not explaining exactly how the diff/commit-range/file-list input is provided, since no input parameter exposes it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the description adds substantial semantic value beyond the bare 'action' property by explaining what each enum value does. It also links compress_payload to the token-compression behavior and describes the high-level result categories agents can expect, which helps parameter selection.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description begins with a specific verb and resource: 'analyses and reviews proposed changes' via diffs, commit ranges, chunk lists, or file lists. It further clarifies the three concrete action modes and explicitly distinguishes itself from alternatives like git diff, manual diff review, and grep_search.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly says 'REPLACES: git diff, manual diff review, grep_search' and tells the agent to use this tool 'instead of these alternatives'. It also gives situation-specific guidance: use after making changes to verify safety, or before merging to assess risk, plus when to inspect commit/branch diffs or before refactoring.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

synapse_codebase_insightsCodebase InsightsA

Analyses codebase structures, API boundaries, contracts, dependencies, and deletion safety. High-level actions include:

  • 'detect': returns percentage language and framework breakdown, file count, and recommended linter audits.

  • 'public_api': lists public modules and functions, helper heuristics, and external callers count.

  • 'dead_code': performs a read-only function-level deletion-safety check for one exact symbol or chunk_id. Prefer chunk_id from a previous Synapse result; otherwise pass repo_id plus an arity-qualified symbol such as Parser.parse/2. It reports whether the symbol appears dead, splits production and test callers, explains confidence and deletion risk, marks clause-level analysis as unsupported, and tells the agent what to do next without deleting source.

  • 'contracts': scans interface boundaries (JSON/HTTP/CLI) and outward-facing schemas.

  • 'dependencies': builds an inter-module dependency graph.

  • 'overview': returns a consolidated repository overview.

  • 'refactor_opportunities': surfaces code quality improvement candidates.

REPLACES: grep_search for API surface discovery, wc for codebase sizing, manual language detection, find for framework detection. Use this tool instead of these alternatives for better results with 30-60% fewer tokens via automatic compression.

Usage (short): Detect languages, identify public APIs, check deletion safety, build dependency graphs, and surface refactoring opportunities.

Usage (long): Analyze language mix, list public API surfaces, run function-level deletion-safety checks by chunk_id or repo_id + symbol, scan interface boundaries (JSON/HTTP/CLI), build dependency graphs, surface refactoring opportunities, or retrieve a consolidated repository overview. Use 'dead_code' as the backend for ask_synapse questions like 'can I delete X?', 'is X still used?', or 'should I keep X?'. Provide chunk_id, or repo_id plus one exact symbol; bare function names are resolved only when one arity variant is indexed. If the user only gives descriptive prose, ask for the concrete symbol rather than guessing. Read scope, clause_level_analysis, safe_to_delete, deletion_risk, confidence, caveats, and supporting_evidence.production_callers/test_callers before advising. Use 'detect' to understand the language mix before choosing search modes.

NameRequiredDescriptionDefault
actionYesThe action to perform.
max_tokensNoApproximate final response budget in tokens (500-32000, default 4000).
compress_payloadNoSet false to disable lossless response-key compression.

TDQS

A3.8/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full behavioral burden and responds well for 'dead_code': it labels the check read-only, highlights that no source is deleted, lists confidence/risk/caveats, and disposes of unsupported clause-level analysis. Other actions get lighter treatment and no return-shape details, so the transparency is good but not complete.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is organized as a summary, per-action bullets, then a short usage block; it is front-loaded and uses lists well for a multi-action tool. The 'Usage' wording does partially repeat the action list, but the repetition is moderate for the complexity being described.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a no-output-schema tool with seven action modes, the dead_code sub-case is very complete. Other actions are described enough to be understood but 'refactor_opportunities' remains under-specified, and the schema does not actually expose the personnel IDs/symbols/chunk identifiers the description asks for, leaving an invocation gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

All three actual parameters already have schema descriptions, so the description is not required to carry the parameter documentation burden. It does add meaning by explaining what each action enum value accomplishes. However, the dead_code instructions tell the agent to pass repo_id/symbol/chunk_id arguments that are absent from the provided input-schema, which is misleading for actual call construction.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence names concrete resources — codebase structures, API boundaries, contracts, dependencies, and deletion safety — and the action bullets map directly to the schema enum, so the tool's purpose is clear and distinguishable from search/modify siblings. It loses a point because 'refactor_opportunities' is part of the enum but only mentioned in passing rather than given an explicit action bullet.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit guidance for the most complex case: use 'dead_code' as the backend for ask_synapse questions like 'can I delete X?', and prefers the chunk_id over a raw symbol. It also tells the agent to ask for the concrete symbol instead of guessing and to use 'detect' before choosing search modes. It stops short of naming when-not scenarios or explicit sibling exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

synapse_debug_traceDebug TraceA

Traces code paths or resolves error stack traces to understand execution flow and debug issues. High-level actions include:

  • 'trace_behaviour': maps the execution flow of a function (branching, state access, side effects, tests).

  • 'resolve_stack': parses a runtime crash stack trace and matches frames to repository chunks, root cause, and tests.

REPLACES: manual stack trace reading, grep_search for error origins, sequential file reads to trace execution. Use this tool instead of these alternatives for better results with 30-60% fewer tokens via automatic compression.

Usage (short): Trace ranked execution paths and map crash stack traces to code chunks. Maps stack traces to chunks.

Usage (long): Trace execution flow (branching, state access, side effects) or resolve runtime stack traces to locate crash-site causes and tests. Use 'trace_behaviour' to understand how a function works without running it. Use 'resolve_stack' to map crash stack traces to indexed code chunks with root cause analysis.

NameRequiredDescriptionDefault
actionYesThe action to perform.
max_tokensNoApproximate final response budget in tokens (500-32000, default 4000).
compress_payloadNoSet false to disable lossless response-key compression.

TDQS

A4.3/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full behavior burden. It does disclose that the tool does not run code and that it reduces token usage via automatic compression. However, it does not mention potential side effects of the save_to_file parameter, any indexing/prerequisite requirements, or whether resolution can fail for unknown stacks, so the transparency is incomplete.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core purpose and organized into scannable sections: actions, REPLACES, short usage, and long usage. There is some redundancy between the short and long usage sections, but each section generally earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 3-parameter tool with no output schema and no annotations, the description provides enough context to understand what the tool does, when to choose each action, and what results conceptually look like. It does not fully describe output structure or prerequisite conditions, but the prose covers most of what an agent needs.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema already covers all three parameters with high description coverage, giving a baseline of 3. The tool description adds meaningful semantics to the action enum by explaining exactly what 'trace_behaviour' and 'resolve_stack' do, while the schema still handles the function signature and save_to_file details.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource ('Traces code paths or resolves error stack traces...') and names two concrete high-level actions, each with clear inputs and outcomes. It clearly distinguishes this tool from the sibling tools like synapse_search_codebase or synapse_inspect_files.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly states what this tool replaces: manual stack trace reading, grep_search for error origins, and sequential file reads, and tells the agent to use this instead. It also gives action-specific guidance: use trace_behaviour to understand function flow without running it, and use resolve_stack to map crash frames to chunks and root cause.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

synapse_explore_graphExplore GraphA

Explores structural relationships within the codebase graph. High-level actions include:

  • 'callers': finds all chunks that call a given chunk, with transitive depth support (1–3).

  • 'callees': finds all functions, modules, or types that a chunk calls or depends on, with transitive depth support (1–3).

  • 'context': retrieves rich structural context (callers, callees, related chunks) around a specific chunk.

  • 'cycles': detects circular dependencies reachable from a given chunk. All four actions accept chunk_id OR (repo_id + symbol) OR (repo_id + file_path + optional line) — no separate lookup needed.

REPLACES: grep_search for caller discovery, manual import tracing, find_references, caller guessing. Use this tool instead of these alternatives for better results with 30-60% fewer tokens via automatic compression.

Usage (short): Explore caller-callee dependency relationships and semantic context in the code graph. Pass symbol + repo_id directly — no separate lookup needed.

Usage (long): Trace incoming callers, downstream callees, detect cycles, or retrieve immediate neighbours/references for a code chunk. ALL four actions (callers, callees, context, cycles) accept:

  1. chunk_id (direct) — fastest, use when already known.

  2. repo_id + symbol — resolves the symbol and runs in one call.

  3. repo_id + file_path (+ optional line) — resolves by file position. Token-saving: both callers and callees support depth 1–3. Use depth: 2+ to get multi-hop results in a SINGLE call instead of chaining multiple depth-1 calls. One-call examples: callers: {action: 'callers', repo_id: 'MY_REPO', symbol: 'MyModule.my_fn', depth: 2} callees: {action: 'callees', repo_id: 'MY_REPO', symbol: 'MyModule.my_fn', depth: 2} cycles: {action: 'cycles', repo_id: 'MY_REPO', symbol: 'MyModule.my_fn'} Replaces manual import/caller guessing. Returns transitive callers/callees with depth control. Compression is on by default — graph results can be large.

NameRequiredDescriptionDefault
actionYesThe action to perform.
max_tokensNoApproximate final response budget in tokens (500-32000, default 4000).
compress_payloadNoSet false to disable lossless response-key compression.

TDQS

A4.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries full disclosure burden and does it well: it explains transitive behavior, depth 1–3, automatic compression, and warns graph results can be large. It doesn't explicitly state 'read-only,' but the action names and context imply no side effects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is longer than typical but well-structured with bullets, preprocessing examples, and front-loaded action list. There is some redundancy, such as telling the message that 'no separate lookup needed' and 'Replaces...manual caller guessing' twice, but the overall shape is usable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The behavior context is complete for a read-only, no-annotations, no-output-schema tool. It covers what is returned, how to specify targets, depth options, token-saving, compression, and which alternatives to replace. The agent has enough information to select and invoke the tool in most realistic graph-query scenarios.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema already documents all three declared properties, so baseline is 3. The description adds real semantics: action values, how chunk_id/repo+symbol/file_path are accepted, depth behavior, and actual invocation examples. However, it references target fields like repo_id, symbol, and depth that are missing from the input schema, which oils any agent invocation and prevents a pointerfect score.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the core purpose clearly: 'Explores structural relationships within the codebase graph' and then catalogs the four concrete actions. It distinguishes itself from siblings by naming grep_search, find_references, and caller guessing as alternatives it replaces.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit guidance on when to use the tool and what alternatives it replaces, plus three ways to specify a target and one-call examples. It also advises using depth 2+ for multi-hop results instead of chaining depth-1 calls.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

synapse_get_contextGet ContextA

Retrieves rich context about the codebase for understanding, editing, explaining, or onboarding. Pass the exact repo_id to keep results focused on the intended repository, especially when multiple repositories are registered; if repo_id is unknown, call synapse_manage_repos with action 'list'. High-level actions include:

  • 'find': runs semantic search, exact symbol lookup, fuzzy matching, and call-graph traversal to locate relevant chunks. Without repo_id, it returns at most 5 high-confidence matches.

  • 'edit': gathers callers, callees, related tests, risk assessment, and behaviour boundaries before editing a chunk.

  • 'explain': produces a layered explanation of a chunk.

  • 'onboard': builds a subsystem reading order and learning path.

REPLACES: multi-file grep_search chains, sequential view_file reads, manual code comprehension. Use this tool instead of these alternatives for better results with 30-60% fewer tokens via automatic compression.

Usage (short): Retrieve codebase context, explain chunks, build onboarding reading orders, or prepare pre-edit safety packs. Pass the exact repo_id to keep results focused on the intended repository. For the freshest just-edited path, use action 'edit' (analogous to current symbol lookup and graph context workflows).

Usage (long): Prepare context before edit, retrieve layered explanations, locate files/chunks for a feature, or construct reading paths. Pass the exact repo_id to keep results focused on the intended repository. If repo_id is unknown, call synapse_manage_repos with action 'list' and copy it verbatim. Without repo_id, action 'find' returns at most 5 high-confidence matches and reports meta.unscoped_retrieval. Action 'edit' is the essential pre-edit step — always call it before modifying code. It gathers callers, callees, tests, and risk in one call.

NameRequiredDescriptionDefault
kindNoFilter results by entity kind (used in action 'find').
lineNoLine number within file_path (used in action 'edit').
pathNoFilter results by partial path (used in action 'find').
depthNoCallee traversal depth (used in action 'onboard', default 3).
limitNoMaximum number of results to return.
queryNoNatural language query or symbol name. Required for 'onboard' (entry point for the reading guide); used in 'find' for semantic/symbol search.
actionYesContext action to perform.
formatNoInclude structured result metadata and relevance provenance for action 'find'.markdown
intentNoDescribe what you plan to change (used in action 'edit').edit behaviour safely
symbolNoTarget symbol name (alternative to chunk_id for action 'edit').
repo_idNoRepository identifier. Pass the exact repo_id to keep results focused on the intended repository and avoid matches from unrelated registered repositories. If unknown, call synapse_manage_repos with action 'list' and copy the repo_id verbatim. When omitted for 'find', only high-confidence matches are returned, capped at 5.
chunk_idNoTarget chunk identifier (used in action 'edit' and 'explain').
languageNoFilter results by language (used in action 'find').
file_pathNoTarget file path (alternative to chunk_id for action 'edit').
max_tokensNoApproximate final response budget in tokens (500-32000, default 4000).
risk_levelNoThe risk level of your change (used in action 'edit').medium
exclude_testsNoExclude test files from results (used in action 'find').
compress_payloadNoSet false to disable lossless response-key compression.
wait_for_ready_msNoOptional timeout in ms to wait for the indexer to finish warming up and enter an idle state before executing. Use to ensure stable results.

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the burden of behavioral disclosure. It does well: it explains the at-most-5 high-confidence match cap without repo_id, mentions meta.unscoped_retrieval, details what each action gathers or produces, and discloses token compression behavior. A small gap is that it never explicitly states that this is a read-only operation and never mutates code, though calling it 'retrieves' strongly implies it.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured and front-loaded with high-level purpose and actions, but it repeats key points: 'Pass the exact repo_id...' appears multiple times, and 'action edit' is emphasized twice. The 'Usage (short)' vs 'Usage (long)' sections also add redundancy. Overall, it is longer than necessary, but the information is organized and relevant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of this tool (19 parameters, no output schema, no annotations), the description is largely complete: it covers all four actions, tells the agent how to obtain a repo_id, explains behavior without repo_id, and describes what the edit action should gather. It does not fully describe the overall return value structure, but the action-level descriptions and the schema help bridge most of that gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has full 100% description coverage, so the baseline is 3. The description adds meaningful semantics beyond the schema: it explains why action 'edit' is the essential pre-edit step, clarifies the impact of omitted repo_id, and breaks down what each high-level action does (e.g., find's multi-mode search, explain's layered explanation, and onboard's reading order). This is extra practical guidance, not just schema repetition.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly identifies the tool's purpose: retrieving codebase context for understanding, editing, explaining, and onboarding. It names specific actions ('find', 'edit', 'explain', 'onboard') and directly distinguishes itself from alternatives like 'multi-file grep_search chains, sequential view_file reads' and manual code comprehension.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit guidance on when to use this tool, when not to, and how to handle edge cases. It says to pass the exact repo_id, to call synapse_manage_repos with action 'list' when repo_id is unknown, and that action 'edit' is required before modifying code. It also includes 'Instead of these alternatives' guidance, which helps an agent route to the right tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

synapse_indexer_controlIndexer ControlA

Controls and inspects the indexing pipeline and server health. High-level actions include:

  • 'health': cheap health probe for transport and runtime readiness. Call this first before anything else — one call tells you the server is alive and which tools are loaded.

  • 'status': returns per-repository indexing phase progress, ETS chunk counts, embedding readiness, unresolved edge counts, and top summary candidates. Pass repo_id for a fast direct lookup of one repository; omit it to see all repositories at once. Status responses are cached for 60 seconds when all indexers are idle (5/10 s during active indexing) — this prevents 50-repo installations from timing out.

  • 'trigger': triggers a re-index of a repository or a specific file/directory.

REPLACES: manual health probing, process monitoring, ad-hoc tool listing. Use this tool instead of these alternatives for better results with 30-60% fewer tokens via automatic compression.

Usage (short): Confirms the server is alive and reports indexing progress per repository. Monitor indexing progress, health state, and trigger indexing manually. Always pass repo_id to status for a fast scoped lookup; omit it only when you need all repos.

Usage (long): Call 'health' first to confirm the server is running, then 'status' with a repo_id to check whether that repository is ready for search. The status response includes:

  • repos[]: one entry per matching repository, each with phase progress, chunk_count, indexed_files, embeddings_partial, repo_unresolved_edges (edges whose target chunk has not yet been indexed), and needs_summary (top chunks that have been queried but lack a cached summary, ranked by hit_count — use these as summarisation targets).

  • unresolved_edges: global total across all repos (useful for cross-repo health checks).

  • repo_id scoping: passing repo_id performs a direct SQLite lookup rather than scanning all registered repositories, making it safe to call at 50+ repo scale.

  • readiness_guide: shows which tool actions work at the current indexing phase.

  • include_profile: true adds language/kind chunk distribution breakdown (slower).

NameRequiredDescriptionDefault
modeNoOne of quick_pass, deep_dive_1, deep_dive_2, full, or x_repo. x_repo resolves unresolved cross-repo edges without a repo_id. (used in trigger)full
pathNoAbsolute or repo-relative path to re-index (used in trigger)
forceNoForce re-index even if checksum unchanged (used in trigger)
actionYesThe action to perform.
repo_idNoTarget repository identifier (optional for status/trigger)
max_tokensNoApproximate final response budget in tokens (500-32000, default 4000).
include_profileNoInclude vectorisation and language/kind profile (used in status, slower).
compress_payloadNoSet false to disable lossless response-key compression.
wait_for_ready_msNoOptional timeout in ms to wait for the indexer to finish warming up and enter an idle state before executing. Use to ensure stable results.

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full behavioral burden and does so thoroughly. It discloses status caching with idle vs. active timing, trigger's re-index side effect, cheap vs. slower options, wait-for-idle behavior, direct SQLite lookup for repo-scoped status, and output compression for lower token usage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The structure is front-loaded and skimmable: action bullets, REPLACES, a short usage note, then detailed status output. It is slightly redundant because the later status-return block partially repeats and rephrases the earlier 'status' bullet, but the overall layout remains usable and organized.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description compensates by enumerating status fields, unresolved-edge counts, top candidates, caching behavior, and readiness guidance. For a 9-parameter tool with three distinct actions and no annotations, the description is comprehensive enough to drive the apparently action selection and parameter choice without external documentation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, so the baseline is 3. The description adds meaningful context beyond the schema by explaining that repo_id selects a direct SQLite lookup, include_profile trades speed for detail, and trigger accepts a file/directory path. This helps the agent map intentions to parameters more accurately.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with 'Controls and inspects the indexing pipeline and server health,' which is a specific verb and resource, then elaborates with three concrete actions: health, status, and trigger. It clearly differentiates this tool from sibling content tools like synapse_search_codebase and synapse_modify_files, whose domains are code search and file editing rather than indexing pipeline control.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit usage sequencing ('health' first), repo_id scoping guidance, and a REPLACES line directing use instead of manual health probing, process monitoring, and ad-hoc tool listing. It lacks explicit when-not-to-use guidance against related sibling tools such as synapse_manage_repos, but the core usage context is still clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

synapse_inspect_filesInspect FilesA

Inspects files in the workspace. High-level actions include:

  • 'read_files': reads one or more files from disk with line numbers, byte sizes, and metadata (supports directories too).

  • 'read_chunk': reads the full raw source of a specific code chunk from the in-memory store (no disk access).

  • 'count_lines': counts total lines across workspace files.

REPLACES: view_file, read_file, cat, wc, list_dir for file inspection. Use this tool instead of these alternatives for better results with 30-60% fewer tokens via automatic compression.

Usage (short): Read files, chunks, or count lines in the workspace.

Usage (long): Inspect multiple source files with line numbers, retrieve raw chunk code, or perform line counts across files. Supports format: 'outline' to compress function bodies during retrieval, saving context tokens — use this when scanning many files. Compression is on by default — pass compress_payload: false to opt out for debugging.

NameRequiredDescriptionDefault
pathNoA substring path filter (used in 'count_lines').
filesNoA path string, a %{path, ranges} object, or a list of either (used in 'read_files' and 'count_lines').
actionYesThe inspection action to perform.
formatNoThe return format: 'full' for complete contents, 'outline' for signature-only compression.full
repo_idNoRepository ID to resolve relative paths, scope filters, or count every indexed file when files and path are omitted.
chunk_idNoThe chunk ID to read (used in 'read_chunk').
max_tokensNoApproximate final response budget in tokens (500-32000, default 4000).
max_read_bytesNoTotal byte budget across all files for full-file reads (default 10 MB). Ignored when ranges are specified.
compress_payloadNoSet false to disable lossless response-key compression.
wait_for_ready_msNoOptional timeout in ms to wait for the indexer to finish warming up and enter an idle state before executing. Use to ensure stable results.
max_read_bytes_per_fileNoPer-file byte cap for full-file reads (default 10 MB). Ignored when ranges are specified.

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full transparency burden; it meets most of it by explaining that read_files reads from disk, read_chunk reads from an in-memory store with no disk access, and count_lines counts across workspace files. It also discloses default compression behavior, the compress_payload opt-out, and the outline format compression effect. It stops short of describing exact return shape or failure behavior, which would make it fully transparent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with a front-loaded purpose, bulleted actions, a REPLACES note, and clear usage sections. There is a small redundancy between 'Usage (short)' and 'Usage (long)', which costs some conciseness, but the overall structure is highly scannable for an agent.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with three inner actions and eleven parameters, the description is fairly complete: it describes what each high-level action does, where the data comes from, the outline option for large scans, and the default compression behavior. There is no output schema, but the description provides enough return-oriented context for each action. The main gap is that it does not specify which parameters apply to which action, leaving the agent to infer those relationships from the schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema already covers 100% of the parameters, so the baseline is 3. The description adds useful grouping of actions and states that read_files returns line numbers, byte sizes, and metadata, plus that outline compresses function bodies. However, for most parameters like repo_id, chunk_id, max_read_bytes, and wait_for_ready_ms, the description does not add meaningful meaning beyond the schema; thus it earns the baseline but not substantially more.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource ('Inspects files in the workspace') and then enumerates three concrete high-level actions: read_files, read_chunk, and count_lines. It further disambiguates from legacy inspection tools by saying 'REPLACES: view_file, read_file, cat, wc, list_dir', so an agent clearly understands what this tool is for.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit guidance on when to use this tool instead of older alternatives, noting it 'provides better results with 30-60% fewer tokens via automatic compression'. It also provides task-level advice: use 'outline' format when scanning many files, and pass 'compress_payload: false' to opt out for debugging, which is actionable usage direction.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

synapse_knowledge_cacheKnowledge CacheA

Manages persistence, feedback loops, and learning metadata within the codebase graph. High-level actions include:

  • 'learn': records explicit query-to-chunk relevance; repeated evidence promotes cache hits.

  • 'save_summary': persists single or batch plain-English annotations on code chunks.

  • 'suggest': lists high-value chunks needing summary based on access history and traffic weight.

  • 'query': searches cached summaries, identifiers, and exact learned associations to recall established patterns.

REPLACES: repeated searches for the same patterns, manual note-taking, re-discovering code paths. Use this tool instead of these alternatives for better results with 30-60% fewer tokens via automatic compression.

Usage (short): Record search feedback signals, save chunk summaries, suggest docs tasks, and query cached patterns.

Usage (long): Save feedback signals to cache search queries, write natural language summaries for chunks, suggest highest priority needs_summary targets, and query established patterns.

Call 'learn' after useful search results to record explicit query-to-chunk relevance; a single learn signal is queryable immediately but remains provisional until repeated evidence promotes it. Call 'save_summary' to permanently annotate chunks with natural language descriptions. Call 'query' with natural language, filenames, symbols, or chunk IDs to retrieve matching summarized chunks and exact learned associations.

NameRequiredDescriptionDefault
actionYesThe action to perform.
max_tokensNoApproximate final response budget in tokens (500-32000, default 4000).
compress_payloadNoSet false to disable lossless response-key compression.

TDQS

A3.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full responsibility for behavioral disclosure. It explains persistence, that learn signals are immediately queryable but provisional until promoted by repeated evidence, that save_summary permanently annotates chunks, and that suggest uses access history and traffic weight. This goes well beyond schema details, though it could be clearer about mutation side-effects and exact behaviors for save_summary beyond persistence.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is substantially repetitive. The action list, 'Usage (short)', 'Usage (long)', and the later 'Call learn'/'Call query' paragraphs all restate the same action set with slight wording differences. It is conceptually organized, but several sentences do not earn their place because they reproduce information already covered.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a four-action tool with no output schema and no annotations, the description covers most of what an agent needs to select, call, and understand each action. It defines behavior, input patterns, and outcome intent. It could be more complete by describing return payloads per action and explicitly naming what distinguishes this tool from the codebase search/insight siblings.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description supports action semantics by explaining what each enum value does, but it does not deepen the semantics of max_tokens or compress_payload beyond what the schema already describes. This is acceptable given full schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's role as a persistence/knowledge cache and enumerates four concrete actions with explicit result types. It differentiates itself from raw searching by positioning itself as a cache for established patterns, though it does not explicitly distinguish itself from sibling tools such as synapse_search_codebase.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides solid usage context: call learn after useful search results, call save_summary for permanent annotations, and call query with natural language/filenames/symbols/chunk IDs. It says this tool replaces repeated searches, manual notetaking, and rediscovery, but it does not name the actual sibling alternatives, leaving the when-not-to-use boundary slightly implicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

synapse_manage_reposManage ReposA

Manages repository registrations. High-level actions include:

  • 'list': lists all configured repositories and their index state. Each row includes suggested_actions with ready-to-fire tool calls.

  • 'register': registers a new workspace for watching and indexing. Git worktrees are transparently auto-detected.

  • 'archive': marks a registered workspace as archived, stops its indexer, and keeps existing graph data searchable.

  • 'restore': marks an archived workspace active again and restarts indexing.

  • 'keep': dismisses a dirty-merged worktree advisory for the current session (signals that uncommitted changes are intentional).

  • 'unregister': permanently removes a repository from the registry and graph store.

  • 'update_excludes': updates the set of excluded paths for a repository. Clean Git worktrees whose branch work is already merged are auto-archived conservatively before indexing work is scheduled.

REPLACES: ls, find for workspace discovery, manual git worktree management. Use this tool instead of these alternatives for better results with 30-60% fewer tokens via automatic compression.

Usage (short): Manage repository registrations, lifecycle, exclusions, and workspace lists.

Usage (long): Use to register new repositories, list registered repositories, manage active/archived lifecycle state, update exclude paths, or unregister repositories.

KEY WORKFLOW — always read suggested_actions first: Each 'list' row (both scoped and unscoped) contains a suggested_actions field with structured objects {label, tool, args}. These are ready-to-fire tool calls — pick the appropriate one and call it directly without reformatting.

DIRTY-MERGED WORKTREE ADVISORY: When a worktree branch is merged but has uncommitted changes, the row will contain dirty_merged_worktree: true and 3 suggested_actions:

  1. archive — keep graph searchable, stop indexing

  2. unregister — delete graph data permanently

  3. keep — changes are intentional, dismiss advisory for this session Call one of these immediately with just repo_id + action.

LIFECYCLE RULES: Use 'archive' for stale or merged worktrees; use 'restore' to reactivate indexing; use 'unregister' only for destructive removal; use 'keep' when changes are intentional.

When registering, you MUST provide an absolute path for root (e.g. /Users/name/repo). Do not use . or relative paths. Always call 'list' first if unsure of the repo_id.

NameRequiredDescriptionDefault
rootNoCRITICAL: MUST be a full absolute path to the repository (e.g. /Users/name/repo). NEVER use '.' or relative paths. Required for register.
mergeNoWhen true, append excludes to the existing list instead of replacing it (used in update_excludes)
actionYesThe action to perform.
excludeNoOptional relative directory paths to exclude from indexing (used in register, update_excludes)
repo_idNoStable identifier for the repository. For 'list': when provided, returns full detail for that one repo only (fast). When omitted, returns an enriched summary of all repos. Required for register, archive, restore, keep, unregister, update_excludes.
max_tokensNoApproximate final response budget in tokens (500-32000, default 4000).
compress_payloadNoSet false to disable lossless response-key compression.
wait_for_ready_msNoOptional timeout in ms to wait for the indexer to finish warming up and enter an idle state before executing. Use to ensure stable results.

TDQS

A5/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries all behavior responsibility. It states that unregister permanently removes graph data, archive stops indexing but keeps graph searchable, restore restarts indexing, and keep dismisses advisory only for the session. The behavior of auto-detecting worktrees and auto-archiving clean merged worktrees is also disclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description uses a short introductory sentence, a numbered action list, a dedicated advisory block, and lifecycle rules. It is longer than typical descriptions, but every sentence is procedural or save-making. The critical warning about absolute paths appears immediately before telling the user to avoid '.' relative paths, so it is both front-loaded and actionable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a 8-parameter with no output schema, so the description must provide enough operational context. It does: it explains the return meaning of list, the unique dirty-worktree situation and recomended actions, the effect of archive/restore/keep/unregister, and the correct order of actions. The agent is fully equipped to sequence 'list' → respond to suggested_actions → invoke the proper action.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although schema coverage is 100%, the description adds meaning clearly beyond the schema: root must be an absolute path and never '.', repo_id is required for most actions and optional for quick single-repo detail, and 'list' rows actually return suggested_actions that trump the state-aware next step. This is exactly the kind of parameter insight an agent needs.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a concrete responsibility — 'Manages repository registrations' — and enumerates all seven actions it supports. This makes the tool's boundary clear and distinguishes it from sibling tools such as search, file modification, or indexer control.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit selection guidance: lifecycle rules say when to use archive vs restore vs unregister vs keep, and a 'REPLACES' block says to use this instead of ls/find and manual worktree management. It also instructs to call 'list' first when unsure of repo_id.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

synapse_modify_filesModify FilesA

Modifies files in the workspace. For safe agent workflows, first call 'write_safely' with dry_run: true, pre_check: true, and lint: true; review the preview, then call again with dry_run: false only when applying. High-level actions include:

  • 'write_safely': writes content with atomic lint validation, dry-run semantic diff simulation, pre_check blast radius mapping, and automatic rollback on failure.

  • 'find_and_replace': runs global regex find-and-replace across matching indexed files with instant re-indexing.

  • 'delete_chunk': removes a chunk from the index.

REPLACES: write_to_file, replace_file_content, multi_replace_file_content, manual lint + commit cycles. Use this tool instead of these alternatives for better results with 30-60% fewer tokens via automatic compression.

Usage (short): Preview and apply atomic safe file writes, global find-and-replace, or delete chunks.

Usage (long): Write files safely with automatic lint checks and revert on failure, run workspace-wide find and replace, or purge chunk entries. Always call synapse_get_context (edit) before this tool to understand callers, callees, and tests. For write_safely, first call with dry_run: true, pre_check: true, and lint: true so the agent sees semantic safety, compilation errors, contract warnings, and blast radius without touching disk. Apply with dry_run: false only after reviewing that preview. Validates with Trunk linter — rolls back atomically on lint failure.

NameRequiredDescriptionDefault
kindNoFilter by entity kind (used in 'find_and_replace').
lintNoSet false to bypass Trunk validation and write unconditionally (used in 'write_safely').
pathNoFilter by partial file path (used in 'find_and_replace').
filesNoList of file write operations (used in 'write_safely'). Each entry requires path and mode.
limitNoMax number of files to modify (safety limit, 1-100, used in 'find_and_replace').
queryNoThe PCRE regular expression to search for (used in 'find_and_replace').
actionYesThe modification action to perform.
dry_runNoAlways set true first to perform a semantic simulation of the proposed changes without writing to disk (used in 'write_safely'). Set false only after reviewing the preview and deciding to apply.
repo_idNoRepository ID to resolve relative paths or scope filters.
chunk_idNoThe chunk ID to permanently delete (used in 'delete_chunk').
languageNoFilter by language (used in 'find_and_replace').
pre_checkNoSet true to run a blast radius analysis before writing (used in 'write_safely').
max_tokensNoApproximate final response budget in tokens (500-32000, default 4000).
replacementNoThe replacement string. Supports backreferences like \1, \2, etc (used in 'find_and_replace').
case_insensitiveNoSet to true to ignore case (used in 'find_and_replace').
compress_payloadNoSet false to disable lossless response-key compression.
wait_for_ready_msNoOptional timeout in ms to wait for the indexer to finish warming up and enter an idle state before executing. Use to ensure stable results.

TDQS

A4.8/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations available, the description carries full disclosure burden and does so thoroughly. It reveals atomic lint validation, dry-run semantic simulation, blast radius mapping, rollback on lint failure, permanent chunk deletion, re-indexing, and the fact that dry_run: true never touches disk.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is long, but the tool is complex and 17 parameters; bullets and separate Usage sections keep it scanable. There is some repeated safe dry-run guidance across the intro and long usage, preventing a perfect score.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a no-annotation tool with no output schema, this description is unusually complete: safe workflow, action semantics, lint/rollback behavior, compression, and the required preceding call to get_conext are all present. An agent can safely invoke first dry-run and decide whether to apply.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is already strong; the description adds the phase-driven semantics of dry_run/pre_check/lint and groups filters for find_and_replace. It does not describe every parameter, but it does meaningfully bind the most safety-critical and action-specific properties.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a clear resource and scope ('files in the workspace') and then enumerates the three concrete actions: write_safely, find_and_replace, and delete_chunk. It also explicitly names the alternatives it replaces, so an agent can distinguish this tool from legacy or sibling editing tools without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a concrete safe workflow: call write_safely with dry_run, pre_check, lint true, review preview, then call apply with dry_run false. It also names a necessary preceding tool (synapse_get_context) and states when this tool should replace common alternative tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

synapse_search_codebaseSearch CodebaseA

Searches the repository codebase using different modes. Pass the exact repo_id with every action to keep results focused on the intended repository; if repo_id is unknown, call synapse_manage_repos with action 'list'. High-level actions include:

  • 'semantic': cosine similarity search over in-memory embeddings; best for conceptual or descriptive queries.

  • 'symbol': fast exact/fuzzy symbol index lookup; best when looking for a named function, module, or class.

  • 'regex': line-matching grep over indexed source; best for exact string or pattern matching. Without repo_id, every action returns at most 5 high-confidence matches across indexed repositories and reports the policy in meta.unscoped_retrieval.

REPLACES: grep_search, find, rg, list_dir for code search. Use this tool instead of these alternatives for better results with 30-60% fewer tokens via automatic compression.

Usage (short): Search codebase using semantic embeddings, symbol index, or regex grep. Pass the exact repo_id to keep results focused on the intended repository. For the freshest just-edited file, use actions 'symbol' or 'regex' (analogous to current symbol, regex, and graph context workflows).

Usage (long): Run a natural language semantic search, exact/fuzzy symbol lookup, or line-matching regex grep over indexed files. Pass the exact repo_id with every action to keep results focused on the intended repository. If repo_id is unknown, call synapse_manage_repos with action 'list' and copy it verbatim. Without repo_id, semantic requires score >= 0.75, fuzzy symbols require score >= 0.90, regex keeps exact textual matches, and every action is capped at 5 results. The response reports this in meta.unscoped_retrieval. Compression is on by default — pass compress_payload: false to opt out for debugging. Actions 'symbol' and 'regex' work immediately after quick_pass — they do not require embeddings. Action 'semantic' requires embeddings — avoid when repo_status.embeddings_partial is true.

NameRequiredDescriptionDefault
kindNoFilter results by entity kind (e.g., function, module).
pathNoFilter results by partial file path.
fuzzyNoEnable fuzzy matching (default true, used in symbol).
limitNoMaximum number of results to return.
queryNoSearch query (natural language for semantic, regex for regex, symbol name for symbol).
actionYesSearch mode to execute.
symbolNoSymbol name to look up (alternative to query for action 'symbol').
repo_idNoRepository identifier. Pass the exact repo_id to keep results focused on the intended repository and avoid matches from unrelated registered repositories. If unknown, call synapse_manage_repos with action 'list' and copy the repo_id verbatim. When omitted, semantic uses score >= 0.75, fuzzy symbols use score >= 0.90, and every action is capped at 5 results.
languageNoFilter results by programming language.
min_scoreNoMinimum similarity score (used in semantic, default 0.6).
max_tokensNoApproximate final response budget in tokens (500-32000, default 4000).
exclude_testsNoExclude test files from search results (default true, used in semantic).
match_per_lineNoReturn per-line matches with file path, line number, and line content (like grep -n). Use this when hunting for specific function definitions or call sites — results include repo_id, file, line_number, line_content.
case_insensitiveNoIgnore case in regex search (default false, used in regex).
compress_payloadNoSet false to disable lossless response-key compression.
wait_for_ready_msNoOptional timeout in ms to wait for the indexer to finish warming up and enter an idle state before executing. Use to ensure stable results.

TDQS

A4.8/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, so description carries full burden. Discloses: compression behavior (on by default, opt-out for debugging), unscoped retrieval policy (5-result cap, score thresholds), embedding dependency (semantic requires embeddings, avoid when embeddings_partial), and freshness behavior (symbol/regex work immediately after quick_pass). This is remarkably thorough for a non-annotated tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Well-structured with short usage + long usage sections, action list, and explicit alternatives. Front-loaded key information (exact repo_id, action modes). Some redundancy between short and long usage sections (both repeat repo_id guidance) is a minor cost, but acceptable for a complex tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 16-parameter complex tool with no output schema, the description covers action selection, result caps, score thresholds, repo scoping, fallback tip (call synapse_manage_repos list), and freshness behavior. Nothing critical is left out for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema already covers 100% of parameters with rich descriptions (per-action semantics, defaults, purpose). Description adds value by explaining cross-parameter dynamics (repo_id's effect on score thresholds, compress_payload's debugging use case) that the schema lacks. Slightly less than 5 because most parameter meaning is already in the schema rather than in the description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource: searches codebase with 3 distinct modes (semantic, symbol, regex). Explicitly distinguishes from grep_search/find/rg/list_dir — names alternative tools it replaces. The three action modes are clearly differentiated by search type and use case.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use guidance per action mode ('best for conceptual...', 'best when looking for...', 'best for exact...'). Explicitly names alternatives (grep_search, find, rg, list_dir) and states when to replace them. Also gives concrete behavioral guidance about repo_id and fallback actions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

synapse_test_qualityTest QualityA

Handles code quality, testing context, and linting control. High-level actions include:

  • 'coverage': reports production files with no, weak, or strong test coverage using the indexed graph.

  • 'find_tests': discovers behavioral tests, features, step definitions, or fixtures covering a symbol/query. Without repo_id, it returns at most 5 direct-confidence matches and stops once that bound is filled.

  • 'setup_trunk': automatically configures Trunk linting and enables recommended linters for a repository.

  • 'recommend_test_targets': recommends test targets (both unit/integration and BDD features) with behaviour summaries and coverage analysis.

REPLACES: grep_search for test files, find _test. patterns, manual test-to-code mapping. Use this tool instead of these alternatives for better results with 30-60% fewer tokens via automatic compression.

Usage (short): Report test coverage gaps, find relevant test files, recommend test targets, and configure Trunk linting.

Usage (long): Report static test coverage bands, locate feature files or unit tests for a symbol, recommend candidate files for unit and BDD test coverage (via recommend_test_targets) with behaviour summaries (excluding nested repositories/submodules by default, or opting in via targeted path filters), and run Trunk setup/audit check enable. Unscoped find_tests returns only direct-confidence matches, capped at 5.

NameRequiredDescriptionDefault
actionYesThe action to perform.
max_tokensNoApproximate final response budget in tokens (500-32000, default 4000).
compress_payloadNoSet false to disable lossless response-key compression.

TDQS

A3.8/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations present, the description carries the full behavioral burden and mostly delivers: it discloses the 5-match cap, the direct-confidence limitation, nested repository exclusion, and default compression. It is slightly less transparent about setup_trunk's side effects on the existing lint configuration, but 'automatically configures Trunk linting and enables recommended linters' does convey that it changes repo state.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content is well-organized into actionable bullets and usage sections, and most sentences carry useful detail. However, there is noticeable redundancy: the 'Usage (short)' restates the action list, and the 5-match cap on unscoped find_tests is described twice. Trimming these would make it more concise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a multi-action tool with no annotations and no output schema, and the description is not enough on its own. It references repo_id, symbols, queries, and targeted path filters, but the schema only exposes action, max_tokens, and compress_payload; an agent cannot reliably determine how to provide the required inputs for find_tests or recommend_test_targets. Important return/result structure details are also absent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3 and the description is not required to re-explain action, max_tokens, or compress_payload. The added prose references repo_id and symbol/query concepts, but those are not present in the input schema, so it makes parameter semantics somewhat ambiguous for an agent trying to construct valid calls.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description begins with a clear scope of code quality, testing, and lint control, then enumerates four concrete actions with specific verbs: coverage reports, find_tests discovers, setup_trunk configures, and recommend_test_targets recommends. It also differentiates itself from generic test-file discovery via grep_search, making it distinct within its sibling set.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly says to use this tool instead of grep_search, manual test file patterns, and manual test-to-code mapping, and gives a token-saving rationale. It also adds usage detail about scoped versus unscoped find_tests behavior. It does not fully articulate when NOT to use this tool versus the other synapse_* siblings, so it loses the top score.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 14 tool updatesv3.13.0
    • First observedask_synapse
    • First observedsynapse_capability_manifest
    • First observedsynapse_change_review
    • First observedsynapse_codebase_insights
    • First observedsynapse_debug_trace
    • First observedsynapse_explore_graph
    • First observedsynapse_get_context
    • First observedsynapse_indexer_control
    • First observedsynapse_inspect_files
    • First observedsynapse_knowledge_cache
    • First observedsynapse_manage_repos
    • First observedsynapse_modify_files
    • First observedsynapse_search_codebase
    • First observedsynapse_test_quality

TDQS

A4.1/5.0

Scored across 14 tools

Disambiguation4/5

Each Synapse tool has a clearly scoped domain (graph exploration, indexing, file work, retrieval, etc.), and a shared prefix prevents collisions. Still, there is some overlap between synapse_get_context's 'find', synapse_search_codebase, and synapse_explore_graph, and ask_synapse intentionally overlaps everything as a routing layer.

Naming Consistency4/5

All tool names use the uniform 'synapse_' prefix and snake_case, making them easy to group and remember. The naming mixes verb-led entries like synapse_inspect_files with noun-headed ones like synapse_capability_manifest or synapse_test_quality, which keeps things readable but not perfectly uniform.

Tool Count5/5

At 14 tools, the surface is substantial but still well-scoped. Each tool covers a distinct functional area rather than being a thin wrapper, so the count feels appropriate for the breadth of the code graph assistant.

Completeness5/5

The tool surface covers the full lifecycle: repository registration and indexing, health/status control, code search/context retrieval, graph exploration, diff review, debug tracing, safe file modification, test discovery, and knowledge caching. There are no obvious dead ends for the stated capabilities, and operators are well covered.

Maintenance

ActivityMaintained
ResponsivenessUnresponsive

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    A
    maintenance
    Enterprise-grade (40m+ lines) codebase intelligence in a zero-setup, private and local MCP: managed indexing, hybrid semantic search, polyglot code dependency graphs, and DB/API/infra knowledge. Benchmark: 61% less tokens, 84% fewer calls, 37x faster than standard AI grep.
    26
    2,001 npm
    3,354
    AGPL 3.0
  • A
    license
    Not graded
    quality
    A
    maintenance
    Zero-tool-call codebase intelligence for Claude Code and MCP clients. Automatically injects the right code context, functions, callers, and call chains, before the LLM starts thinking. Replaces 4-6 grep/read round-trips with a single 5ms hook injection, cutting token usage by 3-8x.
    88 npm
    37
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Turn any codebase into an AI-readable neural map — with proof. Every claim linked to code anchors (line + SHA-256 hash), every context window optimized with greedy token budgeting, every session protected by drift detection. Tree-sitter indexing across 11 languages, cross-session learning, AI enrichment, and 28 MCP tools. Zero config — just connect and your AI agent remembers everything.
    9 npm
    14
    GPL 3.0
  • A
    license
    Not graded
    quality
    A
    maintenance
    Content-addressed code graph that produces ranked context for AI agents in one call. 22 MCP tools across indexing, blast radius, test scope, semantic diff, runtime traffic, and feedback-aware context packing. Incremental updates via Merkle DAG (no re-indexing). GCF wire format saves 84% tokens vs JSON
    24
    Apache 2.0