Skip to main content
Glama

npm_check_update

Check for available npm package updates to maintain current versions. Returns update status and upgrade commands when newer versions exist.

Instructions

Check if a newer npm version is available. Returns updateAvailable, message, and suggestedCommand. 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
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It describes the return values (updateAvailable, message, suggestedCommand) which is helpful, but doesn't mention potential network calls, rate limits, error conditions, or what happens if the package doesn't exist. It provides some behavioral context but leaves gaps for a tool that likely makes external API calls.

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?

The description is extremely concise with just two sentences that both earn their place. The first sentence states the core functionality, and the second provides important usage guidance. There's zero wasted text and it's perfectly front-loaded with the essential information.

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 tool with no annotations and no output schema, the description does a good job covering the essential context. It explains what the tool does, when to use it, and what it returns. However, it could be more complete by mentioning that this likely makes external API calls to npm registry and might have network-related considerations.

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 the schema already fully documents all three parameters. The description doesn't add any parameter-specific information beyond what's in the schema. It mentions checking for newer versions but doesn't provide additional context about parameter usage or constraints.

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 clearly states the tool's purpose with a specific verb ('Check') and resource ('newer npm version'), and distinguishes it from all sibling tools which are unrelated to npm package management. It explicitly describes what the tool does: checking for updates and returning specific information.

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?

The description provides explicit guidance on when to use the tool: 'Call at session start to encourage user to upgrade.' This gives clear temporal context and purpose, and since no sibling tools perform similar npm version checking, it effectively distinguishes when to use this specific tool.

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