Skip to main content
Glama

China Workday Calendar

Package vulnerability advisories

package_advisories
Read-only

Is this package version safe to install? Known advisories (CVE, GHSA, PYSEC, GO, RUSTSEC) for one exact npm, PyPI, Go, crates.io, Maven package version from OSV.dev: CVSS, affected ranges, fixed versions and links. Free for 20 calls per day (shared with cn_workday_check), then pay-per-call over x402.

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": {
      "ecosystem": "<ecosystem>",
      "name": "<name>",
      "version": "<version>"
    },
    "name": "package_advisories"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesPackage name exactly as published; matching is case-sensitive for npm (lodash, not Lodash; legacy names such as JSONStream keep their case). Maven uses groupId:artifactId, Go the module path. PyPI names are normalised.
versionYesExact version, e.g. 4.17.20
ecosystemYesPackage ecosystem (case-insensitive on input)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

With readOnlyHint=true and openWorldHint=true already declared, the baseline bar is lower. The description still earns credit for non-obvious behavior: the data source is OSV.dev, results carry CVSS/affected ranges/fixed versions/links, and there is a hard rate limit of 20 calls per day shared with cn_workday_check followed by per-call charges over x402 — the kind of cost/limit context annotations cannot express. It does not say whether advisories are batched, cached, or what an empty result looks like.

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?

Two sentences, front-loaded with the safety question, then the data source and return fields, then the pricing constraint — a logical ordering with little waste. The advisory-ID and ecosystem enumerations are dense but genuinely informative rather than padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-required-parameter read tool with no output schema, the description covers what it does, where the data comes from, what the response contains, the exact-version constraint, and the cost/rate-limit ceiling that could block a call. Nothing needed to invoke or budget for the tool is missing.

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 schema already documents name casing rules, the groupId:artifactId and module-path forms, and the exact-version requirement. The description reiterates the ecosystem list and 'one exact version' constraint but adds no format or syntax detail beyond that. Baseline 3 is correct when the schema carries the parameter burden.

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?

Opens with the agent-facing question it answers ('Is this package version safe to install?') and then names the concrete resource: advisories from OSV.dev for one exact package version across five named ecosystems, including the fields returned (CVSS, affected ranges, fixed versions, links). No agent could confuse this with cn_workday_check, and the verb/resource pair is unambiguous.

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 phrase 'one exact ... package version' implicitly scopes usage to single-version lookups rather than range or dependency-tree scans, and the quota sentence ('free for 20 calls per day (shared with cn_workday_check), then pay-per-call over x402') tells the agent the cost model and that the sibling consumes the same budget. It stops short of explicit when-not guidance or saying what to do for non-exact versions.

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.