Skip to main content
Glama
Alvi97

angular-signal-forms-migration-mcp

by Alvi97

angular-signal-forms-migration-mcp

npm node license

MCP-сервер, который помогает ИИ-агенту по написанию кода мигрировать Angular Reactive Forms на Angular Signal Forms.

Он находит конструкции Reactive Forms в вашем коде, отделяет безопасные механические переписывания от тех, которые требуют участия человека, и вы даёте рецепты «до→после», проверенные на реальном релизе Angular, а не выдуманные по памяти.

Установка

Требуется Node.js 20+. Клонировать нечего — npx подтянет пакет по запросу.

claude mcp add signal-forms-migration -- npx -y angular-signal-forms-migration-mcp@latest

Или добавьте его в конфигурацию любого MCP-клиента:

{
  "mcpServers": {
    "signal-forms-migration": {
      "command": "npx",
      "args": ["-y", "angular-signal-forms-migration-mcp@latest"]
    }
  }
}

Благодаря @latest npx выполняет разрешение заново при каждом запуске, поэтому после перезапуска редактора подхватываются новые релизы. Без этого npx продолжит отдавать ту версию, которую закэшировал первой, — либо укажите в конфиге @latest, либо очистите кэш командой npm cache clean --force.

Сервер также раз в день проверяет наличие более новой версии и пишет однострочное уведомление в stderr. Проверка ограничена по частоте, истекает по таймауту через 2 секунды, никогда не трогает stdout и остаётся молчаливой при любой ошибке. Чтобы отключить её, добавьте "env": { "SIGNAL_FORMS_MCP_NO_UPDATE_CHECK": "1" } в блок конфигурации выше. Чтобы увидеть, какая версия реально запущена:

npx angular-signal-forms-migration-mcp@latest --version

[!IMPORTANT] Не выполняйте npm install этого пакета в свой проект Angular. Это отдельный процесс, который запускает ваш редактор, а не библиотека, от которой зависит ваш проект. npx хранит его в кэше полностью вне вашего проекта.

[!NOTE] Сервер обнаруживает и подсказывает. Он никогда не изменяет ваш код. Здесь нет инструмента, который пишет в ваши исходные файлы, и никогда не будет. Сервер возвращает находки и рецепты; ваш агент решает, что менять, и вносит изменения, так что каждое изменение по-прежнему проходит через ваше обычное ревью и систему контроля версий.

Related MCP server: VA Form Generation MCP Server

Как это выглядит

> Migrate the forms in src/app/checkout to Signal Forms.

  1. find_form_candidates { path: ".../src/app/checkout" }
     → 9 findings across 2 files: 6 mechanical, 3 judgment
       (the FormArray of line items is judgment — its shape changes)
  2. get_signalforms_recipe { construct: "FormBuilder.group" }
     → before/after + caveats
  3. the agent applies the edits, you review the diff
  4. verify_migration { path: ".../checkout.component.ts" }
     → traps that compile and are still wrong

Предусловия, которые проверяются перед любыми рекомендациями

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

  1. Angular 21+. @angular/forms/signals не существует до v21. Ниже этого уровня сервер возвращает план обновления вместо плана миграции.

  2. Заявленная и установленная версии совпадают. Старая ветка, проверенная поверх новых node_modules, пересекает границу v21. Если мигрировать против установленной версии, то следующий npm ci откатит вас к версии, где нужного API нет, — поэтому сервер отказывается выбирать сторону и прямо об этом сообщает.

  3. moduleResolution с поддержкой exports (bundler, node16 или nodenext). @angular/forms/signals — это подпуть в package exports; легаси-node-разрешение не может его увидеть, и импорт падает с ошибкой, похожей на отсутствующую зависимость.

Инструменты

Инструмент

Что он даёт

find_form_candidates

Где в коде конструкции Reactive Forms, и какие из них требуют участия человека

get_signalforms_recipe

Какой из рецептов «до → после» проверен для данного конструкта

analyze_migration_complexity

Насколько велик объём работы и с какого файла стоит начать

get_migration_report

Полный отчёт одним markdown-документом

verify_migration

Я уже перенёс это — что компилируется, но ещё работает неправильно

get_angular_upgrade_plan

Я ниже v21. Как перейти на версию, где это поддерживается

Полное описание параметров, форматы ответов и ограничения по объёму: docs/TOOLS.md.

Как проверяются рецепты

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

