Skip to main content
Glama

publish_wallet_design

Destructive

Publish a paired Apple and Google Wallet design in one operation. Read both working documents first, then supply each reviewed sourceHash and draftId. For a side that should stay live, use its live sourceHash and omit draftId. Publish only when requested. Compatible saved passes update asynchronously.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "target": "<target>",
      "apple": "<apple>",
      "google": "<google>"
    },
    "name": "publish_wallet_design"
  }
}

Input Schema

NameRequiredDescriptionDefault
appleYes
googleYes
targetYesPaired wallet target with kind wallet and its eventId and designId.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and openWorldHint=true, so the safety profile is covered. The description adds behavior the annotations cannot express: publishing requires prior review of both documents, live sides are preserved by omitting draftId, and "Compatible saved passes update asynchronously" warns that effects outlive the call. It still says nothing about what happens to the previous live version or whether publishing is reversible.

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?

Four short sentences, each carrying distinct information: what it does, the prerequisite read step, the live-side rule, and the async propagation caveat. The action statement is front-loaded and nothing is repeated from the schema verbatim.

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 destructive, non-idempotent, nested-object mutation with no output schema, the description covers the essentials an agent needs to call it correctly: prerequisites, per-side arguments, live-side preservation, and async side effects. The remaining gap is the target object's alternate identifier fields and the return outcome of a publish, which matters given no output schema.

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?

At 33% schema description coverage, the description does meaningful work by explaining the apple/google pairing contract (reviewed sourceHash plus draftId per side, omit draftId to keep live), which the schema only states per-field in isolation. However, it says nothing about the target object's other nested identifiers (pageId, emailId, eventId, designId, pageSlug) or the non-wallet kinds in the enum, leaving a large part of the coverage gap unfilled.

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?

"Publish a paired Apple and Google Wallet design in one operation" names a specific verb (publish), a specific resource (paired Apple+Google Wallet design), and scope (both sides atomically). This clearly separates it from publish_email_draft and publish_page_draft, which act on other target kinds, without needing to open any schema.

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 real preconditions and exclusions: read both working documents first, pass reviewed sourceHash and draftId, omit draftId for a side that stays live, and "Publish only when requested" as an explicit gating condition. It does not name sibling publish tools as alternatives for non-wallet targets, so it stops just short of a fully routed 5.

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.