Skip to main content
Glama

get_wallet_schema

Read-only

Read writable pass design schema indexes or named definitions from Apple's PassKit reference and Google's Wallet API discovery. Follow ref names recursively. Includes source URLs, supported enum values and field constraints. Read the relevant platform guide for lifecycle, supported features, binding rules and newer documented extensions.

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": {
      "provider": "<provider>"
    },
    "name": "get_wallet_schema"
  }
}

Input Schema

NameRequiredDescriptionDefault
namesNoOmit for schema index; request named roots and follow nested ref names for exact field types and enums.
providerYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false and destructiveHint=false, so safety is covered. The description adds real behavior beyond that: recursive following of ref names and the shape of the result (source URLs, supported enum values, field constraints). It does not describe behavior when a name is unknown or how large recursive expansions behave.

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?

Four short sentences, front-loaded with the core read operation, then recursion semantics, then a pointer to guides. Nothing is redundant, though the final guide pointer is slightly tangential to invoking this tool and could be tightened.

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?

With two parameters, one required, and no output schema, the description still explains what comes back (URLs, enums, constraints) and how recursion works, which is what an agent needs here. Minor missing pieces are failure behavior for unknown names and whether the provider choice changes the result structure.

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 only 50%, and the description compensates by mapping 'provider' to the two concrete source APIs and by explaining that names are roots whose nested refs are followed recursively. The index-vs-named-roots distinction lives mainly in the schema, but the description reinforces it enough to call the tool correctly.

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 ('Read writable pass design schema indexes or named definitions') and pins the sources to Apple's PassKit reference and Google's Wallet API discovery. That makes it clearly distinct from the design/document mutation siblings and from the platform-guide skills, which the description itself routes away from.

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?

It gives clear context for use (fetching exact field types and enums) and explicitly redirects the agent to the relevant platform guide for lifecycle, binding rules and feature support, which functions as a use-elsewhere rule. It never names the guide tool itself, so the routing depends on the agent matching 'platform guide' to a sibling.

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.