Skip to main content
Glama

Feegate AI Agent data marketplace catalog & platform metrics

cve-osv.check_package_risk

Read-onlyIdempotent

Ask "is this open source package vulnerable" — all known vulns, affected ranges and the version to upgrade to. | 包风险实时查询(决策型):输入包名 + 可选生态/版本,返回该包全部已知漏洞、影响版本区间与修复版本,并给出「升到哪个版本能全修」的建议。

[zh] 供应方资产「开源依赖漏洞实时查询(OSV 全生态)」按次计费 $0.12 USDC(或等值积分)。 入参:package、ecosystem、version。 [en] Vendor asset "开源依赖漏洞实时查询(OSV 全生态)". Paid per call: $0.12 USDC (or prepaid credits). Args: package, ecosystem, version. 付款/支付头在 MCP 请求头里带(X-Payment / X-Payment-Tx / Authorization: Bearer fg_…),不要放进参数。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "package": "<package>"
    },
    "name": "cve-osv.check_package_risk"
  }
}

Input Schema

NameRequiredDescriptionDefault
packageYes
versionNo
ecosystemNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior4/5

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

Beyond the annotations (readOnly, idempotent, openWorld, non-destructive), the description discloses the commercial model — $0.12 USDC per call or prepaid credits — and, importantly, that payment credentials belong in MCP headers (X-Payment / X-Payment-Tx / Bearer token) rather than in parameters. That is real behavioral context an agent would otherwise get wrong. It does not cover rate limits or failure modes, so not a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is well front-loaded, but the body duplicates itself: the Chinese and English blocks repeat the same vendor name, price, and argument list, and the price is stated twice. Marketing framing ('Vendor asset') and bilingual mirroring add length without adding information an agent can act on.

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 read-only, idempotent lookup with no output schema, the description does outline what comes back: all known vulnerabilities, affected version ranges, and a recommended fixing version. What is missing is the ecosystem vocabulary and any hint about response volume or ordering. Adequate to attempt a call, not sufficient to make a confident one.

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%, so the description carries the burden here, yet it only restates the argument names (package, ecosystem, version) already present as schema titles. It gives no format guidance such as valid ecosystem values (npm, PyPI, Maven), case sensitivity, or whether version accepts ranges. An agent must guess what 'ecosystem' expects.

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 opening line states a specific verb and resource: query an open source package for all known vulnerabilities, affected ranges, and the version to upgrade to. An agent can immediately tell what the tool returns. It stops short of distinguishing itself from the similarly named sibling cve-osv.risk_preview, which is the main gap.

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

Usage Guidelines3/5

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

Usage is implied by the phrasing 'ask is this package vulnerable' and the note that it is a decision-type query, which suggests a pre-upgrade check. However, there is no explicit when-to-use/when-not guidance and no mention of how it differs from cve-osv.risk_preview or other cve.* siblings. For a paid tool where a wrong pick costs money, that omission matters.

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.