Рецепты проверяются на Angular v22 с помощью официального MCP-сервера Angular CLI, перекрёстно сверяются с angular.dev и несут структурированную информацию о происхождении (verifiedAgainstVersion, retrievedISO, sources), которая приходит в ответе инструмента, чтобы ваш агент мог судить, насколько совет актуален. Рецепт с пустым списком sources не проходит CI.

По вопросам, на которые документация отвечает, рецепт прямо говорит в caveats, а не выдумывает ответ: UNVERIFIED — подтверждать по <url>, или UNVERIFIED — руководство, созданное инструментом для случаев, когда у Angular нет задокументированного маршрута (основной пример — три уровня RxJS-потоков: примитивы задокументированы и компилируются, но выбор между ними — суждение этого инструмента, а не Angular). 14 из 37 рецептов сейчас отмечены таким маркером. Это честная часть вывода, а не недоработка — и тест сохраняет это число актуальным.

Рецепты также компилируются. CI устанавливает настоящий @angular/forms@22 и проверяет типы на примерах, которые используют все API из рецептов, так что рецепт, либо вызывающий функцию, которого нет, либо с неверной формой аргументов, валит сборку. Именно так была установлена сигнатура v22 disabled(path, { when }); документация не демонстрирует ни её, ни вложенную композицию schema() + apply().

Две вещи, в которых память ошибается:

  • Связывающая директива — это есть [formField] / FormField, а не [control] / Control, которая встречалась в материтах предрелиза v21 и именно её воспроизводят модели.

  • disabled() / hidden() в v22 получили форму объекта параметров и пометили голый колбэк @deprecated, а не удалили его, поэтому правило, рассчитанное на v21, статья компилируется, но с предупреждением. Это установлено сравнением поставляемых перегрузок, а не по гайдам.

Рецепты, поведение которых действительно различается между релизами, несут маркер VERSION-SENSITIVE, в котором указано, какую форму принимпонентное то или иная версия; сервер выбирает нужный вариант под обнаруженную версию вашего проекта. Читайте массив caveats — там находятся все острые углы.

Процедура повторной проверки при новом релизе Angular: REVERIFICATION.md.

Он сообщает, когда нет однозначного ответа

Не у каждого паттерна Reactive Forms есть аналог в Signal Forms, и миграционный инструмент, который делает вид, что это не так, хуже, чем никакой. Формные потоки классифицируются по набору RxJS-операторов в цепи .pipe():

Уровень

Операторы

Ответ

простой

нет / голый subscribe

computed(), а для настоящего побочного эффекта — effect()

средний

map, filter, debounceTime, distinctUntilChanged, …

computed() + правило схемы debounce()

сложный

switchMap, combineLatest, withLatestFrom, forkJoin, …

прямого эквивалента нет

Для сложного уровня рецепт прямо это говорит и предлагает три настоящие стратегии — асинхронные правила валидации, rxResource или хранение RxJS за toObservable/toSignal, — а не выдуманную однострочную замену, которая не существует.

Как и addControl() / removeControl() вообще не имеют аналога: дерево полей выводится из типа сигнала модели. Рецепт объясняет три реальных варианта вместо того, чтобы подразумевать API, которое не скомпилируется.

Что он делать не будет

  • Редактировать ваши файлы. Не будет никогда, намеренно и навсегда.

  • Доказывать, что миграция корректна. verify_migration доказывает отсутствие известных дефектов. Запускайте его после tsc, а не вместо него.

  • Мигрировать шаблонные формы. Миграция ngModel не задокументирована вышестоящим проектом; угадывать её — это ровно тот режим отказа, ради которого существует этот проект.

  • Читать шаблон-литералы с подстановкой ${...}, И их текст — это не то, что видит компилятор Angular. Местове инлайн-строки template: без подстановок сканируются.

  • Сканировать CSS/SCSS или резолвить типы между файлами; это однофайловой синтаксический проход, а не ts.Program.

ROADMAP.md отслеживает это; миграционный отчёт повторяет их в своём разделе «Scope», чтобы общее количество не создавало иллюзию полноты.

Почему не просто официальный Angular MCP-сервер?

Используйте оба. Официальный MCP-сервер @angular/cli разбирается в Angular; этот разбирается в миграции — какие конструкции есть в вашем коде, какие из них механические, а какие требуют решения, и что является проверенной заменой. Ваш агент может взять находки и рецепты здесь, затем свериться сей с актуальной там версией проекта перед внесением управлений.

