Skip to main content
Glama

SPDX OSS Licenses Compliance MCP

List SPDX license exceptions

list_license_exceptions
Read-onlyIdempotent

List or search official SPDX license exceptions (such as LLVM-exception or Classpath-exception-2.0).

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum exceptions to return (default 25).
queryNoOptional substring filter on exception ID or name.
include_deprecatedNoInclude deprecated exceptions when true (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is fully covered elsewhere. The description adds only that the exceptions are 'official SPDX' ones; it says nothing about result ordering, pagination behavior, or truncation when limit is hit that the annotations don't cover.

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?

A single front-loaded sentence with no filler; the parenthetical examples earn their place by making the resource concrete. Nothing to trim.

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?

For a simple read-only list tool with full schema coverage and rich annotations, this is nearly complete. The one missing piece is disambiguation from the sibling license-search tools, which the description never addresses.

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%, so limit, query, and include_deprecated are fully documented in the schema. The description's 'search' hints at the query parameter but adds no format or matching semantics beyond what the schema already says. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: 'List or search official SPDX license exceptions', reinforced by concrete examples (LLVM-exception, Classpath-exception-2.0). It does not distinguish itself from the sibling search_spdx_licenses or get_spdx_license_details, so an agent must infer that this covers exceptions rather than licenses.

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?

'List or search' signals two usage modes and the examples imply the resource domain, but there is no explicit when-to-use-this vs. the sibling search_spdx_licenses or get_spdx_license_details, and no stated exclusions. Guidance is implied 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.