Skip to main content
Glama

dev_license

Read-only

Open-source license explainer — Explain an open-source license by SPDX id: what it permits, its conditions and limitations, whether commercial use is allowed, copyleft strength, source-disclosure and patent-grant flags. Call with no id to list common licenses. Price: $0.002 USDC (Base, via x402).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "dev_license"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNooptional SPDX id, e.g. mit, apache-2.0, gpl-3.0 (omit to list)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint=false, and openWorldHint, so the safety profile is covered. The description adds useful behavioral context beyond that: the detailed facets returned, the list mode, and the $0.002 USDC x402 cost. It does not discuss rate limits, but the annotations lower that burden.

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?

It is front-loaded with the purpose and key facets, then gives the list mode and pricing in compact form. Every sentence carries useful information without repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter, read-only lookup tool with no output schema, the description provides enough detail about what the explanation covers, how to list licenses, and the cost. Nothing an agent needs in order to call it correctly is missing.

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 schema already documents the optional SPDX id with examples and the omission behavior. The description restates the SPDX id and omit-to-list behavior rather than adding format or interpretation details beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Explain') and resource ('an open-source license by SPDX id'), then enumerates the facets returned: permissions, conditions, limitations, commercial use, copyleft strength, source disclosure, and patent grants. It is clearly distinct from the package-registry and generic AI sibling tools.

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 explicitly covers the alternate mode: call with no id to list common licenses. That gives clear context for both usage paths, though it does not name exclusions or competing tools.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources