angular-signal-forms-migration-mcp
angular-signal-forms-migration-mcp
Un servidor MCP que ayuda a un agente de IA de programación a migrar Angular Reactive Forms a Angular Signal Forms.
Localiza las construcciones de Reactive Forms en tu código, separa los cambios mecánicos seguros de los que requieren una decisión humana, y devuelve recetas antes→después verificadas contra una versión real de Angular en lugar de escritas de memoria.
Instalación
Requiere Node.js 20+. No hay nada que clonar: npx lo descarga bajo demanda.
claude mcp add signal-forms-migration -- npx -y angular-signal-forms-migration-mcp@latestO añádelo a la configuración de cualquier cliente MCP:
{
"mcpServers": {
"signal-forms-migration": {
"command": "npx",
"args": ["-y", "angular-signal-forms-migration-mcp@latest"]
}
}
}@latest hace que npx vuelva a resolver en cada inicio, de modo que al reiniciar tu editor se recojan las nuevas versiones. Sin él, npx sigue sirviendo la versión que haya almacenado en caché primero; apunta de nuevo la configuración a @latest o borra la caché con npm cache clean --force.
El servidor también comprueba si hay una versión más reciente una vez al día y escribe un aviso de una línea en stderr. Tiene límite de frecuencia, expira pasados 2 segundos, nunca toca stdout y permanece en silencio ante cualquier fallo. Para desactivarlo, añade "env": { "SIGNAL_FORMS_MCP_NO_UPDATE_CHECK": "1" } al bloque de configuración anterior. Para ver lo que realmente se está ejecutando:
npx angular-signal-forms-migration-mcp@latest --version[!IMPORTANT] No hagas
npm installde esto en tu aplicación Angular. Es un proceso independiente que tu editor lanza, no una librería de la que depende tu proyecto.npxlo guarda en una caché completamente separada de tu proyecto.
[!NOTE] Detecta y aconseja. No edita tu código. Aquí no hay ninguna herramienta que escriba en tus archivos fuente, ni la habrá nunca. El servidor devuelve hallazgos y recetas; tu agente decide qué cambiar y realiza las ediciones, de modo que cada cambio pasa por tu revisión y control de versiones habituales.
Related MCP server: VA Form Generation MCP Server
Qué se ve
> 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 wrongRequisitos previos que comprueba antes de recomendar
Un informe de migración comienza por las cosas que hacen imposible la migración, porque un plan que no puedes ejecutar es peor que ningún plan:
Angular 21+.
@angular/forms/signalsno existe antes de la v21. Por debajo de esa versión, el servidor devuelve un plan de actualización en lugar de un plan de migración.Que las versiones declaradas e instaladas coincidan. Una rama antigua extraída sobre unos
node_modulesmás recientes se sitúa a caballo de la línea de v21. Migrar contra lo que está instalado provoca que el siguientenpm cite devuelva a una versión en la que la API objetivo no está; por eso el servidor se niega a tomar partido y lo indica.Que
moduleResolutionsea compatible conexports(bundler,node16onodenext).@angular/forms/signalses una subruta depackage-exports; la resolución heredadanodeno puede verla y la importación falla con un error que parece una dependencia que falta.
Herramientas
Herramienta | Qué responde |
| ¿Dónde están las construcciones de Reactive Forms y cuáles necesitan a una persona? |
| ¿Cuál es la correspondencia verificada de antes→después para esta construcción? |
| ¿Qué tamaño tiene este trabajo y por qué archivo debería empezar? |
| Dame todo en un solo documento markdown. |
| Ya he migrado esto: ¿qué compila pero sigue estando mal? |
| Estoy por debajo de v21: ¿cómo llego a una versión que lo admita? |
Parámetros completos, formas de respuesta y límites de alcance: docs/TOOLS.md.
Cómo se verifican las recetas
Signal Forms es nuevo y no está presente de forma fiable en los datos de entrenamiento de ningún modelo: las recetas escritas de memoria fallan de formas que parecen correctas. Por eso ninguna de estas recetas está adoptada a la ligera.
Las recetas se verifican contra Angular v22 utilizando el servidor MCP oficial de Angular CLI, se contrastan con angular.dev y llevan una procedencia estructurada (verifiedAgainstVersion, retrievedISO, sources) que va incluida en la respuesta de la herramienta para que tu agente pueda juzgar lo actual que es el consejo. Una receta con la lista sources vacía falla la CI.
Cuando la documentación no responde a la pregunta, la receta lo dice en sus advertencias en lugar de inventarse una respuesta: UNVERIFIED — confirm on <url>, o UNVERIFIED — tool-authored guidance cuando Angular no documenta ninguna vía de migración en absoluto (los niveles de flujos RxJS son el caso principal: los primitivos están documentados y compilan, pero la elección entre ellos es, no de Angular). 14 de las 37 recetas llevan actualmente ese marcador. Esa es la parte honesta de la salida, no una supervisión; y un test hace que esa cifra seguir ser truth.
Las recetas también compilan. CI instala un subado @angular/forms@22 real y comprueba los tipos de los fixtures que ejercitan todas las APIs que utilizan las recetas; por eso una receta que nome tanto, una función no existente, o que la llame con la forma de argumentos incorrecta — falla la compilación. Es es lo que estableció disabled(path, { when }) como la firma de v22; la documentation no muentra ni esa firm ni la composición anidada de schema() + apply().
Do s cosas que esto captre y que la memoria se equÍ:
La directiva de enlace es
[formField]/formField— no[control]/Control, que aparecía en el material de la prerelease v21 y mot an los modelos.El método
disabled()/hidden()ganó una forma de objecto de opcipones en la v22 y marcó el callback@deprecateden lugar de elminarlo; por lo que, una forma de la v21 sígue compileado, con un aviso. Formedado al análizar las sobrearglas, no las guías.
The cheese.
Las recetas cuyo comporampion comportamiento diff receives a VERSION-SENSITIVE advertencia that names the form that each version takes and the server against your project's rises. Lee el array caveats: ahí es donde se escondenlas aristas.
El procedimiento de verificación para una nueva versión de Angular es REVERIFICATION.md.
Te dice cuándo no hay una respuesta sencilla
No todo patrón de Reactive Forms tiene un equivalente en Signal Forms, y una herramienta de migración que pretenda lo contrario es peor que ninguna. Los flujos de formulario se clasifican según los operadores RxJS en su cadena .pipe():
Nivel | Operadores | Respuesta |
trivial | none / |
|
moderado |
|
|
difícil |
| no hay equivalente directo |
En el nivel difícil, la receta lo dice directamente y ofrece tres estrategias reales — reglas de validación asíncrica, rxResource, o mantener RxJS detrás de toObservable / toSignal — en lugar de inventar una lerad line that does not exist.
Del mismo modo, addControl() / removeControl() no tienen ninguna contrapartida en absoluto: el árbol de campos se deriva del tipo de la señal del modelo. La receta explica algebraic three real respuestas en lugar de implying an API that would not compile.
Lo que no hará
No editará tus archivos. Por diseño, permanentemente.
No probará la corrección de tu migración.
verify_migrationprueba la ausencia nde little known conocidos defects conocidos. Ejecuta lo después deassct, no en lugar de él.
figure.
Migrate no a los formularios basados en plantillas. La migración de
ngModelno está documentada en el proyecto upstream; adivinarla sería el fenómeno de fallo que este proyecto existe para evitar.Read template literals with
${...}not sustituciones, porque su texto no Texto with no sustiCUXI no trata de lo que el define the compiler. La caq. Inline${...}` not with Rabia sin substitutionSí scanned.Scan no CSS/SCSS y** no *, no resuelve tipos entre archivos: la detección es un pase sintáctico de un solo archivo, no un
ts.Program.
ROADMAP.md model; no. El informe de migración los reprenata en su propi sección "Scope" más que dejar que los totales den a entender ello que no.
¿Por qué no server allMCP official?
Uso ambos. El servidor oficial de @angular/cli MCP conoce Angla; este conoce migración — qué configuraciones existen en tu código, cuál es mecánica, cuál necesaria de una decisión y cuál es el reemplazo verificado. Tu agente puede obtener hallazgos y recipes de aquí y verificar algo actual o específico del proyecto last.
Estado
Funcionalidades complete a través de M16. Seis herramientas incubadas, with doc-verified recipes que cover básicas constructs, arrays, runtime shape mutation, asynchron validators, custom controls, the three RXJS stream tiers reading and writing form state state, submission, shape restriction, CSS status classes, spec-file migration, y the .html template layer — with name, the <select multiple> blocker, and the silent error-key -house.
El transporte es stdio, plethora.
The article: "El transporte cambio is stdio, and stdout con reservations for la protocol and every logs is with a stderr. Contributions and local development: CONTRIBUTING.md.
Licencia
MIT
Available Tools
6 toolsanalyze_migration_complexitySummarise the size and shape of a Signal Forms migrationARead-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.
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to a .ts file or a directory to scan recursively. |
Output Schema
| Name | Required | Description |
|---|---|---|
| byConstruct | Yes | |
| judgmentCount | Yes | |
| totalFindings | Yes | |
| angularVersion | Yes | |
| suggestedOrder | Yes | |
| mechanicalCount | Yes | |
| referenceOnlyFiles | Yes | |
| blockingPrerequisite | Yes | |
| sharedValidatorFiles | Yes | |
| signalFormsAvailable | Yes |
TDQS
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.
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.
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.
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.
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.
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 candidatesARead-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.
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to a .ts file or a directory to scan recursively. | |
| limit | No | Maximum 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. | |
| offset | No | Index of the first finding to return. Defaults to 0. Page with page.nextOffset. | |
| constructs | No | Return only these construct names (e.g. ["FormArray.push"]). Use it to pull one decision at a time. Filtering is announced in `incomplete`. | |
| classification | No | Return only "mechanical" or only "judgment" findings. |
Output Schema
| Name | Required | Description |
|---|---|---|
| page | Yes | |
| files | Yes | |
| incomplete | Yes | Non-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. |
| totalFindings | Yes | Findings in the whole scan, unfiltered. |
TDQS
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.
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.
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.
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.
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.
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 requiresARead-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.
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path inside the Angular project. The current version is read from its package.json. | |
| level | No | Application complexity, as on angular.dev/update-guide: 1 Basic, 2 Medium, 3 Advanced. Defaults to 3. | |
| toMajor | No | Target major. Defaults to the version the recipes are verified against. | |
| windows | No | "I use Windows." Swaps in cmd-compatible commands. | |
| material | No | "I use Angular Material." | |
| fromMajor | No | Override the detected current major version. | |
| ngUpgrade | No | "I use ngUpgrade to combine AngularJS & Angular." |
Output Schema
| Name | Required | Description |
|---|---|---|
| markdown | Yes |
TDQS
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.
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.
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.
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.
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.
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 reportARead-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.
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to a .ts file or a directory to scan recursively. |
Output Schema
| Name | Required | Description |
|---|---|---|
| markdown | Yes |
TDQS
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.
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.
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.
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.
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.
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 recipeARead-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.
| Name | Required | Description | Default |
|---|---|---|---|
| construct | Yes | Reactive Forms construct to look up, e.g. "FormControl", "FormBuilder.group", "Validators.required". |
Output Schema
| Name | Required | Description |
|---|---|---|
| after | No | |
| found | Yes | |
| before | No | |
| caveats | No | |
| construct | Yes | |
| provenance | No | |
| description | No | |
| availableConstructs | No |
TDQS
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.
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.
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.
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.
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.
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 fileARead-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.
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to an ALREADY-MIGRATED .ts file, or a directory to scan. |
Output Schema
| Name | Required | Description |
|---|---|---|
| files | Yes | |
| checksRun | Yes | |
| infoCount | Yes | |
| disclaimer | Yes | |
| errorCount | Yes | |
| warningCount | Yes | |
| checksSkipped | Yes | |
| notMigratedFiles | Yes |
TDQS
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.
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.
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.
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.
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.
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.
6 tool updates
v0.9.1- First observed
analyze_migration_complexity - First observed
find_form_candidates - First observed
get_angular_upgrade_plan - First observed
get_migration_report - First observed
get_signalforms_recipe - First observed
verify_migration
TDQS
Scored across 6 tools
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.
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.
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.
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
Related MCP Connectors
Find retiring AI models and outdated API SDKs in your code, with dates, replacements and guides.
Code intelligence platform for AI agents. 20 tools for architecture, security & impact analysis.
Codebase intelligence for AI agents — dead code, blast radius, ownership.
Read-only AI coding tools for change verification, release readiness, capacity, and guidance.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables 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.529 PyPI5MIT
- AlicenseBqualityDmaintenanceProvides tools for auditing and fixing scaffolded VA forms to ensure they follow best practices and VA.gov content standards. Enables automated validation, agent prompt generation, and orchestration of form fixes across any vets-website workspace.51MIT
- AlicenseBqualityDmaintenanceEnables AI agents to safely upgrade JavaScript and TypeScript projects through dependency analysis, upgrade path detection, breaking change identification, codemod application, and PR summary generation.148 npmMIT
- AlicenseNot gradedqualityAmaintenanceProvides symbol-level dependency analysis and LLM-ready migration prompts for TypeScript/JavaScript projects, enabling AI editors to scan projects, analyze packages, and generate refactoring prompts.21 npm19MIT