Skip to main content
Glama

npm_check_update

Checks if a newer version of an npm package is available, providing update details and a suggested command. Helps identify outdated packages at session start.

Instructions

Check if a newer npm version is available. Returns updateAvailable, message, suggestedCommand, and when include_release_notes is true optional release_url, release_notes_excerpt, breaking_changes_excerpt, enrichment_error. Call at session start to encourage user to upgrade.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
packageNameYesnpm package name (e.g. neotoma)
currentVersionYesCurrent version reported by the client
distTagNoDist tag to check (default: latest)latest
include_release_notesNoWhen true, fetches npm version metadata and optional GitHub release body (best-effort); adds release_url and excerpts. Default false to limit registry/GitHub load.
Behavior3/5

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

No annotations provided. Description mentions return fields and optional behavior for include_release_notes, but does not disclose network dependency, potential delays, or error handling. Adequate for a simple check.

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, front-loaded with purpose. Every sentence is meaningful. Could be improved by listing return fields more structurally, but still efficient.

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?

Covers purpose, usage timing, and return fields. No output schema, so return value explanation is sufficient. Lacks mention of how version comparison works but acceptable for a simple tool.

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?

100% schema coverage, baseline 3. Description adds value by detailing conditional return fields for include_release_notes, and implies default behavior for distTag. No extra explanation for other params 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?

Clear verb ('Check if'), specific resource ('newer npm version'), and distinct from sibling tools. Siblings are unrelated (entities, issues), so this tool's purpose stands out.

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?

Explicitly recommends 'Call at session start to encourage user to upgrade,' providing clear context. No exclusion statements needed given unique purpose.

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/markmhendrickson/neotoma'

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