Skip to main content
Glama

Preview a Vercel Migration

varity_migrate
Read-onlyIdempotent

Preview varitykit migration transformations by cloning a GitHub repository into a disposable directory; review changes before using a local checkout to commit and deploy.

Instructions

Clone a GitHub repository into a disposable directory and preview the transformations the current varitykit migration owner would apply. This tool does not mutate the source repository or deploy. Applying a migration requires a user-controlled local checkout so the transformed source can be reviewed, committed, and pushed before deployment.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "github_url": "<github_url>"
    },
    "name": "varity_migrate"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNoMust remain true. URL-based migration is preview-only until transformed-source custody is explicit.
github_urlYesGitHub repository URL to inspect, for example https://github.com/user/app.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv2.0.0
    • changedInput schema / properties / dry_run / default
      Previous value: -falseNew value: +true
    • changedInput schema / properties / dry_run / description
      Previous value: -"If true, show what would change without deploying. Useful for previewing migration impact."New value: +"Must remain true. URL-based migration is preview-only until transformed-source custody is explicit."
    • changedInput schema / properties / github_url / description
      Previous value: -"GitHub repository URL to migrate (e.g. 'https://github.com/user/my-vercel-app'). The repository will be cloned to a temporary directory, transformed, and deployed."New value: +"GitHub repository URL to inspect, for example https://github.com/user/app."
  2. First observedv2.0.0-beta.24

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds real value beyond that by disclosing the disposable-directory clone and confirming the source repository is not mutated, though it says nothing about authentication needs or rate/network limits for cloning an arbitrary GitHub URL.

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?

Three sentences, front-loaded with the core action and followed by scope limits and workflow rationale; nothing is padding. The final sentence is somewhat dense but still earns its place by explaining why applying is out of scope.

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?

With no output schema, the description should say what the preview actually returns (a diff, a report, a transformed tree), and it does not. Safety and scope are well covered, but the return shape is left entirely to inference, which is the main remaining gap for this preview 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?

Schema description coverage is 100%, so both parameters (github_url and dry_run) are already documented in the schema, including the 'must remain true' constraint. The description adds no syntax, format, or edge-case detail for either parameter, so the baseline of 3 applies.

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 gives a specific verb chain and resource: clone a GitHub repository into a disposable directory and preview the transformations a migration owner would apply. It also explicitly contrasts its scope with deployment ("does not ... deploy"), so an agent can tell it apart from siblings like varity_deploy or varity_redeploy without inspecting schemas.

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 clearly frames this as a preview step whose output is meant to be reviewed before applying a migration via a local checkout, which tells the agent when this tool is appropriate. It stops short of naming an alternative tool for actually applying the migration, so the routing guidance is contextual rather than explicit.

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