Skip to main content
Glama

license check

license_check
Read-only

Open-source license compliance for your dependencies: classifies each SPDX license (permissive, weak or strong copyleft, network copyleft, source-available, non-commercial), flags conflicts for your use (SaaS, distribution, internal) and lists attribution duties. Costs $0.002 USDC per call (x402).

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

Input Schema

NameRequiredDescriptionDefault
useNosaas (default), distribute, internal
licensesYes
project_licenseNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

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 openWorldHint=true, so the safety profile is covered. The description adds genuinely new behavioral context: the per-call price ($0.002 USDC via x402) and the shape of the result (license classification, conflict flags, attribution duties). It stops short of noting rate limits or what happens with unknown/empty licenses.

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 dense, front-loaded sentence covering purpose, scope, output, and cost with no filler. It is appropriately brief, though the cost clause is tacked on rather than integrated into the flow.

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 no output schema, the description correctly carries the burden of describing returns (classification, conflict flags, attribution list) and discloses the paid-call requirement. The remaining shortfall is that two of three input parameters, notably `project_license`, are left unexplained.

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 only 33%: `use` has an inline description while `licenses` and `project_license` are undocumented. The description partially compensates by implying `licenses` is the dependency set and restating the `use` modes, but it never explains `project_license` or the expected format of `licenses`, leaving a real gap.

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 opens with a precise verb+resource ('Open-source license compliance for your dependencies') and enumerates the concrete operations: classify each SPDX license, flag conflicts for a given use, list attribution duties. No sibling in the list covers license compliance, so an agent can distinguish it cleanly.

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

Usage Guidelines3/5

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

The phrase 'flags conflicts for your use (SaaS, distribution, internal)' implies the usage context and mirrors the `use` parameter values, but there is no explicit when-to-use/when-not guidance and no named alternative among the many sibling tools. Usage is inferred rather than stated.

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.

Resources