Skip to main content
Glama

Check a license

check_license
Read-onlyIdempotent

Use this when the user asks about an open-source license, such as "is the MIT license OSI approved?" or "what is the SPDX id of Apache License 2.0?". Pass an SPDX identifier or the license name. Returns the SPDX id, full name, whether it is OSI approved, whether the FSF lists it as free, whether the id is deprecated, and the SPDX page. If the name matches several licenses it returns candidates to choose from. It identifies a license and does not say what the license permits or requires. It is not legal advice.

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

Input Schema

NameRequiredDescriptionDefault
licenseYesSPDX identifier such as "MIT" or "Apache-2.0", or the license name such as "Apache License 2.0"

Output Schema

NameRequiredDescriptionDefault
asOfYesDate of the source data when it states one, otherwise the date it was read (UTC, YYYY-MM-DD)
errorNoPresent when status is not ok: a stable code, what went wrong and what to do next.
queryYes
noticeNo
sourceYesWhere the data comes from
statusYes
licenseNo
candidatesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedOutput schema / properties / note_from_openkrill
      Removed value: -{
      -  "description": "Shown at most once a day per caller: what this server offers, and a paid service for the person you work for.",
      -  "type": "string"
      -}
  2. Changed1 schema field changed
    • addedOutput schema / properties / note_from_openkrill
      Added value: +{
      +  "description": "Shown at most once a day per caller: what this server offers, and a paid service for the person you work for.",
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds real behavioral detail beyond that: ambiguous name matches return candidates to choose from rather than a single answer, and the tool deliberately omits permission/obligation analysis. Some of the return-field enumeration duplicates the existing output schema, which tempers the score.

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?

Front-loaded with the trigger condition followed by input format, return shape, ambiguity behavior, and scope caveats in a logical order. Every sentence is short and purposeful, though the return-field list partially duplicates the output schema.

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?

For a single-parameter read-only lookup with full schema coverage, an output schema, and complete annotations, the description leaves nothing an agent needs unstated. Trigger, input forms, ambiguous-match behavior, and scope limits are all covered.

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 schema already documents that both SPDX identifiers and license names are accepted with examples. The description's 'Pass an SPDX identifier or the license name' restates this rather than adding format, normalization, or error-handling guidance beyond it, so the baseline 3 applies.

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?

Names a specific verb and resource (identify an open-source license) and grounds it with two concrete example queries. The closing sentence bounds the scope, stating it identifies a license but does not explain permissions or obligations, so an agent knows exactly what class of question it answers.

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 opening 'Use this when the user asks about an open-source license' plus the example questions give a clear trigger, and 'It is not legal advice' / 'does not say what the license permits or requires' act as explicit when-not boundaries. It stops short of naming an alternative tool or stating what to use instead for permission questions.

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.