Статус

Функциональная версия завершена на M16. Работает шесть инструментов с проверенными рецептами, покрытыми базовые конструкции, массивы, изменение формы в рантайме, асинхронные валидаторы, пользовательские контролы, три уровня RxJS-потоков, чтение и запись состояния формы, отправка, ограничения формы модели, CSS-классы статусов, миграция спец-файлов и шаблонный слой .html — привязки, чтение состояния, блокировку <select multiple> и скрытое переименование ключа ошибок.

Транспорт — stdio, поэтому stdout зарезервирован для протокола, а вся диагностикилicense идёт в stderr.

Вклад и локальная разработка: CONTRIBUTING.md.

Лицензия

MIT

Available Tools

6 tools
analyze_migration_complexitySummarise the size and shape of a Signal Forms migrationA
Read-only

Scans .ts and .html files (or a directory) and summarises the migration: total findings, counts per construct, the mechanical/judgment split, and a suggested file order (simplest first, so all-mechanical files land before the ones needing design decisions). Read-only: this tool never modifies your files.

ParametersJSON Schema
NameRequiredDescriptionDefault
pathYesAbsolute path to a .ts file or a directory to scan recursively.

Output Schema

ParametersJSON Schema
NameRequiredDescription
byConstructYes
judgmentCountYes
totalFindingsYes
angularVersionYes
suggestedOrderYes
mechanicalCountYes
referenceOnlyFilesYes
blockingPrerequisiteYes
sharedValidatorFilesYes
signalFormsAvailableYes

TDQS

A4.1/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true and destructiveHint=false, so the behavior is largely covered structurally. The description reinforces the read-only guarantee and adds context about scanning behavior and result structure, but it does not disclose edge cases such as invalid paths or recursion behavior beyond what is already implied.

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 is compact and front-loaded: the first sentence states the input and output details directly, and the second provides a clear read-only safety note. There is no fluff, redundancy, or unnecessary beat-around-the-bush phrasing.

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 tool has one required parameter, a simple input schema, output schema coverage, and clear annotations. The description supplies all the essential operational context: file types scanned, summarization outputs, file ordering rationale, and the mutation safety guarantee. Nothing critical is missing.

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 already documents the single path parameter with 100% coverage. The description further clarifies that the tool scans .ts and .html files, and notes the directory alternative, adding practical meaning beyond the schema. There is slight ambiguity about whether a standalone .html file path is accepted, but overall the description usefully extends the schema.

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: it scans .ts and .html files or a directory and summarises the migration. It also enumerates concrete outputs such as total findings, per-construct counts, and the mechanical/judgment split, which clearly distinguishes it from siblings like verify_migration or get_migration_report.

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

Usage Guidelines3/5

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

The description explains what the tool does and what it returns, but it does not explicitly state when to prefer this tool over siblings such as find_form_candidates or get_angular_upgrade_plan. It does not provide exclusions or an explicit when-to-use/when-not-to-use scenario, leaving usage mostly implicit.

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

find_form_candidatesFind Angular Reactive Forms migration candidatesA
Read-only

Scans .ts and .html files (or a directory) for Angular Reactive Forms constructs and classifies each finding as "mechanical" (safe to transliterate) or "judgment" (a human must decide the target design). Read-only: this tool never modifies your files. Results are PAGED (default 200 findings) — check incomplete: non-null means there is more, and says how to get it. Filter with constructs / classification to work one decision at a time.

ParametersJSON Schema
NameRequiredDescriptionDefault
pathYesAbsolute path to a .ts file or a directory to scan recursively.
limitNoMaximum findings to return. Defaults to 200. A whole workspace can be far larger than one context window, so the response is a window and says so when it is.
offsetNoIndex of the first finding to return. Defaults to 0. Page with page.nextOffset.
constructsNoReturn only these construct names (e.g. ["FormArray.push"]). Use it to pull one decision at a time. Filtering is announced in `incomplete`.
classificationNoReturn only "mechanical" or only "judgment" findings.

Output Schema

ParametersJSON Schema
NameRequiredDescription
pageYes
filesYes
incompleteYesNon-null when this response is NOT the full result, with the call that returns the rest. Null means complete. Never treat a filtered or paged list as the whole job.
totalFindingsYesFindings in the whole scan, unfiltered.

