Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

License answers for software, AI models and data, from a curated dataset keyed by SPDX ID. Not legal advice.

  • Resolve the exact license first. If lookup_license returns candidates, ask the user which one; never pick.

  • For AI models, use model_license with the exact model and version; never infer a license from the vendor.

  • For a named software project (Redis, Terraform, Linux), use project_license with the version in use: licenses change between releases.

  • Ask which scenario applies (internal use, SaaS, distribution, a device) before stating obligations or risk.

  • Every record has provenance: say how it was verified and when, and say so plainly when it is not re-verified or volatile. Recommend confirming anything that matters against the license text, and a lawyer for real decisions.

  • Answers separate three kinds of claim. Facts carry a source and a verification status: state them with the source. Ratings (rating, ratings) and compatibility rulings are CounselMode's rule-based judgments: attribute them ("CounselMode rates this HIGH for SaaS, because ...") and give the because. counselmode_view is editorial judgment: present it as CounselMode's view. Never present a rating, ruling or view as a legal conclusion.

  • If an answer has verification_gaps, say which parts are not fully verified.

  • Coverage of the whole dataset (what is verified and what is not) is the resource licenses://coverage. The method in full is the resource licenses://skill.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": true
}
resources
{
  "subscribe": false,
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
lookup_licenseA

What a software, model or data license allows and requires: OSI and FSF status, patent grant, copyleft scope, obligations, facts, CounselMode's editorial view and provenance. A partial name returns candidates, a short list of IDs: ask the user which one they mean, then look that one up.

model_licenseA

The license an AI model is released under, keyed by exact model and version (licenses differ between versions of the same family). Returns the matching model records with their conditions and provenance.

project_licenseA

The license a well-known software project is released under, keyed by version: projects change licenses (Redis, Elasticsearch, Terraform), so the answer depends on the release. Returns each matching project's license eras with the LICENSE file each was checked against; with a version, only the era covering it, with CounselMode's rating for internal use, SaaS and distribution (each with its because).

check_compatibilityB

Whether code under inbound can go into a work under outbound, for a distributed combined work and for SaaS. yes means notice-only conditions, yes_narrows that the combined work takes the stricter license, conditional that substantive terms carry over.

license_obligationsA

What a license requires for one use (internal, SaaS, distribution or a device), with CounselMode's rating: LOW, MEDIUM, HIGH, BLOCK or REVIEW (depends on facts the data cannot know), and because, the reason. The rating is a rule-based first pass, not a legal conclusion: attribute it.

triage_dependenciesA

A first pass over a dependency list: each component's license resolved and rated for the scenario (SPDX expressions: OR takes the least risky choice, AND the most). gate is "fail" if anything is HIGH, BLOCK or UNKNOWN. A first pass only, not a compliance review.

choose_licenseA

Which license to release your own software, model weights or dataset under, for a stated goal. Each recommendation is checked against the licenses of code you include; one that cannot take that code is excluded with the reason. CounselMode's editorial view, not legal advice.

searchA

Search license and AI model records. Returns ids to pass to fetch.

fetchA

The full text of one license or model record, with its source URL and verification status.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
skillThe method: how to resolve, scope and answer a license question (SKILL.md).
coverageHow much of the dataset is verified against primary sources, and what is not.

TDQS

A3.6/5.0

Scored across 9 tools

Disambiguation4/5

Most tools are cleanly separated by entity or task: lookup_license (by license name), model_license (by model+version), project_license (by project+version), plus distinct analysis tools (check_compatibility, license_obligations, triage_dependencies, choose_license). The weak spots are lookup_license vs search (both resolve names to IDs) and lookup_license vs license_obligations (both describe what a license allows/requires, one generically, one per scenario). Descriptions do enough to steer an agent, but those pairs could still be misselected.

Naming Consistency3/5

Conventions are mixed: bare verbs (fetch, search), verb_noun (check_compatibility, triage_dependencies, choose_license), and noun-style/suffixed forms (lookup_license, model_license, project_license, license_obligations). Individual names are readable and meaningful, but there is no single predictable pattern an agent can extrapolate from.

Tool Count5/5

Nine tools sit squarely in the well-scoped range, and each covers a distinct slice of the license-advisory workflow (resolve, fetch, analyze, batch-triage, recommend). No tool looks like filler or a duplicate of another.

Completeness4/5

The surface covers the full advisory path: search/fetch for records, license/model/project resolution, compatibility, per-use obligations, dependency triage and license selection. Gaps are minor, e.g. no way to compare two licenses in detail, no reverse lookup or browse-by-category beyond free-text search, and no route from search results into the analysis tools without re-specifying the license.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues