Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-npm-audit

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

Input Schema

NameRequiredDescriptionDefault
nameNo
packageNo
versionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / allOf
      Added value: +[
      +  {
      +    "anyOf": [
      +      {
      +        "required": [
      +          "package"
      +        ]
      +      },
      +      {
      +        "required": [
      +          "name"
      +        ]
      +      }
      +    ]
      +  }
      +]
  2. Changed3 schema fields changed
    • removedInput schema / properties / name / description
      Removed value: -"Name to process"
    • removedInput schema / properties / package / description
      Removed value: -"Package to process"
    • removedInput schema / properties / version / description
      Removed value: -"Version to process"
  3. First observed

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose a real behavioral constraint not present in structured data — access requires a signed wallet and is limited to 5 free trial calls — which is useful. However, it says nothing about what the audit examines, whether it is read-only, what happens after the free calls are exhausted, or what the result contains.

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?

The definition is two short fragments with the purpose front-loaded, so it is easy to scan. The emoji-laden pricing line is the least informative part but is brief enough not to be wasteful.

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 tool with no annotations, no output schema, and three undocumented parameters with an ambiguous anyOf requirement, the description should do more. The pricing/auth note is a good start, but the package-vs-name ambiguity and the expected audit output are left entirely unresolved.

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?

Schema description coverage is 0% for three parameters, and the description supplies no parameter meaning at all. Most critically, the schema allows either 'package' or 'name' via anyOf, and the description never explains the difference between these two overlapping fields or what 'version' defaults to.

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 gives a specific verb+resource: an NPM package security audit. It is clear what the tool does, but it does nothing to distinguish itself from sibling audit tools such as x402-npm-package-info or x402-ai-audit, leaving the agent to guess which audit applies.

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?

There is no guidance on when to use this audit versus the many sibling audit tools, nor any prerequisites or exclusions. The only contextual statement is a pricing note about free trial calls, which does not help an agent choose between alternatives.

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.