TDQS

A4.7/5.0
Behavior5/5

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

Despite readOnlyHint being true, the description goes well beyond that by explicitly stating the tool never modifies files, results are paged, the default page size, and what `incomplete` means. It also communicates the mechanical/judgment classification logic, which is valuable beyond the annotations. No contradiction with annotations.

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?

Three dense sentences each carry distinct value: scanning scope, read-only guarantee, paging, and filter guidance. The most important details are front-loaded and there is no filler.

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 tool is a read-only scanning utility, and the description covers all relevant operational aspects: input scope, safety, classification semantics, paging, and filtering. The presence of an output schema further covers return details, so no necessary information is missing.

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 already documents all parameters at 100% coverage, so the baseline is high. The description adds value by framing constructs/classification as a 'work one decision at a time' workflow and by highlighting paging constraints in the overall behavior.

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 states the operation (scans .ts and .html files or a directory), the object (Angular Reactive Forms constructs), and the output distinction (mechanical vs. judgment). This differentiates it from sibling tools like analyze_migration_complexity or get_migration_report, which focus on broader analysis or reporting.

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 explicitly describes path-based scanning, result filtering, and pagination workflow, saying to check `incomplete` for more results. It does not explicitly say when NOT to use this tool in favor of a sibling, but the operational guidance for how to use this tool is clear.

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

get_angular_upgrade_planPlan the Angular upgrade that Signal Forms requiresA
Read-only

Signal Forms needs Angular 21+. When a project is older, this returns the upgrade plan as markdown, reproducing angular.dev/update-guide from Angular's own published step data — not written by this server. The current version is detected from the project; you choose application complexity (1 Basic, 2 Medium, 3 Advanced) and whether you use ngUpgrade, Angular Material or Windows, exactly as the official guide asks. Read-only: this tool never modifies your files.

ParametersJSON Schema
NameRequiredDescriptionDefault
pathYesAbsolute path inside the Angular project. The current version is read from its package.json.
levelNoApplication complexity, as on angular.dev/update-guide: 1 Basic, 2 Medium, 3 Advanced. Defaults to 3.
toMajorNoTarget major. Defaults to the version the recipes are verified against.
windowsNo"I use Windows." Swaps in cmd-compatible commands.
materialNo"I use Angular Material."
fromMajorNoOverride the detected current major version.
ngUpgradeNo"I use ngUpgrade to combine AngularJS & Angular."

Output Schema

ParametersJSON Schema
NameRequiredDescription
markdownYes

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description reinforces this with 'Read-only: this tool never modifies your files.' It adds meaningful context beyond the annotations: the plan is reproduced from Angular's published step data (not written by this server), the output is markdown, and the current version is auto-detected from the project with optional overrides. It just does not cover edge cases such as what happens when the project is already above the required version.

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?

Four sentences, front-loaded with the purpose and the trigger condition ('When a project is older, this returns the upgrade plan'). Each sentence pulls its weight: requirement, result/format/source, input choices matching the official guide, and the read-only guarantee. It is a touch dense but there is no dead weight and no repetition of the raw schema.

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 read-only tool with full parameter descriptions, an output schema, and explicit read-only annotations, this description covers nearly everything: why it exists (Signal Forms needs 21+), when to call it (older projects), what comes back (official markdown plan), and which input choices to make (the official questionnaire parameters). Minor gaps remain, such as expected behavior when the project is already current or how the detected version is resolved from package.json, but these are edge cases, not blocking gaps.

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 coverage is 100%, so each parameter already has a description, defaults, and constraints in the input schema. The description adds only slight glue (the choices are exactly what the official guide asks, the version is detected from the project), which is helpful but not a substantial extension of the schema. Baseline 3 is appropriate here; a higher score would require the description to clarify meanings the schema left 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 states a concrete deliverable — 'the upgrade plan as markdown' reproducing angular.dev/update-guide from Angular's published step data — and anchors it to a requirement (Signal Forms needs Angular 21+). It clearly distinguishes this tool from siblings like analyze_migration_complexity and get_migration_report, which are about analysis and reporting rather than the official step-by-step upgrade plan. The verb (returns) and the resource (the Angular plan from the official guide) are precise.

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 a clear trigger condition: use it when a project is older than Angular 21+ so the tool emits the official upgrade plan. It also helps the agent select the right parameters by telling it to choose complexity and options 'exactly as the official guide asks.' It does not explicitly name the siblings as alternatives or say when not to use it, which keeps it below 5.

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

