Skip to main content
Glama

What changes between two versions

upgrade-guide

Returns breaking changes, removed APIs, config/default shifts, deprecations, and fixed advisories between two package versions to guide major upgrades, security-driven moves, and Dependabot fixes.

Instructions

Breaking changes, removed or renamed APIs, config and default changes, packages that split off, deprecations, and the advisories fixed, between the version a project uses and the one to move to. Sources: changelogs and GitHub release notes for the versions in between, migration guides when a major is crossed, and (npm) a diff of the exported .d.ts API. Call it before upgrading across a major, when a SECURITY NOTICE recommends a new major, or to fix a Dependabot PR. Without "to" it uses the version pinright recommends.

Input Schema

NameRequiredDescriptionDefault
toNoVersion to move to. Default: the recommended safe version.
fromNoVersion the project uses now, e.g. "15.5.28" (a range like "4.x" picks its newest release).
queryNoWhat you are changing, e.g. "middleware auth redirect"; ranks entries about it first.
tokensNoApproximate size of the answer in tokens (default 5000).
packageNoPackage name, with ecosystem, instead of libraryId.
ecosystemNonpm, pypi, cargo, go, maven, nuget or rubygems.
libraryIdNoId like "npm:next" or "pypi:langchain" (a version in it is used as "from").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full load, and it does disclose the evidence sources (changelogs, GitHub release notes, migration guides, and an npm .d.ts API diff) plus the fallback to the pinright-recommended version when 'to' is omitted. It does not cover auth requirements, rate limits, or the shape of the response, leaving some behavioral gaps.

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?

It is front-loaded with the content the tool returns, followed by sources and then call conditions, in roughly the right order with no filler sentences. The 'Sources:' clause is dense and adds length, but each element is informative rather than 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 seven-parameter, zero-required read tool with no annotations and no output schema, the description covers what is returned, where it comes from, and the defaulting behavior well enough to invoke it correctly. Only the concrete response format and any size-pagination expectations (beyond the 'tokens' param) are left implicit.

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 every parameter is already documented in the schema, including the 'to' default and the libraryId version-as-'from' convention. The description restates the 'to' default and adds no syntax or interaction detail beyond the schema, 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 names a specific resource and scope: breaking changes, removed/renamed APIs, config and default changes, split-off packages, deprecations, and fixed advisories between the project's current version and its target. That enumeration distinguishes it clearly from siblings like get-docs and check-package without needing to name them.

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 gives three concrete trigger conditions: before crossing a major, when a SECURITY NOTICE recommends a new major, and to fix a Dependabot PR. It also states the no-argument default behavior. It stops short of saying when NOT to use it or explicitly pointing at a sibling alternative, so it is not a full 5.

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