Skip to main content
Glama

npm Package Intelligence — Downloads, Risk & Health (AI)

npm_package_intelligence
Read-only

Complete health analysis for any npm package

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "packages": "<packages>"
    },
    "name": "npm_package_intelligence"
  }
}

Input Schema

NameRequiredDescriptionDefault
packagesYesnpm package names, one per line
apify_api_keyNoYour Apify API token (optional). When provided the actor runs live and returns real data. Get one free at https://apify.com/sign-up

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / apify_api_key
      Added value: +{
      +  "description": "Your Apify API token (optional). When provided the actor runs live and returns real data. Get one free at https://apify.com/sign-up",
      +  "type": "string"
      +}
  2. Changed3 schema fields changed
    • removedInput schema / properties / input
      Removed value: -{
      -  "description": "Input for npm Package Intelligence — Downloads, Risk & Health (AI). See https://apify.com/noniner/npm-package-intelligence.",
      -  "type": "object"
      -}
    • addedInput schema / properties / packages
      Added value: +{
      +  "description": "npm package names, one per line",
      +  "type": "string"
      +}
    • addedInput schema / required
      Added value: +[
      +  "packages"
      +]
  3. First observed

TDQS

C2.5/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=true, and idempotentHint=false, so the safety profile is covered structurally. The description adds nothing on top of that — not what 'health' comprises, whether results are live or mocked, or what the output looks like. The real behavioral detail (the optional Apify key switching between live and stub data) lives only in the schema, not the description.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single seven-word sentence with zero filler, which satisfies conciseness but not sufficiency — there is no front-loaded detail of value to trim because none is present. Brevity here reflects under-specification rather than disciplined editing.

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 takes only two parameters and has no output schema, so the description bears real weight in explaining what 'health analysis' returns and that a missing API key changes the data mode. Neither is covered, leaving a mutation-free but informationally opaque definition against a fairly simple schema.

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 both parameters — the newline-separated package list and the optional Apify token — are already documented in the schema itself. The description adds no additional meaning about input format or the consequence of omitting the key. The baseline of 3 applies when the schema carries parameter semantics.

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

Purpose3/5

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

The description names a specific resource ('any npm package') and a vague verb ('Complete health analysis'). 'Health analysis' is not decomposed into what it actually measures, so an agent cannot tell what data comes back. The npm scoping does at least separate it from the crates/nuget/pypi siblings, but only by name, not by stated behavior.

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 when-to-use, when-not-to-use, or alternative guidance appears anywhere in the description. Nothing tells an agent why it would pick this over the ecosystem siblings beyond the literal word 'npm'. Usage is only inferable from the tool name.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.