Skip to main content
Glama

spdx_license_lookup

Canonical SPDX license record by identifier: full name, OSI/FSF approval status, deprecation flag and reference URL, from the official SPDX license list. $0.001 per call via x402 (USDC on Base); response includes a provenance chain and an Ed25519 attestation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
paymentNoLegacy: base64 x402 payment header value. Prefer _meta["x402/payment"]; omit for a free quote.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / payment / description
      Previous value: -"Encoded x402 X-PAYMENT header value. Omit to receive the payment requirements (free quote)."New value: +"Legacy: base64 x402 payment header value. Prefer _meta[\"x402/payment\"]; omit for a free quote."
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it discloses material behavior: paid access at $0.001 per call via x402 (USDC on Base), plus a provenance chain and Ed25519 attestation in the response. It omits error/rate-limit behavior and does not state that omitting payment yields a free quote (that lives only in the schema), but the cost and trust model are unusually well surfaced.

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, purpose front-loaded, followed by the commercial and trust terms. No filler; every clause conveys information an agent could act on.

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?

No output schema exists, so the description must describe returns, which it does (five record fields plus provenance and attestation). Payment semantics are covered at the description level. Slightly incomplete only in that no identifier format or failure mode is given.

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 description coverage is 50%: 'payment' is documented in the schema, while 'id' has none. The description's 'by identifier' provides weak compensation by implying 'id' is the SPDX license identifier, but it adds no format, casing, or valid-value guidance beyond that. Baseline 3 fits.

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?

States a specific verb+resource ('Canonical SPDX license record by identifier') and enumerates exactly what the record contains: full name, OSI/FSF approval status, deprecation flag and reference URL. It is trivially distinguishable from every sibling, which all address different data domains.

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?

The phrase 'by identifier' implies the tool is selected when you already hold an SPDX identifier, but there is no explicit when-to-use statement, no exclusions, and no named alternative (e.g. a license search by name). Usage is only implied.

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