Skip to main content
Glama
@yawlabs/lemonsqueezy-mcp

@yawlabs/lemonsqueezy-mcp

by YawLabs

ls_get_subscription_invoice

Read-onlyIdempotent

Retrieve a subscription invoice by ID to view its status, total, billing reason, and payment details, with optional related resources included.

Instructions

Get a specific subscription invoice by ID, including status, total, billing reason, 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": {
      "subscriptionInvoiceId": "<subscriptionInvoiceId>"
    },
    "name": "ls_get_subscription_invoice"
  }
}

Input Schema

NameRequiredDescriptionDefault
includeNoComma-separated related resources to include (e.g. 'store,subscription,affiliate')
subscriptionInvoiceIdYesThe subscription invoice 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,subscription')"New value: +"Comma-separated related resources to include (e.g. 'store,subscription,affiliate')"
  2. First observedv0.10.10

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so safety is covered. The description adds substance annotations don't: the returned content (status, total, billing reason, payment details), which is meaningful because there is no output schema. It omits error behavior (e.g. unknown ID) and any auth/scope needs.

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 key scope first and the returned fields after; nothing is redundant. The field enumeration is slightly list-like but it earns its place since no output schema exists.

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 simple idempotent read with annotations covering safety and only two parameters, the description supplies the essential missing piece: what the record contains. The only gap is unexplained behavior for the optional 'include' expansion and error outcomes.

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%, so both parameters are already documented in the schema, and the description only echoes that lookup is by ID. It adds no meaning for the 'include' parameter (related-resource expansion), so the baseline 3 applies.

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 ('subscription invoice') and scopes it with 'by ID', which implicitly separates it from listing siblings such as ls_list_subscription_invoices. It also names the key fields returned, so the agent knows exactly what kind of record it retrieves, though it never names a sibling alternative explicitly.

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?

'by ID' and the required subscriptionInvoiceId imply a single-record lookup rather than a search or list, which is adequate implicit guidance. There is no explicit when-to-use/when-not statement and no pointer to alternatives like the list or generate/refund siblings.

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