Skip to main content
Glama

SPDX OSS Licenses Compliance MCP

Search SPDX license list

search_spdx_licenses
Read-onlyIdempotent

Search official SPDX licenses by ID or name with optional OSI-approved, FSF Libre, and deprecation filters.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum licenses to return (default 25).
queryNoOptional substring filter (e.g. "Apache", "BSD", "Mozilla").
fsf_libreNoFilter by FSF Libre status.
osi_approvedNoFilter by OSI approval status.
include_deprecatedNoInclude deprecated SPDX IDs 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 readOnly, idempotent, open-world, non-destructive, so the safety profile is fully covered. The description adds only the filter surface, which mostly duplicates the schema; it says nothing about matching semantics (case sensitivity, whether query hits ID and/or name), ordering of results, or what happens when query is omitted.

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 sentence with zero filler, front-loading the action and resource and then the filter set. Nothing could be removed without losing information.

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 search with 5 fully documented optional parameters, no output schema, and rich annotations, the description is essentially sufficient to call the tool correctly. The only real gap is search matching semantics, a minor omission at this complexity level.

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 every parameter including limit and include_deprecated is already documented in the schema with defaults. The description adds no syntax, format, or matching-behavior detail beyond that, so 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 (search) and resource (official SPDX licenses) plus the matching keys (ID or name) and the available filters. It is clear what the tool returns, though it never names or distinguishes itself from siblings like get_spdx_license_details or list_license_exceptions.

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?

Usage is only implied by the phrasing 'Search ... by ID or name' — an agent can infer this is for broad/partial matching versus an exact-detail lookup, but nothing says when to prefer a sibling such as get_spdx_license_details or check_osi_fsf_approval. No exclusions or prerequisites are 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.