Skip to main content
Glama
mcp-server-nuxt

mcp-server-nuxt

by rynx-cc

check_nuxt4_migration

Checks a Nuxt project against the official Nuxt 4 upgrade guide, flagging migration issues such as legacy directories, data-fetching changes, and removed APIs via static analysis.

Instructions

Check a Nuxt project against the official Nuxt 4 upgrade guide: current package.json version, app/ directory or future.compatibilityVersion 4, legacy root directories, singleton data-fetching conflicts, data/error/pending/shallow-reactivity changes, and removed APIs/options (route.meta, Unhead v2, window.NUXT, generate, experimental, pages:extend meta). Static analysis only — no DevServer or nuxi prepare.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "check_nuxt4_migration"
  }
}

Input Schema

NameRequiredDescriptionDefault
rootNoOptional project root override (defaults to the server project path)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.1

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does add real behavioral context by declaring the analysis is static and does not require a DevServer or nuxi prepare, which tells the agent the tool is safe and non-invasive. It stops short of describing the result shape (findings list, severity, pass/fail) or whether it mutates any files, leaving meaningful gaps for an unannotated 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?

The purpose is front-loaded in the first clause, and the enumerated check list is dense but each item maps to a real migration concern rather than filler. The single-sentence structure with a long parenthetical list is slightly hard to scan, but nothing is redundant.

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 single-parameter, non-annotated check tool with no output schema, the description is substantively complete: it names the reference standard (the official Nuxt 4 upgrade guide), lists the categories of findings, and bounds execution mode. The main missing piece is what the agent receives back — a findings report, list of issues, or summary — which matters somewhat absent an output 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 single `root` parameter is fully documented in the schema (100% coverage) as an optional project-root override defaulting to the server project path. The description adds no further meaning about the parameter, which is acceptable given the high schema coverage, but it means the description contributes nothing beyond the structured field.

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 and resource (check a Nuxt project against the official Nuxt 4 upgrade guide) and enumerates the concrete checks: package.json version, app/ directory or future.compatibilityVersion 4, legacy root dirs, data-fetching conflicts, removed APIs. This clearly separates it from sibling checks such as check_runtime_config, check_ssr_safety, and check_type_errors, which cover different concerns.

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?

Usage is implied — an agent should run this when assessing Nuxt 4 migration readiness — and the closing clause establishes a boundary (static analysis only, no DevServer or nuxi prepare). However, it never names an alternative tool or states prerequisites such as when in a migration workflow it should be run, so the when-to-use guidance is inferred rather than explicit.

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