Skip to main content
Glama

Model License

model_license
Read-onlyIdempotent

Look up the license terms for an exact AI model and version, returning conditions and provenance so you can confirm what use and redistribution are permitted.

Instructions

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.

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": {
      "model": "<model>"
    },
    "name": "model_license"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelYesThe exact model and version, e.g. "Gemma 4", "Llama 3.1", "DeepSeek-R1".

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.14.0

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, non-destructive and closed-world, so the safety profile is covered. The description adds that results carry conditions and provenance and that matching is version-sensitive, but it does not say how misses are handled (error vs. empty result) or what 'matching model records' plural implies about multiple hits.

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 tight sentences with the keying rule and the version caveat front-loaded; nothing is redundant. The second sentence partially restates return contents that the output schema already covers, which is the only minor padding.

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 rich annotations, a fully documented single parameter, and an output schema covering return values, the description is close to sufficient. The remaining gap is the exact-match failure mode (no matching version), which an agent would benefit from knowing before calling.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema fully documents the single parameter with concrete examples, and the description goes beyond it by explaining why the exact version must be supplied (licenses differ between versions of the same family). That is genuine added meaning rather than a restatement of the schema.

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?

Names a specific resource (the license of an AI model) and its exact keying rule (exact model and version), and states that it returns model records with conditions and provenance. It is clear what the tool returns, though it does not explicitly contrast itself with similarly named siblings such as lookup_license or choose_license.

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: the parenthetical 'licenses differ between versions of the same family' tells the caller that an exact version is required, which is a useful precondition, but there is no explicit when-to-use/when-not-to-use guidance and no named alternative.

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