Skip to main content
Glama

Package health check: npm, PyPI, crates.io version, license, deprecation, downloads, vulnerabilities

dev_package

Use when an agent must decide whether to add or keep a dependency. Input: package, ecosystem (npm, PyPI, crates.io), optional version (default latest). Output: JSON flags (deprecated, yanked, outdated, vulnerable, no_license, no_release_2y), latest version, license, publish dates, maintainer count, downloads, repository, OSV advisories. Example: ?package=request&ecosystem=npm Price: $0.01 USDC (Base or Solana) via x402.

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": {
      "package": "<package>",
      "ecosystem": "<ecosystem>"
    },
    "name": "dev_package"
  }
}

Input Schema

NameRequiredDescriptionDefault
packageYesPackage name as in its registry (npm scopes allowed: @scope/name)
versionNoExact released version (default: latest); unknown version → 404, not charged
ecosystemYesRegistry (case-insensitive; pip/python, cargo/rust also accepted)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations supplied, the description carries the burden and does disclose real behavioral facts: paid access ($0.01 USDC on Base or Solana via x402) and that an unknown version returns 404 without being charged. It does not address rate limits, caching/freshness of registry data, or confirm the operation is a side-effect-free read.

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

Conciseness4/5

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

It is front-loaded with the decision trigger, then input, output, example, and price in quick order with no filler sentences. The telegraphic style ('Input:', 'Output:', 'Price:') is dense but scannable rather than padded.

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?

There is no output schema, so the description must describe returns, and it does by enumerating the concrete flags (deprecated, yanked, outdated, vulnerable, no_license, no_release_2y) and metadata fields. Combined with the payment disclosure, an agent has enough to decide and call correctly; only guidance on interpreting or weighting the flags is absent.

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 package, version, and ecosystem are already documented in the schema, including scope syntax and the 404 behavior. The description only restates the ecosystem list and version default plus one illustrative query string, adding little new semantics beyond the schema baseline.

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 pairs a specific resource (package health across npm/PyPI/crates.io) with an explicit decision it supports ('whether to add or keep a dependency'), and the title enumerates the exact checks. It does not name the overlapping siblings package_vulnerabilities / package_vulnerabilities_batch, so an agent must infer the difference between a full health check and a vulnerability-only lookup.

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 when an agent must decide whether to add or keep a dependency' is a concrete decision context rather than a vague 'use for packages'. There are no explicit exclusions, however, so an agent is not told when to prefer the narrower package_vulnerabilities tool for advisory-only questions.

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.

Resources