Skip to main content
Glama

walletmcppass: Apple Wallet passes

Check Apple Wallet pass credits

check_pass_credits
Read-onlyIdempotent

Credits left on a credit_key from buy_pass_credits, and its recent purchases (status pending until the card payment succeeds, then paid).

Returns {credits_left, purchases: [{pack, passes, status, created, paid_at}]}.

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": {
      "credit_key": "<credit_key>"
    },
    "name": "check_pass_credits"
  }
}

Input Schema

NameRequiredDescriptionDefault
credit_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds meaning beyond that by explaining the purchase status lifecycle (pending until card payment succeeds, then paid), which an agent could not infer from annotations or schema. It stops short of describing error behavior or how 'recent' is bounded.

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?

Two short sentences with no filler, front-loading what is returned before the status caveat. The fragmentary phrasing is economical rather than padded, though a complete clause would read more cleanly.

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 no output schema, the description compensates well by sketching the return shape ({credits_left, purchases: [...]}) and the status enum semantics. It is nearly complete for a single-parameter read tool; only the definition of 'recent' and error cases are left unstated.

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 0%, so the description must carry the single credit_key parameter, and it does so only indirectly by tying it to buy_pass_credits. It adds useful origin context but no format, validity, or scope details beyond that.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the specific resource (credits remaining on a credit_key) and the associated resource (recent purchases) with their status lifecycle, and ties the key back to buy_pass_credits. It is somewhat elliptical as a sentence fragment, but an agent can still tell exactly what this returns and how it differs from the create/update wallet pass siblings.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the phrase 'from buy_pass_credits' tells the agent where the credit_key originates, which is genuine guidance. However, there is no explicit when-to-use/when-not, no statement about what to do with an unknown or expired key, and no named alternative for checking balances.

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.

Resources