Skip to main content
Glama

ScorpTech x402 Tools

Osv Scan

osv_scan_batch
Read-onlyIdempotent

Dependency vulnerability scan (SCA) via OSV.dev querybatch: send up to 500 packages, or paste a lockfile (package-lock.json, yarn.lock, composer.lock, requirements.txt, Pipfile.lock, poetry.lock, uv.lock, Cargo.lock, go.mod, go.sum, Gemfile.lock; auto-detected). Returns a severity summary plus, per vulnerable package, advisories with CVE aliases, CVSS, fixed versions and a heuristic safe upgrade. 256 KB body limit. Returns JSON with: source, summary, packages. Price: $0.02 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST 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_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
detailsNoFetch full advisory details (default true; up to 60 per call, cached)
lockfileNoAlternative: the full text of a lockfile/manifest
packagesNoArray of {ecosystem, name, version} or {purl} objects (max 500)
lockfileTypeNoOptional override: package-lock.json, yarn.lock, composer.lock, requirements.txt, Pipfile.lock, poetry.lock, uv.lock, Cargo.lock, go.mod, go.sum, Gemfile.lock
onlyVulnerableNoReturn only vulnerable packages (default false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent/openWorld annotations: 256 KB body limit, 60-detail caching cap, per-call price of $0.02 USDC via x402 on Base or Solana, and an alternate HTTPS endpoint. These are exactly the operational constraints (cost, payload ceiling) an agent needs before calling.

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 purpose and capacity, then return shape, then constraints and pricing. The lockfile-format list is long but each entry is functional; the sentence runs on with several clauses separated by periods, which is acceptable.

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 compensates by naming the return fields (source, summary, packages) and the per-advisory content (CVE aliases, CVSS, fixed versions, safe upgrade). Minor gap: no guidance on partial failures or invalid package entries within a batch.

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 still adds value by enumerating accepted lockfile formats, stating auto-detection, and restating the 500-package cap. It does not explain the details/onlyVulnerable defaults beyond what the schema already carries.

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?

States a specific verb and resource ('Dependency vulnerability scan (SCA) via OSV.dev querybatch') with concrete capacity (up to 500 packages) and two input modes. It distinguishes itself from osv_scan only implicitly through 'batch' and 'up to 500 packages'; it never names the single-package sibling, so a 4 rather than a 5.

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

Usage Guidelines4/5

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

The packages-vs-lockfile alternative is stated explicitly ('Alternative: the full text of a lockfile'), and auto-detection of the lockfile type is spelled out. Absent is any explicit statement of when to prefer the non-batch osv_scan or when a batch call will partially fail.

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