Skip to main content
Glama

check_license

Check whether an asset ID or SPDX license is compatible with commercial use and return required obligations before adding dependencies or importing third-party code.

Instructions

Deterministic commercial-use/compatibility verdict for an asset id or an SPDX id, with obligations. Call when: adding any dependency or third-party code, or before importing an asset into a commercial project.

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": "check_license"
  }
}

Input Schema

NameRequiredDescriptionDefault
licenseNo
profileNo
asset_idNo
allow_noticesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose that the result is a deterministic verdict plus obligations, which tells the agent the call is an evaluation rather than a mutation, but it says nothing about behavior on unknown/ambiguous identifiers, whether license and asset_id can be combined, or whether the call has side effects or auth requirements.

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?

Two short sentences, front-loaded with the capability and followed by the trigger conditions. Nothing is redundant and no space is wasted.

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?

There is no output schema and no annotations, so the description should be more complete. It does convey the shape of the answer (verdict with obligations), but leaves the two undocumented parameters and edge-case behavior unexplained, which is only minimally adequate for a four-parameter decision tool.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must explain all four parameters. It only clarifies two of them (the SPDX 'license' id and 'asset_id'); 'profile' and 'allow_notices' are left entirely undefined in both the schema and the description, which is a material gap for a compliance decision tool.

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 names a specific verb+resource: a 'deterministic commercial-use/compatibility verdict' for either an asset id or an SPDX id, and adds that obligations are returned. That is clearly distinct from siblings like get_asset (retrieval) or import_asset (mutation), so an agent can pick it without opening the schema.

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?

It gives explicit triggering conditions: 'adding any dependency or third-party code' and 'before importing an asset into a commercial project', the latter implicitly positioning it ahead of import_asset. There is no statement of when NOT to use it or of an alternative for non-commercial checks, so it falls short of a 5.

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