Skip to main content
Glama

Analyze a single dependency version change

analyze_package_change
Read-onlyIdempotent

Given one package and two versions (from -> to), returns a structured upgrade analysis: semver classification, GitHub release notes summary, detected breaking changes, security advisories fixed in the range, migration guide links, and a clear recommendation. Use when the user asks about a specific package upgrade ('what changed between react 18 and 19', 'is it safe to bump axios from 0.27 to 1.0', 'what does upgrading lodash 4.17.20 to 4.17.21 fix'). Supports npm and pypi. For analyzing many packages at once or a Dependabot batch, use analyze_packages_bulk instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesPackage name (e.g. 'react', 'requests')
ecosystemYesPackage ecosystem
toVersionYesTarget version (e.g. '19.0.0')
fromVersionYesCurrent version (e.g. '18.2.0')

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and non-destructive behavior. The description adds value by detailing the exact analysis output: semver classification, release notes summary, breaking changes, security advisories, migration guide links, and a recommendation. It does not add caveats about external network dependence, but openWorldHint already covers that.

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?

Three dense sentences carry all essential information: output contents, concrete use cases, ecosystem support, and the sibling alternative. The most important scoping information is front-loaded, and every clause earns its place without redundancy.

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?

For a tool with four fully described required parameters, annotations covering safety and idempotence, and no output schema, the description is complete: it states what the tool returns, when to use it, when not to use it, and which ecosystems it supports. An agent has enough context to invoke it correctly.

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%, so the schema already documents all four required parameters. The description adds useful illustrative examples and clarifies the 'from -> to' direction, but it does not introduce meaning beyond the schema fields; this is the appropriate baseline for a fully covered 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?

The description opens with a specific verb and resource: it takes one package and two versions and returns a concrete structured analysis. It explicitly lists outputs and gives query examples, and the final sentence names the sibling analyze_packages_bulk, which removes any ambiguity about which tool does what.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is explicit with both inclusion and exclusion criteria: use when the user asks about a specific package upgrade, and use analyze_packages_bulk instead for many packages or Dependabot batches. It also states supported ecosystems (npm and pypi), giving the agent clear routing rules.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.4/5.0
Disambiguation5/5

The two tools are clearly separated by scope: one handles a single package upgrade with detailed analysis, the other handles batch analysis with a ranked risk report. Their descriptions explicitly cross-reference when to use each, eliminating ambiguity.

Naming Consistency4/5

Both tools follow the 'analyze_' prefix pattern, but 'analyze_package_change' and 'analyze_packages_bulk' are not perfectly parallel—one uses singular 'package' and 'change', the other plural 'packages' and 'bulk'. This is a minor inconsistency, not a confusing one.

Tool Count4/5

With only two tools, the count is low for a general-purpose server, but the server's scope is deliberately narrow (dependency upgrade analysis). Two well-defined tools—single and bulk—cover the core need without redundancy.

Completeness4/5

The tool surface covers both individual upgrade analysis and bulk batch analysis, which are the two natural modes for this domain. Minor gaps exist, such as no tool for parsing lockfile diffs directly, but the described workflows rely on user-provided inputs, so the surface is reasonably complete.