get_migration_reportGenerate a Signal Forms migration reportA
Read-only

Scans .ts and .html files (or a directory) and returns a MARKDOWN REPORT combining findings, complexity, a suggested file order, the constructs present with their recipe names, and a warning for any version-sensitive recipe involved. Returns the report as a string — it does NOT write a file; you decide whether to save it. Read-only: this tool never modifies your files.

ParametersJSON Schema
NameRequiredDescriptionDefault
pathYesAbsolute path to a .ts file or a directory to scan recursively.

Output Schema

ParametersJSON Schema
NameRequiredDescription
markdownYes

TDQS

A4/5.0
Behavior5/5

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

The description clearly discloses that the tool is read-only and does not write files, which aligns with and adds context beyond the readOnlyHint annotation. It also explains that the report is returned as a string and that saving it is the caller's decision, which is useful behavioral guidance for an agent.

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 reasonably concise and front-loaded with the core action. It packs useful details into three sentences, but it has some redundancy: 'it does NOT write a file', 'you decide whether to save it', and 'this tool never modifies your files' all express similar read-only/no-file-write behavior.

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 description is complete for a read-only reporting tool of this complexity. It names the input scope, the output format, the report contents, and the file-writing behavior. Since an output schema exists and annotations cover read-only behavior, nothing critical is missing for an agent to decide whether to call this tool.

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 documents the `path` parameter as an absolute path to a .ts file or directory. The description adds context by mentioning .html files and directories, but it does not materially expand the parameter semantics beyond what the schema describes. With 100% schema coverage, a baseline score of 3 is appropriate.

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 identifies what the tool does: it scans .ts and .html files or a directory and returns a Markdown report with specific content (findings, complexity, file order, recipe names, version warnings). It distinguishes the tool from generic utility tools by naming the report contents, though it stops short of explicitly contrasting itself with the sibling analysis tools.

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

Usage Guidelines3/5

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

The description implies when to use this tool: when you need a combined migration report as a string rather than a file. It does not explicitly state when not to use it or which sibling tool should be used instead, such as `analyze_migration_complexity` for complexity-only analysis or `verify_migration` for validation afterward.

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

get_signalforms_recipeGet an Angular Signal Forms migration recipeA
Read-only

Returns a verified before/after migration recipe for a single Reactive Forms construct (e.g. "FormControl", "FormBuilder.group", "Validators.required"). An unknown construct returns found:false plus the list of available constructs — it is never an error. Read-only: this tool never modifies your files.

ParametersJSON Schema
NameRequiredDescriptionDefault
constructYesReactive Forms construct to look up, e.g. "FormControl", "FormBuilder.group", "Validators.required".

Output Schema

ParametersJSON Schema
NameRequiredDescription
afterNo
foundYes
beforeNo
caveatsNo
constructYes
provenanceNo
descriptionNo
availableConstructsNo

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description reinforces this with 'Read-only: this tool never modifies your files.' Beyond that, it adds a valuable behavioral edge case: unknown constructs return found:false plus available constructs and are never an error, which is more informative than standard error expectations. This exceeds the baseline set by the annotations.

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 is two sentences with zero waste. The core behavior is front-loaded, followed by the edge case and a read-only guarantee. Every sentence earns its place, and no irrelevant information is included.

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 simple one-parameter lookup tool with a known input shape and an output schema. The description covers behavior, unknown-input handling, and side-effect safety, so an agent has everything needed to invoke it correctly. The output schema handles the return-value details, and the description covers the rest.

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 coverage is 100%, so the parameter is already well documented. The description's examples ('FormControl', 'FormBuilder.group', 'Validators.required') mirror the schema's own examples and do not add new semantic depth. The description adds only a mild connection between the parameter and the resulting recipe concept, which keeps this at the baseline of 3.

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 precise verb+resource: 'Returns a verified before/after migration recipe for a single Reactive Forms construct.' It also gives concrete examples ('FormControl', 'FormBuilder.group', 'Validators.required') and distinguishes itself from sibling tools by targeting a single construct lookup rather than scanning, analysis, or reporting. This makes it unambiguous which tool an agent should select.

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 clearly implies the use case: looking up a recipe for a specific Reactive Forms construct. It doesn't explicitly name alternative tools, but the examples and single-construct scope make it evident as a lookup tool. However, it does not explicitly state when to prefer a sibling like find_form_candidates or verify_migration instead, leaving a small gap.

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

