Skip to main content
Glama

upgrade_check

What changed in a package since the version your code targets: breaking changes, deprecations, security fixes and major versions crossed (with the official migration guide for each, where one exists), with the sentence that triggered each label. Call this before writing code against a library you may know only from older training data. Costs $0.01 (x402, USDC).

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": "upgrade_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromYesVersion your code targets, e.g. 14.2.0
packageYesPackage name or source id, e.g. next, @anthropic-ai/sdk, node. Prefix with npm: or pypi: when a name exists in both registries (pypi:openai vs npm:openai); bare names that match more than one tracked package return 400 ambiguous_package (not charged).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / package / description
      Previous value: -"Package name (npm/PyPI) or source id, e.g. next, openai, node"New value: +"Package name or source id, e.g. next, @anthropic-ai/sdk, node. Prefix with npm: or pypi: when a name exists in both registries (pypi:openai vs npm:openai); bare names that match more than one tracked package return 400 ambiguous_package (not charged)."
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations at all, the description does substantial work: it discloses the price and payment mechanism ($0.01 via x402/USDC), the specific failure mode (400 ambiguous_package) and that such failures are not charged, and it characterizes each returned item (label plus triggering sentence plus optional official migration guide). Remaining gaps are rate limits and response format, which are minor relative to what is disclosed.

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?

Two sentences, information-dense, with the payload description front-loaded ahead of the usage advice and the pricing note. The first sentence is long and comma-heavy but every clause adds a distinct capability. Nothing is padding.

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 annotations and no output schema, the description is the only source of behavioral context, and it covers cost, error handling, and the shape of returned items. It does not describe overall response structure, volume, or whether results are paginated, which leaves a modest gap for a tool whose output is its whole value.

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 are already documented with examples and the npm:/pypi: disambiguation rule. The description contributes only the framing of "from" as the version your code targets, which the schema also states. Baseline 3 applies since the schema carries the parameter burden.

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?

The description names a specific resource (per-package changes since a target version) and enumerates the content returned: breaking changes, deprecations, security fixes, major versions crossed, migration guides, and the triggering sentence. That is far beyond a restatement of the name. It stops short of differentiating from siblings such as quick_check, get_changes, or digest, so an agent cannot tell from the text alone which of those to prefer.

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?

"Call this before writing code against a library you may know only from older training data" gives a concrete trigger condition tied to a real agent failure mode. There is no explicit when-not guidance and no alternative tool is named, so the routing decision against the sibling change-inspection tools is left implicit.

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.

Resources