Skip to main content
Glama

Lookup License

lookup_license
Read-onlyIdempotent

Look up what a software, model, or data license allows and requires, covering obligations, patent grants, and copyleft scope. Partial names return candidate IDs to confirm.

Instructions

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.

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>"
    },
    "name": "lookup_license"
  }
}

Input Schema

NameRequiredDescriptionDefault
licenseYesAn SPDX ID ("Apache-2.0"), a name, or an alias ("ALv2", "GPLv3").

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.14.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so the safety profile is fully covered by structured data. The description's contribution is the partial-match/candidates fallback behavior, which is genuine added context beyond the annotations. Beyond that it says nothing about data vintage, editorial-view caveats, or provenance limits that 'provenance' hints at but never explains.

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?

Two sentences with no filler. The capability statement comes first and the input-handling procedure follows, which is the right front-loading for an agent deciding whether to call the tool.

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, the description need not explain return fields, and the flat single-parameter schema keeps the surface small. The agent has enough to call correctly and handle partial matches. The remaining gap is the absence of any signal about when to prefer this broad lookup over the narrower sibling license tools.

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?

Schema coverage is 100%, so the single `license` parameter and its accepted forms (SPDX ID, name, alias) are already documented in the schema, establishing a baseline of 3. The description adds meaning the schema does not: that non-exact input yields a `candidates` list rather than an error or a guess, which changes how the agent should call it and handle the result.

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 (software/model/data license) and enumerates the exact facets returned: OSI/FSF status, patent grant, copyleft scope, obligations, facts, editorial view and provenance. That is far more specific than the 'Lookup License' title, which merely restates the name. It stops short of a 5 because it never contrasts itself with overlapping siblings such as license_obligations 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a concrete usage procedure for the ambiguous-input case: a partial name returns `candidates`, the agent should ask the user which one they mean, then look that one up. That is real actionable guidance rather than implied usage. It provides no when-to-use/when-not guidance relative to the sibling license tools, so it falls short of explicit alternative routing.

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