Skip to main content
Glama
thenavidm

Lemon Squeezy MCP Server

by thenavidm

Get license key

get_license_key
Read-onlyIdempotent

Retrieve a specific license key by its ID to verify or manage customer entitlements. Optionally include related store, customer, order, product, or instance data.

Instructions

Retrieves the license key with the given ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesExact opaque native resource ID; no traversal or URL.
accountNoExact private profile label. Does not prove store ownership; mode applies to the main API key only.
includeNoComma-separated native relationships from pinned official SDK: store, customer, order, order-item, product, license-key-instances.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is fully covered structurally. The description adds no behavioral context beyond that – no note on what the "account" scoping does, no error behavior for a missing ID, and no return-shape hint despite there being no output schema.

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?

A single short sentence with no filler and the resource front-loaded. It is efficient, though its brevity comes from under-specification rather than disciplined editing.

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

Completeness3/5

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

This is a simple single-resource read whose annotations and fully documented schema carry most of the load, so the minimal description is borderline adequate. However, with no output schema, the description should at least hint at what a returned license key contains; that gap keeps it at minimum-viable.

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 100%, so the schema itself already documents id, account, and include in detail (including the opaque-ID constraint and the comma-separated relationship list). The description only says "with the given ID" and adds nothing beyond the schema, which is the baseline 3 case.

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 states a specific verb and resource ("Retrieves the license key"), so the core purpose is unambiguous. It offers no differentiation from siblings like list_license_keys, get_license_key_instance, or update_license_key, which is the only reason it falls short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus alternatives. An agent cannot tell from the description why it would call get_license_key rather than list_license_keys with a filter, nor are any prerequisites mentioned.

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