Skip to main content
Glama

vet_package

Vet an exact package version before installing: check advisories with fix versions, install hooks, typosquats, maintainers, provenance and license, each with evidence. Read-only; returns a verdict and exit code.

Instructions

Vet one package at an exact version before installing it. Reports advisories with fixed versions, install hooks, typosquats, freshness, maintainers, provenance and license, each with an evidence URL. Read-only: nothing is downloaded, extracted or executed. Returns a verdict plus exit code; an incomplete check reports 3, never clean.

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>"
    },
    "name": "vet_package"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesPackage name as the registry spells it, for example 'left-pad', '@scope/pkg', or 'group:artifact' for Maven.
versionNoExact version or dist-tag. Omit to audit the latest published release. Ranges and carets are refused rather than resolved.
ecosystemYesRegistry to query. Required; there is no default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.1.1
    • addedInput schema / properties / ecosystem / description
      Added value: +"Registry to query. Required; there is no default."
    • addedInput schema / properties / name / description
      Added value: +"Package name as the registry spells it, for example 'left-pad', '@scope/pkg', or 'group:artifact' for Maven."
    • addedInput schema / properties / version / description
      Added value: +"Exact version or dist-tag. Omit to audit the latest published release. Ranges and carets are refused rather than resolved."
  2. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so well: it explicitly declares read-only behavior ("nothing is downloaded, extracted or executed") and explains the return contract (verdict plus exit code, with 3 signalling an incomplete check). The warning that an incomplete check is "never clean" is a meaningful operational disclosure an agent cannot get anywhere else.

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

Conciseness5/5

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

Three sentences, each load-bearing and ordered by importance: purpose first, then what gets reported, then safety and return semantics. The advisory enumeration is long but compact and directly informs the agent what evidence to expect.

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?

No annotations and no output schema, so the description must cover both — and it does cover safety, reported finding categories, and exit-code semantics. The one residual gap is that "a verdict" is never defined in shape or possible values, leaving the agent to interpret it.

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 the schema already documents all three parameters, including the exact-version constraint and the ecosystem enum. The description reinforces "exact version" but adds no syntax, format, or edge-case detail beyond what the schema states; baseline 3 applies.

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?

States a specific verb and resource ("Vet one package") plus the scope constraint ("at an exact version") and the timing ("before installing it"). The singular-package scope is enough to separate it from vet_lockfile_change without needing to name it explicitly.

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?

Gives clear context for when to call it: pre-install vetting of a single pinned package version. It does not name conditions for preferring a sibling or when not to use it, so the agent must infer the boundary with vet_command and vet_lockfile_change on its own.

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