Skip to main content
Glama

SkillShield · AI Agent Skill & MCP Supply-Chain Auditor

check_license_commercial_safety

Read-only

Classify an SPDX identifier or LICENSE snippet for commercial SaaS and client-handover obligations (detecting AGPL-3.0 network copyleft, SSPL, Sustainable Use, CC-BY-NC non-commercial weights/prompts, GPL-3.0, or missing-license defaults).

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

Input Schema

NameRequiredDescriptionDefault
licenseYesSPDX identifier (e.g. AGPL-3.0, MIT, CC-BY-NC-4.0) or raw LICENSE text excerpt

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare this read-only, closed-world and non-destructive, so the safety profile is covered. The description adds genuine substance by listing the specific hazards it detects (AGPL network copyleft, SSPL, Sustainable Use, CC-BY-NC weights/prompts, missing-license defaults), but it never says what a classification result looks like, and there is no output schema to fall back on.

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?

One front-loaded sentence with no filler; the purpose leads and the detection taxonomy follows as supporting detail. The nested parenthetical is dense and slightly hard to scan, but nothing is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter read-only classifier the input side is fully covered, but with no output schema the description should convey the shape of the verdict (e.g. risk tier, obligation list, detected license). It also omits any caveat about the advisory nature of compliance output, leaving the agent to guess how authoritative the classification is.

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% and the single parameter already documents that it accepts either an SPDX identifier or a raw LICENSE text excerpt, which the description only restates. No added semantics such as precedence when both are supplied, snippet length limits, or multi-license handling.

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?

Uses a specific verb ("Classify") with a clearly bounded input universe ("SPDX identifier or LICENSE snippet") and states the decision it supports (commercial SaaS and client-handover obligations). It is unmistakably distinct from the sibling tools, which are audit/policy-generation operations rather than license classification.

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 parenthetical framing ("for commercial SaaS and client-handover obligations") gives a clear situational context for when to reach for this tool. It stops short of explicit exclusions or a named alternative, so the agent must infer that non-commercial or pure-attribution questions fall outside its scope.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.