Skip to main content
Glama

check_licence

Check whether a library may be shipped inside a client project. Reads the repository's licence file and returns the detected SPDX id, the repository, the sha256 of that file, the check date and a safe_for_commercial_delivery flag. A library whose licence could not be read comes back as unverified — never assume it is permissive. Call this before delivering code that contains a third-party library.

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": {
      "library": "<library>"
    },
    "name": "check_licence"
  }
}

Input Schema

NameRequiredDescriptionDefault
libraryYesLibrary id, e.g. aceternity, icons-lucide, shadcn, magicui.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does a solid job: it discloses that the tool reads the repository's licence file (a read-only operation, implied rather than declared), what fields come back, and critically the failure semantics — an unreadable licence returns "unverified" and must not be treated as permissive. It stops short of stating permissions, caching, or whether results are refreshed per call.

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?

Three sentences, front-loaded with the purpose, then the return shape, then the safety caveat and the call trigger. Every sentence contributes a distinct fact and none restates the tool name.

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?

There is no output schema, so the description correctly enumerates the return fields (SPDX id, repository, sha256, check date, safe_for_commercial_delivery). Combined with the unverified-case warning and the single well-documented parameter, an agent has everything needed to call it and interpret the result.

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 description coverage is 100% and the single `library` parameter already carries an example list (aceternity, icons-lucide, shadcn, magicui), so the schema does the work. The description adds no further meaning about accepted id formats or resolution behavior, which is the expected baseline for high schema coverage.

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?

"Check whether a library may be shipped inside a client project" names a specific verb (check) and resource (library licence), and the surrounding sentences pin the scope to licence-file inspection. Nothing in the sibling set (compose_page, get_component, search_blocks) overlaps, and an agent can tell instantly this is a compliance check, not a design-system lookup.

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?

"Call this before delivering code that contains a third-party library" gives a concrete trigger condition, which is the main thing an agent needs. There are no exclusions or named alternatives, but the sibling tools are unrelated so no routing ambiguity is created; a 5 would require stating when not to bother calling it.

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