Skip to main content
Glama

Migration notes between versions

migrate
Read-onlyIdempotent

Plan a package upgrade by collecting breaking changes, removals, deprecations, and renames between your current version and the target, sourced from release notes or changelogs.

Instructions

Breaking changes, removals, deprecations and renames between two versions of a package, gathered from its release notes or changelog.

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": {
      "package": "<package>",
      "from": "<from>"
    },
    "name": "migrate"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoTarget version. Defaults to latest.
fromYesVersion the code currently uses, e.g. "4.17.21" or "4".
packageYesPackage name as published: "next", "@anthropic-ai/sdk", "pydantic", "serde", "github.com/gin-gonic/gin", "rails", "com.google.code.gson:gson", "Newtonsoft.Json", "laravel/framework", "http", "phoenix".
ecosystemNoRegistry: "npm" (JS/TS), "pypi" (Python), "cargo" (Rust), "go" (Go modules), "rubygems" (Ruby), "maven" (Java/Kotlin/Scala), "nuget" (.NET), "packagist" (PHP), "pub" (Dart/Flutter), "hex" (Elixir/Erlang). Defaults to npm.npm
include_new_featuresNoAlso list new APIs added in the range. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so safety is covered. The description adds that data is gathered from release notes or changelogs, which usefully explains the open-world nature and hints at possible incompleteness — but it doesn't say what happens when no changelog exists or how sparse results should be interpreted.

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?

A single tight sentence that front-loads the payload categories and then the data source. No filler or redundancy; the only knock is that it is a noun phrase rather than a declarative statement of action.

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?

With no output schema, the description is the only signal about return content, and it enumerates the four result categories well, which is enough for an agent to judge relevance. Minor gap: it doesn't indicate result organization (e.g., grouped by version or by change type) or fallback behavior when a changelog is unavailable.

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%, with package, from, to, ecosystem and include_new_features all documented in-schema with examples and defaults. The description adds nothing about parameter behavior — notably it never mentions that `from` is required and `to` defaults to latest, nor the effect of include_new_features. Baseline 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?

States concretely what the tool returns: breaking changes, removals, deprecations and renames for a package between two versions, plus the source (release notes/changelog). It's far more specific than the title 'Migration notes between versions', though it never positions itself against the near-neighbour sibling whats_new, so an agent must infer that distinction.

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 upgrade/version-range framing implies the use case (assessing what breaks when moving from one version to another), but there is no explicit when-to-use, when-not-to-use, or 'use X instead' statement. The natural alternative, whats_new, is left unaddressed.

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

Deploy Server

Other Tools