Skip to main content
Glama

PassFast

updateTemplate

Idempotent

Update a template

Updates a draft template. Published templates cannot be modified.

Scope: templates:manage

Maps to OpenAPI operationId updateTemplate — PATCH /manage-templates/{id}.

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesTemplate ID.
nameNo
x_app_idNoOverride X-App-Id for this call. Defaults to the MCP connection header.
structureNoComplete pass structure. Drives both Apple `pass.json` emission and Google Wallet class/object JSON. Fields are grouped below by platform, but the single JSONB object carries all of them for dual-wallet templates.
pass_styleNoApple Wallet pass style.
descriptionNo
field_schemaNo
wallet_typesNoWallet platforms this template supports.
icon_image_idNo
logo_image_idNo
strip_image_idNo
google_pass_typeNo
thumbnail_image_idNo
background_image_idNo
google_logo_image_idNo
google_wide_logo_image_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false), the description adds valuable context: draft-only modification, required scope `templates:manage`, the exact PATCH path, and a warning not to invent other paths. It does not contradict the annotations and gives more operational detail than the structured fields alone.

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 five short sentences, front-loaded with the core action and constraint, followed by scope, path, and API context. Every sentence earns its place; there is no repetition or fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and a complex 16-parameter nested input, the description should clarify return behavior, partial update semantics, and what 'updating a template' actually changes. It only covers draft-only status and API constraints, leaving critical usage details unspecified for an agent to call it correctly.

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

Parameters2/5

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

Schema description coverage is only 31%, and the description adds no parameter-level guidance. It does not explain partial versus full updates, which fields can be changed, how the `structure` object is merged, or the role of image IDs. The agent must rely entirely on the under-covered schema, making this a significant gap.

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 a specific action ('Update a template') and adds the key constraint 'Updates a draft template. Published templates cannot be modified.' This distinguishes it from siblings like createTemplate, deleteTemplate, and publishTemplate without needing to inspect their schemas.

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 explicitly says published templates cannot be modified, which tells the agent when NOT to use this tool. It also names the scope and API path. However, it does not mention alternatives such as createTemplate or publishTemplate by name, so it stops short of full routing 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.