Skip to main content
Glama

Analyze JS/TS project

analyze_project

Reads package metadata, lockfiles, and config files to fingerprint the upgrade surface, identifying dependencies ready for safe upgrades.

Instructions

Read package metadata, lockfiles, and config files to fingerprint the upgrade surface.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rootPathNo
outputFormatNocompact
includeScriptsNo
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose a key behavioral trait: it only reads files and does not modify anything. However, 'fingerprint the upgrade surface' is vague and does not reveal what the tool actually does with the data, whether there are side effects, or what output format to expect. More detail would be needed for full transparency.

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 entire description is a single, well-structured sentence that immediately conveys the tool's core function. It is front-loaded with the verb 'Read' and includes the specific file types and purpose. There is no wasted words or redundant information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool lacks an output schema and has no annotations, so the description must provide more context about invocation and expected results. It provides the 'what' but not the 'how' or 'what to expect'. For instance, it does not mention the outputFormat or includeScripts parameters, nor does it describe the return value. This leaves the agent with significant gaps in understanding.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description does not explain any of the three parameters (rootPath, outputFormat, includeScripts). The agent receives no guidance on what these parameters mean or how to use them, making parameter handling purely guesswork. The description must compensate for the schema's lack of descriptions, but it does not.

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 a specific action ('Read package metadata, lockfiles, and config files') and a specific outcome ('fingerprint the upgrade surface'). It distinguishes itself from sibling tools like generate_upgrade_plan or find_breaking_changes by focusing on analysis/reading rather than modification or planning.

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

Usage Guidelines3/5

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

The description implies this is an initial analysis step to understand the upgrade surface, but it does not explicitly state when to use this tool versus alternatives, nor does it mention exclusions or complementary tools. The context is clear enough for a human but an agent would benefit from explicit guidance.

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/kdinisv/upgrade-pilot-mcp'

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