Skip to main content
Glama

Get Mac credit payment link

get_mac_checkout

Creates a checkout link for prepaid Mac credit, for the human to open and pay in their browser; it never charges anything itself. Credit comes in $10 packs (11.1 hours each), 1 to 100 per purchase, never expires, and bigger purchases earn bonus credit; the answer says what to suggest. The same request_key returns the same checkout.

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": {
      "request_key": "<request_key>"
    },
    "name": "get_mac_checkout"
  }
}

Input Schema

NameRequiredDescriptionDefault
packsNoNumber of $10 packs, 1-100 (default 1), from the human's budget or expected hours
request_keyYesIdempotency key you choose (8-128 letters, digits and - _ . :). Repeat a lost call with the same key and arguments; a new key is new work.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / packs / description
      Previous value: -"Number of $10 packs, 1-10 (default 1), from the human's budget or expected hours"New value: +"Number of $10 packs, 1-100 (default 1), from the human's budget or expected hours"
    • changedInput schema / properties / packs / maximum
      Previous value: -10New value: +100
  2. Changed2 schema fields changed
    • changedInput schema / properties / packs / description
      Previous value: -"Number of $10 packs, 1-10. Pick from the human's stated budget or expected hours; 3+ packs earn bonus credit. Default 1."New value: +"Number of $10 packs, 1-10 (default 1), from the human's budget or expected hours"
    • changedInput schema / properties / request_key / description
      Previous value: -"Idempotency key you choose: 8-128 letters, digits, dashes, underscores, dots or colons. Retry a lost response with the same key and identical arguments; use a new key for new work."New value: +"Idempotency key you choose (8-128 letters, digits and - _ . :). Repeat a lost call with the same key and arguments; a new key is new work."
  3. Changed2 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": {},
      -  "description": "The JSON response of the NoMac API for this operation",
      -  "properties": {
      -    "error": {
      -      "additionalProperties": {},
      -      "description": "Present only when the call failed",
      -      "properties": {
      -        "code": {
      -          "description": "Stable machine-readable error code, for example insufficient_credit",
      -          "type": "string"
      -        },
      -        "message": {
      -          "description": "What went wrong and what to do next",
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "code",
      -        "message"
      -      ],
      -      "type": "object"
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  4. Changed1 schema field changed
    • changedInput schema / properties / request_key / description
      Previous value: -"Idempotency key you choose (letters, digits, dash, underscore). Retry a lost response with the same key and identical arguments; use a new key for new work."New value: +"Idempotency key you choose: 8-128 letters, digits, dashes, underscores, dots or colons. Retry a lost response with the same key and identical arguments; use a new key for new work."
  5. Changed1 schema field changed
    • changedInput schema / properties / packs / description
      Previous value: -"Number of $10 packs, 1-10. Pick from the human's stated budget or expected hours; default 1."New value: +"Number of $10 packs, 1-10. Pick from the human's stated budget or expected hours; 3+ packs earn bonus credit. Default 1."
  6. First observed

TDQS

A4/5.0
Behavior5/5

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

Beyond the annotations it discloses that no charge occurs on the tool side, that credit is sold in $10 packs of 11.1 hours, that credit never expires, that larger purchases earn bonuses, and that the response contains a suggestion. It also explains the idempotency contract: reusing request_key returns the same checkout, while a new key is new work. That is exactly the behavioral context the readOnlyHint=false / destructiveHint=false pair cannot convey.

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 sentences, front-loaded with the action and the crucial 'never charges anything itself' caveat. The pricing and bonus facts are compactly packed but dense; the idempotency note is the one clause that could be tightened since the schema also covers it.

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 two-parameter tool with no output schema, the description covers the action, the payment flow, the value of a pack, and the retry contract. The only shortfall is that the return shape of the checkout link itself is only alluded to via 'the answer says what to suggest.'

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 100%, so the baseline is 3, but the description adds real meaning: it explains why 'packs' matters (each pack is 11.1 hours, purchases earn bonus credit) and what the returned answer is meant to drive. It does not restate the request_key pattern, which the schema already covers.

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 opening clause gives a specific verb and resource: 'Creates a checkout link for prepaid Mac credit,' and immediately narrows the scope with 'for the human to open and pay in their browser; it never charges anything itself.' That distinguishes it from a balance-check tool like get_mac_credits without naming a sibling. A sibling name is not present, which keeps it out of the top band.

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: an agent can infer it should call this when a human needs to fund Mac credit, and the 'never charges anything itself' clause signals the human completes payment. There is no explicit when-not guidance (e.g., check remaining credit first with get_mac_credits) and no named alternative.

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