Skip to main content
Glama

security_fetch_package_risk_brief

Read-onlyIdempotent

Assess a package's security posture with a single SHIP/CAUTION/BLOCK verdict. Combines CVEs, licence risk, maintainer health, and transitive dependencies in one call for pre-inclusion package review.

Instructions

Single SHIP/CAUTION/BLOCK verdict for any package. Combines CVEs, licence, maintainer health, and transitive count in one call. Uses OSV.dev, deps.dev, PyPI, and npm registry — data refreshed on each call. Returns verdict (SHIP/CAUTION/BLOCK), critical_cve_count, high_cve_count, licence_risk, maintainer_health, transitive_count, resolved_version, upstream_status, and reasoning. Rate limit: 30/minute. No auth required. For security engineers performing pre-inclusion package review. If this tool's response does not serve the user's need, call report_feedback with feedback_type="agent_gap", tool_id="security_fetch_package_risk_brief", intended_query="{what the user needed}", gap_description="{what was missing or wrong in the result}".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
versionNoPackage version e.g. 2.28.0. Required.
ecosystemYesPackage ecosystem: npm, pypi, cargo, go, maven. Required.
package_nameYesPackage name e.g. requests. Required.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv2.1.16
    • addedInput schema / properties / ecosystem / description
      Added value: +"Package ecosystem: npm, pypi, cargo, go, maven. Required."
    • addedInput schema / properties / package_name / description
      Added value: +"Package name e.g. requests. Required."
    • addedInput schema / properties / version / description
      Added value: +"Package version e.g. 2.28.0. Required."
  2. Addedv2.1.12

TDQS

A4.3/5.0
Behavior5/5

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

Beyond annotations (readOnly, idempotent, openWorld), the description adds that data is refreshed on each call, states a rate limit of 30/minute, notes no authentication required, and lists the exact return fields. No contradictions with annotations.

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?

The description is compact at about four sentences, front-loaded with the main purpose. It covers key details without redundancy.

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?

Given the presence of an output schema, the description lists all key return fields and data sources. It provides sufficient context for an agent to understand tool behavior and output, missing only a note on how to interpret the verdict.

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 coverage is 100%, so parameters are fully described. The description adds minimal extra meaning; however, it incorrectly states the version parameter as 'Required.' (schema marks it optional), causing a slight inconsistency.

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?

The description clearly states it returns a single SHIP/CAUTION/BLOCK verdict for any package, combining CVEs, license, maintainer health, and transitive count. It specifies the data sources (OSV.dev, deps.dev, PyPI, npm registry) and distinguishes itself from sibling security tools by offering a consolidated risk brief rather than individual vulnerability or license checks.

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 description explicitly targets 'security engineers performing pre-inclusion package review,' providing clear context. It does not explicitly list when to avoid using the tool or suggest alternatives, but the niche is well-defined.

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

Deploy Server

Other Tools