Skip to main content
Glama
zcag

npm-search-mcp

by zcag

Server Quality Checklist

67%
Profile completionA complete profile improves this server's visibility in search results.
  • Latest release: v1.0.0

  • Disambiguation5/5

    Each tool serves a clear, distinct purpose: searching for packages, fetching details of a specific package, and comparing alternatives. No overlap in functionality.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern: search_packages, get_package, compare_packages. The pattern is uniform and predictable.

    Tool Count4/5

    With only 3 tools, the server is well-scoped for its purpose. Each tool is essential and non-redundant, though the count is on the lower end of the ideal range.

    Completeness4/5

    The tool set covers the core workflow of discovering and evaluating npm packages. Minor gaps include lack of package version history or no ability to get all versions, but the primary workflow is complete.

  • Average 3.9/5 across 3 of 3 tools scored.

    See the Tool Scores section below for per-tool breakdowns.

    • No community issues in the last 6 months
    • 0 commits in the last 12 weeks
    • No stable releases found
    • No critical vulnerability alerts
    • No high-severity vulnerability alerts
    • No code scanning findings
    • CI is failing
  • This repository is licensed under MIT License.

  • This repository includes a README.md file.

  • No tool usage detected in the last 30 days. Usage tracking helps demonstrate server value.

    Tip: use the "Try in Browser" feature on the server page to seed initial usage.

  • Add a glama.json file to provide metadata about your server.

  • If you are the author, simply .

    If the server belongs to an organization, first add glama.json to the root of your repository:

    {
      "$schema": "https://glama.ai/mcp/schemas/server.json",
      "maintainers": [
        "your-github-username"
      ]
    }

    Then . Browse examples.

  • Add related servers to improve discoverability.

How to sync the server with GitHub?

Servers are automatically synced at least once per day, but you can also sync manually at any time to instantly update the server profile.

To manually sync the server, click the "Sync Server" button in the MCP server admin interface.

How is the quality score calculated?

The overall quality score combines two components: Tool Definition Quality (70%) and Server Coherence (30%).

Tool Definition Quality measures how well each tool describes itself to AI agents. Every tool is scored 1–5 across six dimensions: Purpose Clarity (25%), Usage Guidelines (20%), Behavioral Transparency (20%), Parameter Semantics (15%), Conciseness & Structure (10%), and Contextual Completeness (10%). The server-level definition quality score is calculated as 60% mean TDQS + 40% minimum TDQS, so a single poorly described tool pulls the score down.

Server Coherence evaluates how well the tools work together as a set, scoring four dimensions equally: Disambiguation (can agents tell tools apart?), Naming Consistency, Tool Count Appropriateness, and Completeness (are there gaps in the tool surface?).

Tiers are derived from the overall score: A (≥3.5), B (≥3.0), C (≥2.0), D (≥1.0), F (<1.0). B and above is considered passing.

Tool Scores

  • Behavior3/5

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

    No annotations are present, so the description carries the full burden. It is transparent about the kind of data returned (latest version, dependencies, download stats, size, repository links), implying a read-only operation. However, it does not disclose behavior on errors, network failures, or any rate limits—common gaps for a 'get' tool.

    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?

    A single sentence that is front-loaded with the verb and resource, followed by a concise list of details. Every word earns its place; no redundancy or fluff.

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

    Completeness3/5

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

    For a simple tool with one parameter and no output schema, the description covers the main output categories well. However, it does not provide any context about how this tool relates to search_packages or compare_packages, leaving a gap in tool selection guidance that would make it fully complete.

    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?

    The input schema fully documents the single 'name' parameter with examples ('express', '@types/node', 'zod'). The description adds no new semantic detail beyond calling it a 'specific npm package', so baseline 3 is appropriate.

    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 uses the verb 'Get' with a specific resource 'detailed information about a specific npm package' and enumerates content areas (version, dependencies, download stats, size, repository links). This clearly distinguishes it from sibling tools like search_packages and compare_packages.

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

    Usage Guidelines2/5

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

    No explicit when-to-use guidance is provided. The description implies you already know the package name ('specific npm package') but does not state that search_packages should be used for discovery or compare_packages for comparisons. There are no exclusions or alternatives mentioned.

    Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

  • 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. It discloses that this is a read-only search operation and enumerates the return fields, which is genuinely useful. However, it omits details like result ordering (by score? popularity?), pagination behavior beyond the limit param, or rate implications of querying the registry — modest but not rich behavioral disclosure.

    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?

    Two sentences, both earning their place: the first states action + return format, the second gives usage guidance. Front-loaded with the core purpose, zero filler or redundant restatement of the tool name.

    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 simple read-only search with fully-documented params, this is nearly complete. The explicit enumeration of return fields (name, description, version, score, links) compensates for the missing output schema. The only gaps: no mention of result ordering, and the limit cap (50) is only in the schema — but the description is adequate for the tool's low complexity.

    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 coverage is 100% — both query and limit are documented with descriptions and constraints in the schema itself. The description's mention of 'matching a query' adds nothing beyond the schema's 'Search query (e.g. 'markdown parser'...)'. Baseline 3 is correct since the schema does the lifting and the description doesn't need to compensate.

    Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

    Purpose4/5

    Does the description clearly state what the tool does and how it differs from similar tools?

    The description clearly states the verb ('Search'), resource ('npm registry'), and return payload (name, description, version, score, links). It's unambiguous what search_packages does. However, it doesn't explicitly differentiate from siblings (get_package, compare_packages) — the distinction is only implied by the tool name itself.

    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?

    'Use this to find packages for a specific task or compare options' gives explicit context for when to invoke this tool. It hints at the discovery-before-comparison workflow but doesn't state when NOT to use it (e.g., when you already know the exact package name and should use get_package instead).

    Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

  • Behavior4/5

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

    With no annotations provided, the description carries the burden. It discloses the tool's output areas (downloads, size, dependencies, quality scores) and implies a read-only comparison, but does not discuss potential limitations, rate limits, or error conditions. Sufficient for most purposes but not exhaustive.

    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?

    Two short sentences, front-loaded with the verb 'Compare,' and every word adds value. Excellent structure with no fluff.

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

    Completeness5/5

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

    For a tool with a single parameter and no output schema expected, the description sufficiently explains purpose, inputs, and the nature of the comparison, making it complete for an agent to decide invocation. No critical information is missing.

    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?

    The input schema fully describes the 'names' parameter with clear constraints (2-10 package names), and schema coverage is 100%. The description adds context about the comparison context, complementing the schema without redundancy, slightly enhancing the baseline.

    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 uses a specific verb ('Compare') and resource ('npm packages'), clearly stating it shows downloads, size, dependencies, and quality scores, which differentiates it from sibling tools like search_packages and get_package.

    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?

    While the description implies use for evaluating alternatives ('to help choose between alternatives'), it does not explicitly state when to use this tool over search_packages or get_package, nor any exclusions. The usage context is only implied.

    Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

GitHub Badge

Glama performs regular codebase and documentation scans to:

  • Confirm that the MCP server is working as expected.
  • Confirm that there are no obvious security issues.
  • Evaluate tool definition quality.

Our badge communicates server capabilities, safety, and installation instructions.

Card Badge

npm-search-mcp MCP server

Copy to your README.md:

Score Badge

npm-search-mcp MCP server

Copy to your README.md:

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/zcag/npm-search-mcp'

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