Explain Shop Entitlements
entitlements_explainResolves the Plan Builder entitlement snapshot for one shop of the
given app: the plan it is on, whether it is paused, its currency/FX
rate, and its feature/event terms, both objects keyed by the
app-local key your @the-meridian/sdk isEnabled()/track() calls
use. Unlike plans_list/features_list/events_list, the
feature/event entries here use the @the-meridian/sdk Entitlements
type's own field names verbatim (e.g. enabled, limit, includedQuantity,
usedThisPeriod) rather than this server's usual snake_case, because
this tool's whole purpose is showing exactly what the SDK's
getEntitlements() would return for that shop right now, without
calling Shopify. Never returns the shop's access token. Takes the
app_id returned by apps_list and the shop's shop_domain (e.g.
demo.myshopify.com). Requires both the plan_builder.view and
crm.merchants.view permissions on the app, because the result is
one merchant's subscription state.
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": {
"app_id": "<app_id>",
"shop_domain": "<shop_domain>"
},
"name": "entitlements_explain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | The app uuid returned by `apps_list`. | |
| shop_domain | Yes | The Shopify shop domain to resolve entitlements for, e.g. demo.myshopify.com. | |
| organization_id | No | An organisation uuid or slug. When supplied, `app_id` is resolved within that organisation and may be a slug instead of a uuid, mirroring the Meridian web app. |