Skip to main content
Glama

DropEngine x402 Agent Services

check_package

Paid Package Safety Gate ($0.005 USDC on Base). Call before a coding agent installs, imports, or adds an unfamiliar npm dependency. Checks resolved package/version, OSV vulnerabilities and malware advisories, popular-name typosquatting, and install lifecycle scripts using static analysis only. Package code is never executed. Checks up to 10 direct dependencies when their versions can be resolved; it does not traverse transitive dependencies or assess maintainer history. Unknown coverage returns caution.

Agent entry points: risky external action → use Agent Action Gate when a combined action-specific safety assessment is needed; unclear capability/provider → use free /api/discover; constrained comparison between callable alternatives → use paid route_tool; known single capability → call the direct tool; multi-step objective → read the matching workflow recipe and call only relevant steps. Workflows are stateless recipes, not executors; calls are paid separately and are not bundle charged. Agent Action Gate does not approve payment, sign or broadcast transactions, evaluate seller reputation, replace transaction simulation, replace route_tool, or replace human approval.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
packageYes
versionNo
ecosystemYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
metaNo
nextNo
errorNo
cachedYes
resultNo
statusNo
packageYes
paymentNo
sourcesYes
successYes
agent_uxNo
degradedYes
warningsYes
ecosystemYes
checked_atYes
deprecatedYes
reputationYes
risk_levelYes
risk_scoreYes
similar_toYes
new_packageYes
recommendationYes
typosquat_riskYes
dependency_riskYes
known_maliciousYes
maintainer_riskYes
risk_confidenceYes
dependency_countYes
maintainer_countYes
package_age_daysYes
recommended_nextNo
resolved_versionYes
similarity_scoreYes
requested_versionYes
suspicious_scriptsYes
dependency_findingsYes
install_script_riskYes
malicious_confidenceYes
dependencies_analyzedYes
known_vulnerabilitiesYes
data_freshness_secondsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedOutput schema / properties / agent_ux
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "error": {
      +      "anyOf": [
      +        {},
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "meta": {
      +      "additionalProperties": {},
      +      "propertyNames": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    "next": {
      +      "items": {},
      +      "type": "array"
      +    },
      +    "payment": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "execution_status": {
      +          "enum": [
      +            "not_started",
      +            "succeeded",
      +            "failed",
      +            "unknown"
      +          ],
      +          "type": "string"
      +        },
      +        "status": {
      +          "enum": [
      +            "not_required",
      +            "required",
      +            "settled",
      +            "failed",
      +            "unknown"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "status",
      +        "execution_status"
      +      ],
      +      "type": "object"
      +    },
      +    "result": {},
      +    "status": {
      +      "enum": [
      +        "succeeded",
      +        "failed",
      +        "partial",
      +        "outcome_unknown"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "status",
      +    "result",
      +    "error",
      +    "meta",
      +    "payment",
      +    "next"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / error
      Added value: +{
      +  "anyOf": [
      +    {},
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / meta
      Added value: +{
      +  "additionalProperties": {},
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / next
      Added value: +{
      +  "items": {},
      +  "type": "array"
      +}
    • addedOutput schema / properties / payment
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "execution_status": {
      +      "enum": [
      +        "not_started",
      +        "succeeded",
      +        "failed",
      +        "unknown"
      +      ],
      +      "type": "string"
      +    },
      +    "status": {
      +      "enum": [
      +        "not_required",
      +        "required",
      +        "settled",
      +        "failed",
      +        "unknown"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "status",
      +    "execution_status"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / result
      Added value: +{}
    • addedOutput schema / properties / status
      Added value: +{
      +  "enum": [
      +    "succeeded",
      +    "failed",
      +    "partial",
      +    "outcome_unknown"
      +  ],
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • addedOutput schema / properties / recommended_next
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "price": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "reason": {
      +      "type": "string"
      +    },
      +    "tool": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "tool",
      +    "reason",
      +    "price"
      +  ],
      +  "type": "object"
      +}
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": false,
      +  "properties": {
      +    "cached": {
      +      "type": "boolean"
      +    },
      +    "checked_at": {
      +      "format": "date-time",
      +      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      +      "type": "string"
      +    },
      +    "data_freshness_seconds": {
      +      "minimum": 0,
      +      "type": "number"
      +    },
      +    "degraded": {
      +      "type": "boolean"
      +    },
      +    "dependencies_analyzed": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "dependency_count": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "dependency_findings": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "known_malicious": {
      +            "type": [
      +              "boolean",
      +              "null"
      +            ]
      +          },
      +          "package": {
      +            "type": "string"
      +          },
      +          "risk": {
      +            "enum": [
      +              "low",
      +              "medium",
      +              "high",
      +              "critical",
      +              "unknown"
      +            ],
      +            "type": "string"
      +          },
      +          "version": {
      +            "type": "string"
      +          },
      +          "vulnerabilities": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "package",
      +          "version",
      +          "known_malicious",
      +          "vulnerabilities",
      +          "risk"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "dependency_risk": {
      +      "enum": [
      +        "low",
      +        "medium",
      +        "high",
      +        "unknown"
      +      ],
      +      "type": "string"
      +    },
      +    "deprecated": {
      +      "type": "boolean"
      +    },
      +    "ecosystem": {
      +      "const": "npm",
      +      "type": "string"
      +    },
      +    "install_script_risk": {
      +      "enum": [
      +        "low",
      +        "medium",
      +        "high",
      +        "critical",
      +        "unknown"
      +      ],
      +      "type": "string"
      +    },
      +    "known_malicious": {
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "known_vulnerabilities": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "affected": {
      +            "const": true,
      +            "type": "boolean"
      +          },
      +          "fixed_version": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "id": {
      +            "type": "string"
      +          },
      +          "severity": {
      +            "enum": [
      +              "low",
      +              "medium",
      +              "high",
      +              "critical",
      +              "unknown"
      +            ],
      +            "type": "string"
      +          },
      +          "summary": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "summary",
      +          "severity",
      +          "affected",
      +          "fixed_version"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "maintainer_count": {
      +      "anyOf": [
      +        {
      +          "maximum": 9007199254740991,
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "maintainer_risk": {
      +      "enum": [
      +        "low",
      +        "medium",
      +        "high",
      +        "unknown"
      +      ],
      +      "type": "string"
      +    },
      +    "malicious_confidence": {
      +      "anyOf": [
      +        {
      +          "enum": [
      +            "low",
      +            "medium",
      +            "high"
      +          ],
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "new_package": {
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "package": {
      +      "type": "string"
      +    },
      +    "package_age_days": {
      +      "anyOf": [
      +        {
      +          "maximum": 9007199254740991,
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "recommendation": {
      +      "enum": [
      +        "allow",
      +        "caution",
      +        "block"
      +      ],
      +      "type": "string"
      +    },
      +    "reputation": {
      +      "enum": [
      +        "good",
      +        "neutral",
      +        "suspicious",
      +        "malicious",
      +        "unknown"
      +      ],
      +      "type": "string"
      +    },
      +    "requested_version": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "resolved_version": {
      +      "type": "string"
      +    },
      +    "risk_confidence": {
      +      "enum": [
      +        "low",
      +        "medium",
      +        "high"
      +      ],
      +      "type": "string"
      +    },
      +    "risk_level": {
      +      "enum": [
      +        "low",
      +        "medium",
      +        "high",
      +        "critical"
      +      ],
      +      "type": "string"
      +    },
      +    "risk_score": {
      +      "maximum": 100,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "similar_to": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "similarity_score": {
      +      "anyOf": [
      +        {
      +          "maximum": 1,
      +          "minimum": 0,
      +          "type": "number"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "sources": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "success": {
      +      "const": true,
      +      "type": "boolean"
      +    },
      +    "suspicious_scripts": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "name": {
      +            "type": "string"
      +          },
      +          "signals": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "name",
      +          "signals"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "typosquat_risk": {
      +      "enum": [
      +        "low",
      +        "medium",
      +        "high",
      +        "critical",
      +        "unknown"
      +      ],
      +      "type": "string"
      +    },
      +    "warnings": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "success",
      +    "ecosystem",
      +    "package",
      +    "requested_version",
      +    "resolved_version",
      +    "risk_score",
      +    "risk_level",
      +    "risk_confidence",
      +    "recommendation",
      +    "known_malicious",
      +    "malicious_confidence",
      +    "known_vulnerabilities",
      +    "typosquat_risk",
      +    "similar_to",
      +    "similarity_score",
      +    "install_script_risk",
      +    "suspicious_scripts",
      +    "dependency_risk",
      +    "dependency_count",
      +    "dependencies_analyzed",
      +    "dependency_findings",
      +    "maintainer_risk",
      +    "maintainer_count",
      +    "reputation",
      +    "package_age_days",
      +    "new_package",
      +    "deprecated",
      +    "warnings",
      +    "sources",
      +    "degraded",
      +    "cached",
      +    "checked_at",
      +    "data_freshness_seconds"
      +  ],
      +  "type": "object"
      +}
  4. First observed

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so richly: cost ($0.005 USDC on Base), static-analysis-only execution guarantee, a hard limit of 10 direct dependencies, exclusion of transitive traversal and maintainer history, and the fallback behavior ("Unknown coverage returns caution").

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 core description is front-loaded and efficient, but roughly half the text is generic gateway boilerplate about entry points and what Agent Action Gate does not do, which is repeated across sibling tools rather than earning its place here.

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?

An output schema exists, so return values need no explanation. Purpose, cost, and scope limits are complete; the only shortfall is the thin coverage of parameter semantics for a 3-param tool.

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 coverage is 0%, so the description must compensate. It implies the package and version parameters ("resolved package/version") and constrains ecosystem to npm ("npm dependency"), but adds no format guidance for version ranges or what happens when version is omitted.

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+resource (checks an npm package) and enumerates exactly what it evaluates: OSV vulnerabilities, malware advisories, typosquatting, and lifecycle scripts. It is clearly distinguishable from siblings like check_url or route_tool.

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?

Explicitly names the trigger ("Call before a coding agent installs, imports, or adds an unfamiliar npm dependency") and the entry-point routing section directs the agent to Agent Action Gate, /api/discover, route_tool, or direct tools depending on the situation. When-to-use and alternatives are both covered.

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