Skip to main content
Glama
@yawlabs/lemonsqueezy-mcp

@yawlabs/lemonsqueezy-mcp

by YawLabs

ls_get_order

Read-onlyIdempotent

Retrieve a specific LemonSqueezy order by ID to view its status, total, currency, customer information, and payment details. Use it to inspect order data for support, reconciliation, or fulfillment.

Instructions

Get a specific order by ID, including status, total, currency, customer info, and payment details.

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": {
      "orderId": "<orderId>"
    },
    "name": "ls_get_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
includeNoComma-separated related resources to include (e.g. 'store,customer,order-items,subscriptions,license-keys,discount-redemptions,affiliate')
orderIdYesThe order 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,customer,order-items,subscriptions,license-keys,discount-redemptions')"New value: +"Comma-separated related resources to include (e.g. 'store,customer,order-items,subscriptions,license-keys,discount-redemptions,affiliate')"
  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, idempotentHint, openWorldHint, and destructiveHint=false, covering the safety profile. The description adds value by enumerating returned content (status, total, currency, customer info, payment details), though it says nothing about permissions, error behavior for missing orders, or the include expansion semantics.

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 no filler; the verb and resource lead and the returned fields follow. Appropriately sized for a simple read tool, though it could be slightly more useful by touching on the include behavior rather than only listing return fields.

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?

For a two-parameter read-only tool with fully documented schema and rich annotations, the description covers the core retrieval and return content. It is nearly complete, with only a minor gap around the include parameter and error handling.

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 orderId and include are already documented in the schema, establishing a baseline of 3. The description adds 'by ID' but contributes no additional meaning about the include parameter or ID format beyond the schema.

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?

States a specific verb (Get) and resource (a specific order by ID), plus the key fields returned. It distinguishes retrieval of a single order from listing tools, though it does not explicitly differentiate itself from the granular sibling ls_get_order_item.

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?

Provides no explicit when-to-use guidance or exclusions. It does not mention when to prefer ls_get_order_item, ls_get_customer, or how to expand related data via the include parameter, leaving the agent to infer context.

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