Skip to main content
Glama

getPassBySerial

Read-onlyIdempotent

Get a pass by serial number

Returns the full details of a single pass looked up by serial number. When a serial has both Apple and Google passes, use ?wallet_type= to select which one (defaults to apple).

Scope: passes:read

Maps to OpenAPI operationId getPassBySerial — GET /manage-passes/serial/{serial_number}.

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
x_app_idNoOverride X-App-Id for this call. Omit the connection header by default; set it only for multi-app orgs.
wallet_typeNoWallet type to look up when a serial number has both Apple and Google passes. Defaults to `apple` for backward compatibility. apple
serial_numberYesPass serial number (unique within app + wallet type).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / x_app_id / description
      Previous value: -"Override X-App-Id for this call. Defaults to the MCP connection header."New value: +"Override X-App-Id for this call. Omit the connection header by default; set it only for multi-app orgs."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

The annotations already establish that the tool is read-only, idempotent, and non-destructive. The description adds useful behavioral context: the default wallet_type is `apple`, the scope is `passes:read`, and it maps to a specific GET endpoint with normal PassFast API billing and rate limits.

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 front-loaded with the core purpose and then adds relevant usage details about wallet_type, scope, and endpoint mapping. The operational caveats about billing and not inventing paths are somewhat boilerplate, preventing a perfect conciseness score, but the overall length is reasonable and well-organized.

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 read-only GET lookup, the definition is largely complete: all parameters are well documented in the schema, annotations cover safety, and the description explains the key wallet_type behavior. It could be slightly more complete by describing the response shape or explicitly routing agents to getPass when they have a pass ID, but those are minor gaps.

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?

The input schema already provides 100% description coverage, including serial_number uniqueness, wallet_type enum/default, and x_app_id override semantics. The description mostly restates the wallet_type default rather than adding new parameter meaning beyond the schema, so the baseline score of 3 is appropriate.

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?

The description opens with a specific verb and resource: 'Get a pass by serial number', then elaborates with 'Returns the full details of a single pass looked up by serial number.' This clearly differentiates the tool from sibling pass-lookup tools by identifying the exact lookup mechanism, and the OpenAPI mapping reinforces the unique endpoint.

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

Usage Guidelines4/5

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

The description gives clear context: this tool is for retrieving a pass when a serial number is known, and it explains how to handle the Apple/Google wallet ambiguity via `?wallet_type=`. It does not explicitly name sibling alternatives like getPass or state when not to use this tool, so it misses the highest bar for alternatives guidance.

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.