verify_migrationVerify an already-migrated Signal Forms fileA
Read-only

Reads code you have ALREADY migrated and reports Signal Forms traps that COMPILE and are still wrong — a missed signal call in a position TypeScript does not check, a deprecated-but-valid v21 rule shape, a pre-release API name, an AbstractControl left in a form() model, Reactive Forms imports left behind. Run it after tsc, not instead of it: anything the compiler already reports is deliberately not repeated here. Read-only. It proves the ABSENCE OF KNOWN DEFECTS, never correctness.

ParametersJSON Schema
NameRequiredDescriptionDefault
pathYesAbsolute path to an ALREADY-MIGRATED .ts file, or a directory to scan.

Output Schema

ParametersJSON Schema
NameRequiredDescription
filesYes
checksRunYes
infoCountYes
disclaimerYes
errorCountYes
warningCountYes
checksSkippedYes
notMigratedFilesYes

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations, which already mark read-only and non-destructive behavior, the description adds important behavioral nuances: it only reports defects the compiler misses, it does not re-report compiler errors, and its results 'prove the ABSENCE OF KNOWN DEFECTS, never correctness.' This is exactly the kind of limitation disclosure that helps the agent set expectations.

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 is dense but stays efficient: it front-loads the tool's core behavior, lists useful defect categories, states the run order relative to tsc, and closes with an epistemically honest caveat. Every sentence contributes meaningful decision-making information.

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 single-parameter read-only verifier with a 100%-documented schema and an output schema present, the description covers what the tool reads, what defects it finds, where it fits in the workflow, what it explicitly does not do, and its limits. Nothing needed to call it correctly is missing.

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 covers the only parameter with 100% accuracy, including that the path must point to an already-migrated file or directory. The description reinforces this with 'reads code you have ALREADY migrated,' but it does not need to add parameter-level detail beyond what the schema already supplies.

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 identifies a specific verb+resource: it reads already-migrated code and reports Signal Forms traps that compile but are still wrong. It gives concrete examples and establishes that its scope is intentionally narrower than 'correctness checking,' making it distinguishable from migration-planning and reporting siblings.

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 an explicit usage boundary: 'Run it after tsc, not instead of it.' It also states that compiler-reported errors are deliberately excluded, so an agent knows when the tool is and is not the right choice in a migration workflow.

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. Dates show when Glama detected each change.

  1. 6 tool updatesv0.9.1
    • First observedanalyze_migration_complexity
    • First observedfind_form_candidates
    • First observedget_angular_upgrade_plan
    • First observedget_migration_report
    • First observedget_signalforms_recipe
    • First observedverify_migration

TDQS

A4.3/5.0
Disambiguation4/5

Most tools are clearly distinct in purpose: discovery, complexity analysis, report generation, recipe lookup, upgrade planning, and verification. The only potential overlap is between find_form_candidates, analyze_migration_complexity, and get_migration_report, but their distinct output shape (raw findings vs. summary vs. combined report) keeps them distinguishable.

Naming Consistency5/5

All tool names follow a consistent verb_noun snake_case pattern: get_*, find_*, analyze_*, verify_*. The verbs and nouns are explicit and predictable, so an agent can infer tool behavior from the name.

Tool Count5/5

Six tools is well-scoped for a migration-assist server. Each tool covers a necessary part of the migration workflow—candidate discovery, recipe lookup, complexity analysis, report generation, upgrade planning, and post-migration verification—without redundancy or bloat.

Completeness4/5

The tool surface covers the full lifecycle of the migration assistance: analyzing the existing code, obtaining recipes, generating reports, planning version upgrades, and verifying the migrated result. It lacks a tool that applies the migration automatically, but the server explicitly positions itself as read-only and focuses on verification rather than execution.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    Enables LLMs to apply Martin Fowler's 71+ refactoring patterns to codebases through a pluggable, language-agnostic architecture. Supports previewing and applying refactorings, analyzing code smells, and inspecting code structure with safe-by-default operations.
    5
    5
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    Enables AI agents to safely upgrade JavaScript and TypeScript projects through dependency analysis, upgrade path detection, breaking change identification, codemod application, and PR summary generation.
    14
    19
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Alvi97/angular-signal-forms-migration-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server