Skip to main content
Glama
B2B, DeFi & Security Intelligence MCP Server

B2B, DeFi & Security Intelligence MCP Server

osv_vulns

Read-onlyIdempotent

Query Google OSV.dev for open-source package vulnerabilities across npm, PyPI, Go, Cargo, and Maven, returning advisories with CVE aliases and CVSS scores.

Instructions

OSV.dev Open-Source Package Vulnerabilities API — Real-time supply-chain vulnerability advisories from Google OSV.dev across npm, PyPI, Go, Cargo, and Maven packages with CVE aliases and CVSS scores. (x402 price: $0.008 USDC on Base)

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_vulns"
  }
}

Input Schema

NameRequiredDescriptionDefault
versionNoOptional exact package version
maxItemsNoMax vulnerabilities (1-50)20
ecosystemNoEcosystem (npm, PyPI, Go, crates.io, Maven)npm
packageNameNoPackage name (e.g. lodash, requests, next)lodash

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.6.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and openWorld, so the safety profile is covered. The description adds genuinely new context beyond that: the upstream source is a live Google OSV.dev feed and each call costs $0.008 USDC via x402 on Base, which affects whether an agent should batch or call sparingly.

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?

One dense sentence plus a parenthetical price note, with the source and scope stated up front. The ecosystem list partially duplicates the schema, but everything else earns its place.

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 spends words on what is returned (advisories with CVE aliases and CVSS scores) and on per-call cost. For a simple read-only lookup with fully documented parameters, that covers what an agent needs, though empty-result and pagination behavior are unstated.

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 all four parameters (packageName, ecosystem, version, maxItems) are already documented and the baseline is 3. The description adds little param-level meaning, and it lists 'Cargo' where the schema enum text says 'crates.io', a minor inconsistency rather than clarification.

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 names a specific resource (open-source package vulnerability advisories), the data source (Google OSV.dev), and the covered ecosystems, plus what each record carries (CVE aliases, CVSS scores). It does not explicitly contrast itself with nearby siblings such as cisa_kev or npm_packages, so it stops short of 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 Guidelines2/5

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

There is no explicit when-to-use or when-not guidance and no named alternative, even though cisa_kev (known exploited vulns) and npm_packages (package metadata) are plausible substitutes. The implied use case — look up vulns for a package in an ecosystem — must be inferred entirely from the purpose statement.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.