Skip to main content
Glama

Server Details

Design and launch Apple Wallet and Google Wallet loyalty stamp cards for your shop, café or salon.

Ownership verified
Status
Healthy
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL

TDQS

Score is being calculated.

Available Tools

15 tools
create_cardCreate a loyalty cardInspect

Saves a loyalty card design and its rewards to a Leal store, ready for customers to add to Apple Wallet or Google Wallet. Takes the same design fields as preview_card_designs. Logos and strip photos are fetched from their URLs; if the store has no logo yet, the card's logo becomes the store logo. Needs a Leal account: the person is asked to sign in or create one.

NameRequiredDescriptionDefault
nameYesInternal name for the card, e.g. "Coffee card". Shown in Leal, not on the pass.
rewardsYesRewards customers can redeem, e.g. [{name: "Free coffee", stamps_required: 10}]. The free plan allows one reward per card.
logo_urlNoPublic https URL of the wide logo shown top-left of the Apple pass (PNG, JPEG, WebP, GIF or SVG; transparent PNG works best). Ideally a version that reads on card_color.
store_idNoStore id from list_stores. Optional when the login has one store.
card_colorNoPass background colour, hex (#RRGGBB).
stamp_iconNoIcon shown in each collected stamp.
strip_typeNoBackground of the stamp strip: a flat colour, one of Leal's preset photos, or an image from strip_image_url.
text_colorNoColour of all text on the pass, hex. Must read clearly on card_color (4.5:1 contrast or better).
header_textNoText at the top of the pass. Defaults to the store name. Wallet apps truncate long headers, so keep it short.
stamp_colorNoColour of the icon inside a collected stamp, hex. Must read clearly on stamp_background_color.
strip_colorNoStrip colour, hex. Also shows behind preset and image strips when strip_opacity is below 100.
strip_presetNoPreset strip photo, used when strip_type is preset.
strip_opacityNoOpacity of the strip colour or image over the card colour. 100 shows it exactly; 60–85 tints a photo with the card colour so stamps stand out.
initial_stampsNoStamps a new customer starts with (a head start). Must be less than stamps_required.
square_logo_urlNoPublic https URL of a square logo or icon, used as the round logo on Google Wallet.
stamps_requiredNoStamps needed to fill the card. 6, 8 or 10 are common.
strip_image_urlNoPublic https URL of a wide photo for the strip (strip_type image), e.g. a hero image from the brand's website. Cropped to 375×144.
auxiliary_fieldsNoUp to two extra front-of-pass fields, e.g. {label: "Perk", value: "10% off pastries"}.
show_member_fieldNoShow the customer's name on the front of the pass. Default true.
stamp_background_colorNoFill colour of a collected stamp circle, hex. Empty stamp slots use a translucent version of it, so it should stand out from the strip.
show_stamps_to_reward_fieldNoShow how many stamps until the next reward. Default true.
create_locationAdd a store locationInspect

Adds a physical location to a store. The address is geocoded so wallet passes can remind customers nearby.

NameRequiredDescriptionDefault
nameYese.g. "Main Street" or the store name for a single shop.
addressYesFull street address including town and postcode.
store_idNoStore id from list_stores. Optional when the login has one store.
create_posterCreate a signup posterInspect

Creates a printable poster with a QR code for a card. Customers scan it, fill in a short form on a public Leal signup page, and add the card to their wallet. Returns the signup link and a print link. Colours default to the card's.

NameRequiredDescriptionDefault
titleNoHeadline, e.g. "Join our coffee club". Defaults to the card name.
card_idYesCard id from list_cards.
paper_sizeNoDefault a4.
text_colorNoPoster text colour, hex. Defaults to the card's text colour.
primary_colorNoPoster background colour, hex. Defaults to the card colour.
secondary_colorNoAccent panel colour, hex.
require_birthdayNoAsk for a birthday (for birthday rewards). Default false.
contact_collection_modeNoWhat the signup form asks for. Default email_and_phone.
create_rewardAdd a reward to a cardInspect

Adds a reward that customers can redeem with stamps from a card, e.g. a free coffee at 10 stamps.

NameRequiredDescriptionDefault
nameYesWhat the customer gets, e.g. "Free coffee".
card_idYesCard id from list_cards.
descriptionNoOptional details, e.g. "Any size, any drink".
stamps_requiredYesStamps spent to redeem it.
create_storeCreate a storeInspect

Adds a new, empty store to the login's agency, with its own cards, posters and locations: for a client, a second business, or a demo to show a prospect. Then set it up with create_card, create_poster and create_location using the returned store_id. Don't use this to set up a store the login already has: call list_stores first and use the existing store if it's the same business.

NameRequiredDescriptionDefault
nameYesStore name in Leal, usually the business or client name, e.g. "Bean There Coffee".
logo_urlNoPublic https URL of the wide logo (PNG, JPEG, WebP, GIF or SVG), e.g. from get_brand_kit.
agency_idNoAgency id from list_stores. Only needed when this login runs several agencies.
store_nameNoPublic name customers see on cards and signup pages, if different from name.
square_logo_urlNoPublic https URL of a square logo or icon.
get_brand_kitGet brand kit from a website
Read-onlyIdempotent
Inspect

Reads a business's public website and returns its name, a colour palette (with where each colour was found; colours read from the logo are the most reliable, and website-builder default colours are filtered out), logo and icon image URLs, a hero image, a guess at the type of business, and a suggested starting card design built from those. Works without a Leal account. Use the result to propose card designs with preview_card_designs.

NameRequiredDescriptionDefault
urlYesThe business's website, e.g. https://beanthere.coffee or beanthere.coffee.
get_cardShow a loyalty card
Read-onlyIdempotent
Inspect

Shows a saved loyalty card's design and rewards, with an Apple and Google Wallet preview.

NameRequiredDescriptionDefault
card_idYesCard id from list_cards.
get_store_setupGet store setup
Read-onlyIdempotent
Inspect

Shows a store's setup checklist (store details, card, poster, first customer, staff app), plan limits and usage, and its cards with rewards, locations and posters.

NameRequiredDescriptionDefault
store_idNoStore id from list_stores. Optional when the login has one store.
list_cardsList loyalty cards
Read-onlyIdempotent
Inspect

Lists a store's loyalty cards with their rewards.

NameRequiredDescriptionDefault
store_idNoStore id from list_stores. Optional when the login has one store.
include_archivedNoInclude archived cards. Default false.
list_design_optionsList card design options
Read-onlyIdempotent
Inspect

Lists what a Leal loyalty card can look like: stamp icons, preset strip photos, limits, and how the pass is laid out on Apple and Google Wallet. Works without a Leal account.

NameRequiredDescriptionDefault

No parameters

list_storesList stores
Read-onlyIdempotent
Inspect

Lists the Leal stores this login can manage, with each store's id, plan and how far through setup it is, and the agencies it can add new stores to with create_store.

NameRequiredDescriptionDefault

No parameters

preview_card_designsPreview loyalty card designs
Read-onlyIdempotent
Inspect

Renders one to four loyalty card designs as Apple Wallet and Google Wallet passes so the person can compare them and pick one. Checks each design against Leal's rules and flags hard-to-read colour combinations. Returns a shareable preview link per design. Works without a Leal account; nothing is saved.

NameRequiredDescriptionDefault
designsYesThe designs to show side by side.
store_nameNoThe business name, shown where the pass shows the store.
update_cardUpdate a loyalty card
DestructiveIdempotent
Inspect

Changes a saved card's design. Only the fields passed change; the rest stay as they are. Customers' passes in Apple Wallet and Google Wallet update automatically.

NameRequiredDescriptionDefault
nameNoInternal name for the card, e.g. "Coffee card". Shown in Leal, not on the pass.
card_idYesCard id from list_cards.
logo_urlNoPublic https URL of the wide logo shown top-left of the Apple pass (PNG, JPEG, WebP, GIF or SVG; transparent PNG works best). Ideally a version that reads on card_color.
card_colorNoPass background colour, hex (#RRGGBB).
stamp_iconNoIcon shown in each collected stamp.
strip_typeNoBackground of the stamp strip: a flat colour, one of Leal's preset photos, or an image from strip_image_url.
text_colorNoColour of all text on the pass, hex. Must read clearly on card_color (4.5:1 contrast or better).
header_textNoText at the top of the pass. Defaults to the store name. Wallet apps truncate long headers, so keep it short.
stamp_colorNoColour of the icon inside a collected stamp, hex. Must read clearly on stamp_background_color.
strip_colorNoStrip colour, hex. Also shows behind preset and image strips when strip_opacity is below 100.
strip_presetNoPreset strip photo, used when strip_type is preset.
strip_opacityNoOpacity of the strip colour or image over the card colour. 100 shows it exactly; 60–85 tints a photo with the card colour so stamps stand out.
initial_stampsNoStamps a new customer starts with (a head start). Must be less than stamps_required.
square_logo_urlNoPublic https URL of a square logo or icon, used as the round logo on Google Wallet.
stamps_requiredNoStamps needed to fill the card. 6, 8 or 10 are common.
strip_image_urlNoPublic https URL of a wide photo for the strip (strip_type image), e.g. a hero image from the brand's website. Cropped to 375×144.
auxiliary_fieldsNoUp to two extra front-of-pass fields, e.g. {label: "Perk", value: "10% off pastries"}.
show_member_fieldNoShow the customer's name on the front of the pass. Default true.
stamp_background_colorNoFill colour of a collected stamp circle, hex. Empty stamp slots use a translucent version of it, so it should stand out from the strip.
show_stamps_to_reward_fieldNoShow how many stamps until the next reward. Default true.
update_rewardUpdate a reward
DestructiveIdempotent
Inspect

Changes a reward's name, stamps needed or description, or turns it off. Only the fields passed change.

NameRequiredDescriptionDefault
nameNo
activeNofalse hides the reward from customers and staff.
reward_idYesReward id from list_cards or get_store_setup.
descriptionNo
stamps_requiredNo
update_storeUpdate store name and logo
DestructiveIdempotent
Inspect

Sets a store's public name and logos, which Leal uses on cards, posters and signup pages. Logos are fetched from public image URLs (PNG, JPEG, WebP, GIF or SVG). Replaces the current values.

NameRequiredDescriptionDefault
logo_urlNoPublic https URL of the wide logo.
store_idNoStore id from list_stores. Optional when the login has one store.
store_nameNoThe business name customers know, e.g. "Bean There Coffee".
square_logo_urlNoPublic https URL of a square logo or icon.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 15 tool updates
    • First observedcreate_card
    • First observedcreate_location
    • First observedcreate_poster
    • First observedcreate_reward
    • First observedcreate_store
    • First observedget_brand_kit
    • First observedget_card
    • First observedget_store_setup
    • First observedlist_cards
    • First observedlist_design_options
    • First observedlist_stores
    • First observedpreview_card_designs
    • First observedupdate_card
    • First observedupdate_reward
    • First observedupdate_store

Publisher details

Operator
Jemcode International Limited (trading as Leal) · Publisher source
Operator website
https://www.getleal.com
Vendor relationship
First-party
Trust center
Not available
Restrictions
Design-preview tools work without signing in. Saving cards, rewards, posters and locations needs a Leal account (free plan available: one card with one reward, one poster and one location; more on paid plans). Sign-in is OAuth 2.1 with dynamic client registration, so no custom OAuth app is needed. · Publisher source

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    Enables AI assistants to issue and manage Apple Wallet and Google Wallet passes, including template creation, pass issuance, notifications, stamping, and loyalty management.
    26
    20 npm
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables Bonus Pink sub-accounts to manage loyalty programs via AI agents, offering 84 tools for card issuance, points, stamps, visits, rewards, and communications.
    -
  • A
    license
    Not graded
    quality
    A
    maintenance
    Generate QR codes and create, edit and track dynamic (editable) QR codes with scan analytics, folders, style themes and branded subdomain management. Free REST API with an OpenAPI spec alongside; every tool takes a free API key.
    12
    AGPL 3.0
Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources