Skip to main content
Glama

License Obligations

license_obligations
Read-onlyIdempotent

Returns the obligations a license imposes for one use (internal, SaaS, distribution, device) with a rule-based risk rating and its reason—an attributed first pass, not a legal conclusion.

Instructions

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.

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": "<license>",
      "scenario": "<scenario>"
    },
    "name": "license_obligations"
  }
}

Input Schema

NameRequiredDescriptionDefault
licenseYesAn SPDX ID, name or alias.
scenarioYesHow the software is used.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.14.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so safety is covered; the description adds real behavioral context beyond that: the rating scale, the fact that REVIEW depends on facts the data cannot know, and that the output is a rule-based first pass requiring attribution. That epistemic caveat is exactly the kind of context annotations cannot carry.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two compact sentences, front-loaded with the returned artifact and followed by the caveat. The nested parentheticals make it slightly denser than necessary, but no sentence is filler.

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 two-parameter read tool with an output schema, the definition covers purpose, output shape, rating semantics, and the reliability caveat. Only sibling routing guidance is absent, which is a minor gap given the simple surface.

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% with both parameters documented, including the scenario enum and the SPDX-ID-or-alias flexibility. The description's parenthetical restates the four scenario values already present in the enum, so it adds little beyond the schema; 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?

The description names a specific resource (a license's obligations) and a specific scope (one use scenario), and states that it returns a CounselMode rating plus a `because` reason. An agent can distinguish this from lookup_license or check_compatibility by the rating/obligation output, though no sibling is named explicitly.

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 through the enumerated scenarios ('internal, SaaS, distribution or a device'), which tells the agent what kind of question this answers. There is no explicit when-to-use vs. when-to-use-something-else guidance and no exclusions against sibling tools like check_compatibility or lookup_license.

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