Skip to main content
Glama

Choose License

choose_license
Read-onlyIdempotent

Picks a license for your software, model weights or dataset that matches your stated goal, and excludes any license incompatible with the code you include, with the reason.

Instructions

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.

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": {
      "goal": "<goal>"
    },
    "name": "choose_license"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalYesWhat the user wants from their license. Ask them; do not infer it.
includesNoLicenses of code the project includes or combines with (SPDX IDs or names).
must_be_open_sourceNoFalse only if the user accepts source-available or use-restricted licenses.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.14.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare a safe, idempotent read, so the bar is lower, and the description still adds real behavior: every recommendation is validated against the licenses of included code, and any that cannot satisfy those licenses is excluded with a stated reason. It also discloses the epistemic caveat ('editorial view, not legal advice'), which sets expectations about authority.

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?

Three tight sentences: what it does first, the validation behavior second, the disclaimer last. No restatement of the title, no filler, and the most decision-relevant constraint is front-loaded.

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?

With an output schema present and full annotation coverage, the description need not explain return values, and the parameter meanings are fully in the schema. It would be slightly stronger if it noted what changes when must_be_open_source is set to false, since that materially alters the recommendation space.

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 coverage is 100% and the goal enum is self-explanatory, so the schema already does the heavy lifting. The description adds some meaning by tying 'includes' to a concrete consequence (incompatible recommendations are dropped with a reason), but it says nothing about the must_be_open_source flag beyond what the schema states.

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?

The description states a specific verb and resource: recommending a license for the user's own software, model weights, or dataset, given a goal. That scope clearly separates it from obligation/compatibility lookups, but it never names a sibling tool, so the agent must infer the boundary from names alone.

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 implied by 'for a stated goal' and by the outbound-licensing framing ('release your own software'), which signals this is a decision tool rather than a lookup tool. There is no explicit when-not guidance or named alternative for cases like checking obligations of an already-chosen license, which is where the sibling overlap is riskiest.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.