Skip to main content
Glama

PassFast

updatePassBySerial

Idempotent

Update a pass by serial number

Updates the dynamic data of an active pass looked up by serial number. Optionally sends a push notification to registered devices. At least one of data, expires_at, locations, relevant_date, or max_distance is required. When a serial has both Apple and Google passes, use ?wallet_type= to select which one (defaults to apple).

Scope: passes:manage

Maps to OpenAPI operationId updatePassBySerial — PATCH /manage-passes/serial/{serial_number}.

Same PassFast HTTP API, billing, and rate limits. Do not invent other paths.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNoNew dynamic field values to merge into the pass.
x_app_idNoOverride X-App-Id for this call. Defaults to the MCP connection header.
locationsNoGPS locations where the pass is relevant (overrides template defaults).
expires_atNoExpiration timestamp (set to null to remove expiration).
push_updateNoIf true, send a push notification to registered devices.
wallet_typeNoWallet type to look up when a serial number has both Apple and Google passes. Defaults to `apple` for backward compatibility. apple
max_distanceNoMaximum distance in meters from a location for lock screen relevance.
relevant_dateNoISO 8601 date when the pass is relevant (lock screen).
serial_numberYesPass serial number (unique within app + wallet type).
strip_image_idNoOverride the template's strip/hero image for this pass. The referenced image must belong to the same app and have purpose `strip` (or a `strip_*` variant). Applied to Apple `strip.png` and Google `heroImage` atomically (synced to the sibling pass for dual-wallet). Send `null` to clear the override and revert to the template's strip image. Omit the field to leave the current override unchanged.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover read-only, destructive, and idempotence hints. The description adds valuable non-obvious behavior: optional push notification side effect, the active-pass-only restriction, dual-wallet selection behavior, the passes:manage scope, and the exact OpenAPI route and rate-limit expectations. No contradiction with annotations was found.

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?

The description is well-structured and mostly front-loaded: the core operation appears first, followed by constraints, scope, and API mapping. There is minor redundancy between the title line 'Update a pass by serial number' and the first sentence, but overall every piece earns its place and nothing is bloated.

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?

Given 10 parameters, nested objects, no output schema, and notable behavioral nuances, the description covers the essential calling context: field requirements, active-pass restriction, wallet selection, push behavior, scope, and API endpoint mapping. A short note about the return shape or error behavior would make it fully complete, but nothing critical is missing for making the call.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds important meaning beyond the schema: it states that at least one of data, expires_at, locations, relevant_date, or max_distance is required, which is not obvious from the schema's required list. It also clarifies wallet_type behavior for serials with both Apple and Google passes.

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?

The description clearly identifies a specific verb and resource: updating the dynamic data of an active pass by serial number. It also mentions the optional push notification behavior. It does not explicitly differentiate from the sibling tool updatePass, so it misses the top score for sibling distinction, but the serial-number lookup is specific enough.

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?

The description provides useful operational constraints: at least one update field is required, only active passes are updated, and wallet_type must be used for dual-wallet serials. However, it does not explicitly say when to choose this tool over alternatives like updatePass or when not to use it, so the guidance is implied rather than explicit.

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.