Skip to main content
Glama

Agent Data Tools: Company, compliance and checks

npm package info, package risk: npm, PyPI, Cargo, Go, Maven or NuGet metadata and dependency-risk signals, latest or pinned version

package
Read-only

Reports package existence, latest version and release, age, version count, npm weekly downloads, licenses, deprecation and known advisory severity. ok means no listed flags, not a safety guarantee. Supports npm, PyPI, Cargo, Go, Maven and NuGet. Optional exact version adds pinned-version metadata and uses deps.dev advisories; use /package-audit for OSV affected ranges and dated FIRST EPSS CVE estimates. Use before adding a dependency. Example: ecosystem=npm, name=lodash. Price $0.002/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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

Input Schema

NameRequiredDescriptionDefault
nameYesExact package name, e.g. lodash or @scope/name
versionNoOptional exact version to inspect; ranges and tags are not accepted
ecosystemYesOne of npm, pypi, cargo, go, maven, nuget

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing cost semantics ($0.002/call via x402 or card key, first 10 free, failed calls free) which explains why idempotentHint=false matters — repeats are re-billed — and by adding a result-interpretation caveat ('ok means no listed flags, not a safety guarantee'). It also discloses the underlying advisory source switch (deps.dev for pinned versions vs OSV via package-audit), which materially affects how results should be trusted.

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?

Front-loaded with the returned fields and ecosystems, and nearly every sentence carries distinct information (capability, caveat, alternative, example, pricing). It is somewhat dense and mixes commercial terms with functional description, but nothing is pure padding.

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?

With no output schema, the description enumerates the returned signals in enough detail for an agent to judge relevance, and it covers cost, ecosystems, pinned-version behavior, and the boundary with package_audit. Nothing an agent needs to call it correctly or interpret results 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?

Schema coverage is 100%, so baseline is 3; the description adds genuine meaning by explaining that supplying 'version' changes the advisory source to deps.dev and returns pinned-version metadata, rather than merely restating the schema's 'optional exact version'. The example (ecosystem=npm, name=lodash) anchors usage, though format details for the ecosystem value remain schema-only.

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?

States a specific verb and resource (reports package existence, latest version, release age, version count, downloads, licenses, deprecation, advisory severity) and enumerates the six supported ecosystems, so an agent knows exactly what comes back. It also distinguishes itself from the sibling '/package-audit' by naming what that tool covers instead (OSV affected ranges, dated EPSS estimates).

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

Usage Guidelines5/5

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

Gives an explicit when-to-use rule ('Use before adding a dependency'), an explicit alternative for a different question ('use /package-audit for OSV affected ranges and dated FIRST EPSS CVE estimates'), and guidance on when to supply the optional version. An agent can route between this and package_audit without inference.

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