Skip to main content
Glama
walletap

@walletap/mcp-server

Official
by walletap

update_pass

Destructive

Modify an existing wallet pass by updating custom fields, adjusting stamps or balance, or setting validity. Identify the pass by ID or external ID and template ID to apply changes.

Instructions

Update an existing pass's fields, stamps, or balance. Use this to modify customer data, add/remove loyalty stamps, adjust balance, or invalidate a pass. Identify the pass by ID or by externalId + templateId.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoPass ID (use this OR externalId + templateId)
isValidNoSet pass validity (false = voided/greyed out)
externalIdNoExternal ID (must be combined with templateId)
templateIdNoTemplate ID (required when using externalId)
customFieldsNoCustom metadata to update (string or number values)
stampOperationNoStamp collection operation (for stamp cards)
templateFieldsNoTemplate field values to update. Values must be strings or numbers. Dates accept 'YYYY-MM-DD' or a full ISO 8601 timestamp.
redemptionValueNoUpdate NFC redemption value
balanceOperationNoBalance operation (for gift cards / prepaid)
Behavior3/5

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

The destructiveHint annotation already signals mutation, and the description adds specific behaviors like invalidating a pass and adjusting balance. However, it does not disclose additional traits such as permission requirements, reversibility, or side effects on related data. Given the annotation, this is adequate but not rich.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two concise sentences that front-load the core action ('Update an existing pass's...') followed by usage examples. Every word contributes value with no redundancy or irrelevant details.

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 tool with 9 parameters and nested objects, the description provides a solid high-level overview of functionality and identification methods. It groups operations into logical categories (fields, stamps, balance) and covers invalidation. The schema handles detailed parameter semantics, so the description does not need to enumerate everything. It is sufficiently complete for an agent to understand when and how to invoke it.

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?

Schema description coverage is 100%, so all parameters are already documented. The description adds a useful identification note ('by ID or by externalId + templateId') which is also present in the schema properties, but it does not introduce new meaning beyond grouping operations into stamps, balance, and fields. This meets the baseline for high coverage.

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 clearly states 'Update an existing pass's fields, stamps, or balance' with a specific verb and resource. It explicitly lists the modification aspects (fields, stamps, balance) and mentions invalidation, making it distinct from siblings like create_pass, get_pass, and list_passes.

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 provides direct usage scenarios: 'modify customer data, add/remove loyalty stamps, adjust balance, or invalidate a pass.' It implicitly differentiates from creation by specifying 'existing pass,' but it does not explicitly mention when not to use it or name alternative tools for creation, such as create_pass.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/walletap/walletap-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server