Skip to main content
Glama

x402-npm-audit

x402-npm-audit: NPM package security audit. 🆓 5 free trial calls per signed wallet

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoName to process
packageNoPackage to process
versionNoVersion to process

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description must carry the full behavioral burden, but it only provides a one-sentence purpose and a free-trial note. It fails to disclose what the audit returns, whether it is read-only, how the signed-wallet requirement works, or any side effects.

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?

The description is short and purpose is front-loaded, earning credit for brevity. However, the leading 'x402-npm-audit:' repeats the tool name, and the two fragments provide minimal structural information.

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?

For a tool with wallet/signing requirements, three ambiguous optional parameters, and no output schema, this description is incomplete. An agent cannot determine required inputs, expected output, or how the free trial and wallet signing affect invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although schema coverage is 100%, each parameter description is a generic 'X to process', adding no real meaning. The tool description doesn't clarify the difference between 'name', 'package', and 'version', leaving an agent unsure which parameter receives the package name.

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 states a clear purpose: NPM package security audit. This distinguishes it from pip-audit and npm-package-info. However, it is a noun phrase and doesn't specify whether it scans the package itself or its dependencies.

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 guidance is provided on when to choose this tool over related siblings like x402-npm-package-info, x402-pip-audit, or x402-ai-audit. The free-trial note is an access constraint, not a usage selector.

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