Skip to main content
Glama

Get migration map

get_migration
Read-only

Returns a verified migration map with ordered breaking changes, before/after code, and source citations for upgrading a package between two versions.

Instructions

Returns the verified migration map for upgrading a package between two versions: ordered breaking changes with before/after code, deprecations, source-citation URLs, and a last_verified date. Accepts concrete versions or SemVer ranges (e.g. "^14.2.0", "~14.1.0", "15.x"); non-exact lookups resolve to the covering map and disclose how via match_type/resolved_via/match_note. If found=false, no verified data exists — do not guess.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
packageYesPackage name as published, e.g. "@modelcontextprotocol/sdk"
ecosystemNoPackage ecosystem (default "npm")npm
to_versionYesVersion or SemVer range upgrading to, e.g. "2.0.0", "^15.0.0", "2.x"
from_versionYesVersion or SemVer range currently in use, e.g. "1.29.0", "^14.2.0", "1.x"
Behavior5/5

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

Annotations readOnlyHint=true and openWorldHint=false are reinforced and expanded by description: explains SemVer range resolution disclosures (match_type, resolved_via, match_note) and outcome when no data exists (found=false). No contradictions.

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?

Two sentences: first states purpose and return content, second explains parameter behavior and edge case. No redundant words; highly efficient.

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?

Given 4 parameters, no output schema, no nested objects, the description adequately covers return value details, parameter behavior, and failure case (found=false). No gaps for agent usage.

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?

Schema covers 100% of parameters with descriptions. Description adds value by explaining how non-exact versions are resolved and what fields are returned (match_type etc.), going beyond 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?

Description clearly states it returns the verified migration map for upgrading a package between two versions, listing specific contents (breaking changes, code, deprecations, URLs, date). This distinguishes it from siblings like get_breaking_changes or list_available_maps.

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?

Description explains parameter flexibility (concrete versions or SemVer ranges) and resolution behavior for non-exact lookups. It also advises on found=false case ('do not guess'). No explicit comparison to siblings, but context provides sibling list.

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

Install Server

Other Tools

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/asyntheticai/asynthetic'

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