Skip to main content
Glama

validate_license_list

Validate a list of SPDX licenses for distribution compliance and app store compatibility, providing a clear go/no-go decision.

Instructions

QUICK answer to: "Can I ship this with these licenses?"

This tool analyzes a list of licenses without requiring a filesystem path, making it ideal for quick validation checks.

WHEN TO USE:

  • You have a list of licenses (from scan results)

  • Need to validate for specific distribution type (mobile, desktop, saas, embedded)

  • Want app store compatibility check (iOS/Android)

  • Fast compliance validation without deep analysis

  • Quick go/no-go decision for shipping

WHEN NOT TO USE:

  • Need to scan codebase first → use scan_directory

  • Need detailed policy evaluation → use validate_policy

  • Need complete legal documentation → use generate_legal_notices after validation

  • Don't have license list yet → use scan_directory first

WORKFLOW POSITION: Use AFTER scan_directory/check_package to validate licenses, BEFORE generate_legal_notices to confirm compliance.

COMMON WORKFLOW: scan_directory(identify_packages=True) → validate_license_list(distribution="mobile") [VALIDATION STEP] → generate_legal_notices(purls=[...]) [IF APPROVED]

RETURNS CLEAR DECISION:

  • safe_for_distribution: true/false

  • app_store_compatible: true/false (if check_app_store_compatibility=True)

  • recommendations: What to do next

  • violations: What's wrong (if any)

Args: licenses: List of SPDX license identifiers (e.g., ["MIT", "Apache-2.0"]) distribution: Target distribution type - "mobile", "desktop", "saas", "embedded", "general" check_app_store_compatibility: Check specific App Store (iOS/Android) compatibility

Returns: Dictionary with: - safe_for_distribution: bool - Overall safety assessment - copyleft_risk: str - "none", "weak", or "strong" - risk_level: str - "LOW", "MEDIUM", or "HIGH" - violations: List of identified issues - recommendations: List of actionable recommendations - app_store_compatible: bool - iOS/Android app store compatibility - license_details: Summary of each license

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
licensesYes
distributionNogeneral
check_app_store_compatibilityNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations are provided, so the description fully carries the behavioral disclosure burden. It explains that the tool is a quick validation without deep analysis, and it details the return fields (safe_for_distribution, app_store_compatible, etc.). While it doesn't mention authentication or rate limits, it is transparent about its read-only nature and what the output contains.

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?

The description is well-structured with clear sections (intro, WHEN TO USE, WHEN NOT TO USE, WORKFLOW, RETURNS, Args, Returns). It is front-loaded with the core question and every sentence adds value without being verbose.

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?

Given the tool's three parameters and output schema (described in Returns section), the description is complete. It covers the input parameters, return fields, workflow integration with siblings, and provides a common workflow example. No gaps are evident.

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

Parameters5/5

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

Schema description coverage is 0%, but the description compensates by explaining each parameter: licenses (list of SPDX identifiers with example), distribution (target with enumerated options), and check_app_store_compatibility (boolean with effect). It adds meaning beyond the bare schema by providing context and examples.

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 the tool's purpose as providing a quick answer to 'Can I ship this with these licenses?' and specifies it analyzes a list of licenses without requiring a filesystem path. It distinguishes itself from sibling tools by explicitly listing when to use and when not to use them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description includes explicit 'WHEN TO USE' and 'WHEN NOT TO USE' sections, naming alternative tools like scan_directory, validate_policy, and generate_legal_notices. It also provides the workflow position and a common workflow example, making it clear when to select this tool over others.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SemClone/mcp-semclone'

If you have feedback or need assistance with the MCP directory API, please join our Discord server