Skip to main content
Glama

check_outdated_packages

Identify outdated dependencies in your project to maintain code security and compatibility. Scans package files to detect versions requiring updates.

Instructions

Check for outdated packages

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectPathNoPath to project root

Implementation Reference

  • Executes the tool logic by analyzing project dependencies specifically for outdated packages using DependencyAnalyzer and returns the outdated list with count.
    case 'check_outdated_packages': { const report = await analyzer.analyzeDependencies(projectPath, { checkUnused: false, checkOutdated: true, checkVulnerabilities: false, }); return { outdated: report.outdated, total: report.outdated.length, }; }
  • Defines the tool's name, description, and input schema (projectPath parameter).
    { name: 'check_outdated_packages', description: 'Check for outdated packages', inputSchema: { type: 'object', properties: { projectPath: { type: 'string', description: 'Path to project root', }, }, }, },
  • src/server.ts:18-25 (registration)
    Includes dependencyAnalysisTools (containing check_outdated_packages) in the complete list of tools registered with the MCP server.
    const allTools = [ ...codeAnalysisTools, ...codeQualityTools, ...dependencyAnalysisTools, ...lintingTools, ...webScrapingTools, ...apiDiscoveryTools, ];
  • src/server.ts:66-67 (registration)
    Dispatches tool calls matching dependencyAnalysisTools (including check_outdated_packages) to the specific handler function.
    } else if (dependencyAnalysisTools.some((t) => t.name === name)) { result = await handleDependencyAnalysisTool(name, args || {});

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/code-alchemist01/development-tools-mcp-Server'

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