Skip to main content
Glama

SPDX OSS Licenses Compliance MCP

Batch-check OSI and FSF license approval

check_osi_fsf_approval
Read-onlyIdempotent

Audit 1 to 15 SPDX license identifiers in one call for OSI approval, FSF Libre status, deprecation, and copyleft review flags.

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_ids": "<license_ids>"
    },
    "name": "check_osi_fsf_approval"
  }
}

Input Schema

NameRequiredDescriptionDefault
license_idsYesList of 1 to 15 SPDX license IDs (e.g. ["MIT", "Apache-2.0", "GPL-3.0-only"]).

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, destructiveHint=false and openWorldHint, so safety behavior is covered. The description adds real value by naming the four audit dimensions evaluated per license, but says nothing about result shape, how flags are reported, or behavior when an unknown identifier is passed.

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?

One sentence, front-loaded with the verb and batch scope, then the outputs. No filler, no repetition of the title verbatim beyond what is needed.

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 one-parameter read-only lookup tool with a fully documented schema and no output schema, the description covers what is checked and the input bound. A brief note on what the response contains per identifier would make it fully complete.

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 array parameter already documents the 1-to-15 SPDX ID constraint with examples. The description restates the same range and identifier type, adding no new semantics such as case sensitivity or handling of ambiguous IDs, 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 ('Audit') plus the resource ('SPDX license IDs') and enumerates the four checks returned: OSI approval, FSF Libre status, deprecation, copyleft flags. The 'in one call' phrasing signals the batch nature, which implicitly separates it from per-license lookups, but no sibling is named so differentiation is inferred rather than stated.

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: 'in one call' suggests the batching scenario and the 1-to-15 bound hints at the limit, but there is no explicit when-to-use or when-not guidance and no pointer to get_spdx_license_details or compare_license_permissions as alternatives for single-license or comparison needs.

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.