Skip to main content
Glama
OSS License Auditor

OSS License Auditor

by vinkius-labs

license_policy

Read-only

Retrieve the corporate license policy to see which SPDX licenses are allowed, warned, or blocked before reviewing audit results or choosing alternative packages.

Instructions

[INSTRUCTIONS] Call this to understand the current license compliance rules. Returns all known SPDX licenses grouped by verdict. Use this as a reference when reviewing audit results or choosing alternative packages.

List the corporate license policy — shows which SPDX licenses are allowed, warned, or blocked [READ-ONLY]

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "license_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description reinforces that with a [READ-ONLY] marker. Beyond that it discloses the shape of the response (SPDX IDs bucketed into allowed/warned/blocked verdicts), which is genuine value since no output schema exists.

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 purpose is front-loaded, but the third sentence restates the first ("grouped by verdict" vs. "allowed, warned, or blocked"), and the bracketed "[INSTRUCTIONS]" and "[READ-ONLY]" tags are noise that looks like prompt scaffolding rather than documentation.

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?

For a zero-parameter, read-only reference tool with no output schema, the description covers purpose, usage context, and the return grouping. Minor gaps remain — whether the policy is static or configurable, and whether license exceptions or full SPDX text are included — but nothing essential to invoking it is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so the baseline is 4 and there is nothing for the description to compensate for. It correctly implies a parameterless full-policy dump rather than any filtered query.

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 — lists the corporate license policy and returns all known SPDX licenses grouped by verdict (allowed/warned/blocked). That is concrete enough to separate it from license_audit or license_check, which act on a project rather than presenting the policy itself, though 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?

"Use this as a reference when reviewing audit results or choosing alternative packages" gives a clear usage context tied to real workflows. It stops short of an explicit exclusion (e.g., "do not use this to check a specific package — use license_check"), so the when-not half is left to inference.

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