Skip to main content
Glama

ScorpTech x402 Tools

Osv Scan

osv_scan
Read-onlyIdempotent

Known vulnerabilities for ONE package version from OSV.dev (GitHub Advisory DB, PyPA, Go, RustSec, OSS-Fuzz, distro feeds): advisory id + CVE aliases, severity (GHSA label or computed CVSS v3 base score), CVSS vectors, CWEs, fixed versions, a heuristic minimal safe upgrade, and links. npm, PyPI, Go, crates.io, Maven, Packagist, RubyGems, NuGet, Pub, Hex, distros. Use POST for a whole dependency list or lockfile. Returns JSON with: summary, packages. Price: $0.02 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/osv-scan

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "osv_scan"
  }
}

Input Schema

NameRequiredDescriptionDefault
purlNoAlternative to ecosystem+package: a package URL such as pkg:pypi/jinja2@2.4.1
detailsNoInclude full advisory fields (default true)
packageNoPackage name (Maven: group:artifact, Go: module path). Alias: name
versionNoInstalled version; omit to list every advisory for the package
ecosystemNonpm, PyPI, Go, crates.io, Maven, Packagist, RubyGems, NuGet, Pub, Hex, CRAN, Debian:12, ... (aliases like pip, cargo, composer, gem accepted)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, open-world, non-destructive semantics, so the description only needs to add context — and it does, disclosing cost ($0.02 USDC per successful call via x402 on Base or Solana) and an equivalent HTTPS endpoint. It stops short of describing failure modes or rate limiting, but the paid-access model is surfaced clearly.

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 purpose is front-loaded, but the opening sentence is overloaded with two long parenthetical catalogs of data sources and ecosystems, and the ecosystem list is repeated in the schema where it already lives. The pricing and endpoint lines earn their place; the enumerated advisory-field list is dense but justified since there is no output schema.

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?

With no output schema, the description correctly supplies the return shape ('summary, packages') and the advisory fields returned, plus cost and an alternate transport. Only error/pagination behavior and any rate limits are left unstated, which is minor for a read-only lookup.

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 the baseline is 3. The description adds useful framing that 'version' is optional (omit to list every advisory) and that purl is an alternative input mode, but most of the per-parameter detail (Maven group:artifact, aliases, ecosystem values) is already in the schema.

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 ('Known vulnerabilities for ONE package version from OSV.dev'), names the underlying data sources, and explicitly scopes the tool to a single package version. The uppercase 'ONE' plus the pointer to POST for whole dependency lists clearly separates it from the batch sibling.

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 routing rule: use this for one package version, use POST for a whole dependency list or lockfile. That is a concrete when-to-use / when-to-use-something-else statement rather than implied guidance.

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