Skip to main content
Glama
@yawlabs/lemonsqueezy-mcp

@yawlabs/lemonsqueezy-mcp

by YawLabs

ls_get_customer

Read-onlyIdempotent

Retrieve a specific LemonSqueezy customer by ID to view contact details, location, MRR, total revenue, and portal URL, with options to include related resources.

Instructions

Get a specific customer by ID, including name, email, city, country, MRR, total revenue, and customer portal URL.

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": {
      "customerId": "<customerId>"
    },
    "name": "ls_get_customer"
  }
}

Input Schema

NameRequiredDescriptionDefault
includeNoComma-separated related resources to include (e.g. 'store,orders,subscriptions,license-keys,affiliates')
customerIdYesThe customer ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.1.5
    • changedInput schema / properties / include / description
      Previous value: -"Comma-separated related resources to include (e.g. 'store,orders,subscriptions,license-keys')"New value: +"Comma-separated related resources to include (e.g. 'store,orders,subscriptions,license-keys,affiliates')"
  2. First observedv0.10.10

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true, and destructiveHint=false, so the safety profile is fully covered elsewhere. The description's added value is the field list (name, email, city, country, MRR, total revenue, portal URL), which tells the agent what a successful read yields. It says nothing about behavior for unknown IDs, rate limits, or how the optional 'include' expansion changes the response.

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 front-loaded sentence with the verb and resource first and the returned fields trailing; nothing is wasted. The field enumeration is somewhat long but each item is informative rather than filler.

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?

With no output schema, the description's field list usefully compensates for the missing return contract. However, for a tool with an optional expansion parameter, omitting any mention of 'include' or of related-resource behavior leaves a meaningful gap an agent would care about.

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 both customerId and the 'include' comma-separated resource list are already documented in the schema, making 3 the baseline. The description reinforces that customerId drives the lookup but adds no syntax, format, or example detail beyond the schema, and never mentions the 'include' parameter at all.

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 opens with a specific verb and resource ('Get a specific customer by ID') and enumerates the returned fields, which clearly separates it from mutating siblings like ls_update_customer or ls_archive_customer. It does not explicitly contrast itself with read siblings such as ls_get_order or ls_get_affiliate, but the resource is unambiguous.

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 explicit when-to-use guidance: nothing states that this should be called once a customer ID is known, nor when to prefer another tool for listing or searching customers. The 'by ID' phrasing implies a lookup pattern, but no alternatives or exclusions are offered.

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