Skip to main content
Glama
peeyushcodes

Windows Developer MCP Server

read_package_json

Parse a package.json file to extract project name, version, description, scripts, dependencies, and devDependencies for a quick project overview.

Instructions

Parse and summarise a package.json file.

Returns project name, version, description, scripts, dependencies, and devDependencies.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoPath to package.json. Default: "package.json" in cwd.package.json

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations, the description carries the burden of disclosing behavior. It states what the tool parses and returns, implying a non-destructive read operation, but does not explicitly mention that it does not modify the file, nor does it describe error behavior (e.g., missing file). The behavior is adequately conveyed for a simple read tool, but not richly detailed.

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 two sentences, front-loaded with the primary action and outcome. Every word earns its place, with no filler or repetition. It is concise and well-structured.

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?

Given the tool's simplicity (one optional parameter, output schema present), the description is nearly complete. It lists the returned fields, and the output schema would provide structure. It could briefly mention the default path behavior, but that is already in the schema, so no critical information is missing.

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 baseline is 3. The description does not add meaning beyond the schema; it only repeats that it parses package.json, while the schema already documents the path parameter and default. No additional semantics are provided.

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 'Parse and summarise a package.json file' with a specific verb and resource, and lists the exact fields returned. This distinguishes it from generic file readers like read_file and sibling tools for other config files like read_pyproject_toml.

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 its usage context (summarizing package.json) but provides no explicit guidance on when to use this tool versus alternatives like read_file or project_summary. No exclusions or alternative recommendations are mentioned.

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/peeyushcodes/windows-developer-mcp'

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