Skip to main content
Glama

walletmcppass: Apple Wallet passes

Update Apple Wallet pass

update_wallet_pass
DestructiveIdempotent

Change a pass made with create_wallet_pass(updatable=True); every iPhone that added it refreshes.

Takes the serial_number and edit_token returned when the pass was created, the required
contact_email and x402_ready, plus any of create_wallet_pass's parameters, with the same meanings. Each parameter given replaces the
stored value completely (a fields list replaces the whole list, so resend unchanged fields
too); parameters left out keep their current values. Clear a text value with "" and a list
with []. To cancel a pass, set voided=True: Wallet marks it void on every iPhone.

Wallet asks the server for the new version as soon as Apple delivers the push, usually within
seconds. A field's changeMessage is shown on the lock screen when that field's value changes.

Only works until the pass's updatable_until time (set by updatable_hours at creation).

Returns {download_url, expires_in_seconds, serial_number, pass_type_identifier,
notified_devices, updatable_until}. notified_devices counts the iPhones the push was sent to, not ones that
have already refreshed. The download_url (valid 1 hour) is only needed to add the pass to a
new device. With x402_ready=False the result also has x402_setup, as for create_wallet_pass.

Input Schema

NameRequiredDescriptionDefault
styleNo
posterNo
voidedNo
icon_textNo
locationsNo
logo_textNo
semanticsNo
edit_tokenYes
icon_colorNo
info_linksNo
logo_colorNo
x402_readyYes
back_fieldsNo
descriptionNo
label_colorNo
icon_png_b64No
logo_png_b64No
max_distanceNo
transit_typeNo
contact_emailYes
footer_fieldsNo
generate_logoNo
header_fieldsNo
relevant_dateNo
serial_numberYes
strip_png_b64No
barcode_formatNo
primary_fieldsNo
artwork_png_b64No
barcode_messageNo
expiration_dateNo
semantic_layoutNo
auxiliary_fieldsNo
background_colorNo
barcode_alt_textNo
featured_actionsNo
foreground_colorNo
secondary_fieldsNo
organization_nameNo
thumbnail_png_b64No
background_png_b64No
primary_logo_png_b64No
secondary_logo_png_b64No

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / x402_ready / enum
      Added value: +[
      +  true,
      +  false,
      +  "unknown"
      +]
    • removedInput schema / properties / x402_ready / type
      Removed value: -"boolean"
  2. Changed7 schema fields changed
    • removedInput schema / properties / contact_email / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / contact_email / default
      Removed value: -null
    • addedInput schema / properties / contact_email / type
      Added value: +"string"
    • removedInput schema / properties / x402_ready / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / x402_ready / default
      Removed value: -null
    • addedInput schema / properties / x402_ready / type
      Added value: +"boolean"
    • changedInput schema / required
      Previous value: -[
      -  "serial_number",
      -  "edit_token"
      -]New value: +[
      +  "serial_number",
      +  "edit_token",
      +  "contact_email",
      +  "x402_ready"
      +]
  3. Changed2 schema fields changed
    • addedInput schema / properties / contact_email
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Contact Email"
      +}
    • addedInput schema / properties / x402_ready
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "X402 Ready"
      +}
  4. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already carry the safety profile (destructive, idempotent, not read-only), and the description adds real substance beyond them: push-propagation timing, per-device voiding, changeMessage lock-screen behavior, and the expiration window. It stops short of saying what happens to an already-voided pass or whether a failed push is retried, but the key destructive consequences are disclosed.

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?

Dense and front-loaded — purpose and refresh behavior come first, then input contract, then edge cases, then returns. Nearly every sentence earns its place, though the wrapping around 'the required contact_email and x402_ready' reads awkwardly mid-sentence and the return-value paragraph is longer than strictly necessary.

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 43-parameter mutation tool with no output schema, coverage of lifecycle (updatable_until), destruction (voided), async propagation, and return fields including the notified_devices caveat is strong. The gap is per-parameter meaning: an agent must open create_wallet_pass's schema to interpret fields like style, semantic_layout, transit_type, or featured_actions.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 43 parameters at 0% schema description coverage, the description does the heavy lifting on the most error-prone semantics: replace-not-merge ('a fields list replaces the whole list, so resend unchanged fields too'), omit-to-preserve, and empty-value clearing. The remaining ~35 optional parameters are handled by reference ('any of create_wallet_pass's parameters, with the same meanings'), which is efficient but forces a second lookup, and the 'unknown' enum value on x402_ready is never explained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb+resource ('Change a pass') and immediately scopes it to passes created with create_wallet_pass(updatable=True), naming the sibling tool. The downstream effect ('every iPhone that added it refreshes') further distinguishes it from a mere local edit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states prerequisites (edit_token and serial_number from creation), the hard boundary ('Only works until the pass's updatable_until time'), and the cancellation path ('set voided=True'). The clearing conventions ('Clear a text value with "" and a list with []') are the kind of when-to-do-what guidance an agent would otherwise get wrong.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources