Skip to main content
Glama
OSS License Auditor

OSS License Auditor

by vinkius-labs

license_check

Read-only

Verifies a single npm package's license against corporate policy before you add it as a dependency. Returns the license, category, and an allowed, warning, or blocked verdict.

Instructions

[INSTRUCTIONS] Call this to quickly verify if a specific package is compliant with the corporate license policy. Provide the package name and optionally the version. Returns the license, category, and verdict (allowed/warning/blocked). Use this proactively before running npm install on a new package.

Check a single npm package license against corporate policy — use BEFORE adding a new dependency [READ-ONLY]

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

Input Schema

NameRequiredDescriptionDefault
nameYesnpm package name (e.g., "lodash", "@types/node", "express")
versionNoSpecific version to check (e.g., "4.17.21"). Defaults to latest.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover read-only/destructive, but the description adds real behavioral content beyond them: the response shape (license, category, verdict) and the verdict enum values allowed/warning/blocked. Minor deduction for redundantly restating [READ-ONLY], which the annotations already declare.

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

Conciseness3/5

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

The core content is front-loaded and useful, but the text is padded: the [INSTRUCTIONS] wrapper, the 'before npm install / before adding a new dependency' repetition, and the trailing [READ-ONLY] tag all duplicate each other or the annotations.

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 only two parameters, no output schema, and read-only annotations, the description supplies everything needed to invoke it correctly, including the return fields. It would be complete at 5 if it pointed to the sibling tools for post-install auditing or policy lookup.

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% and both parameters are documented there, including the 'Defaults to latest' behavior for version. The description only restates 'provide the package name and optionally the version,' adding no new meaning — baseline 3 applies.

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?

States a specific verb and resource: verify whether a single npm package is compliant with corporate license policy, and names the returned fields (license, category, verdict). The 'single package' scope implicitly separates it from license_audit/license_tree, but no sibling is named 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 timing guidance twice: 'Use this proactively before running npm install on a new package' and 'use BEFORE adding a new dependency.' It lacks explicit exclusions or a pointer to the alternatives (license_audit, license_policy) for the multi-package or policy-lookup cases.

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