Skip to main content
Glama

Start a gift call purchase (returns a payment link)

buy_gift_call

Start buying a gift: a phone call from Santa for a child in the UK, £6.99. Returns checkout_url, a Stripe Checkout page where the buyer pays by card, Apple Pay or Google Pay (the link works for 30 minutes). Nothing is charged until they pay there. Once paid, we email the gift link to the buyer (and to recipient_email, if given). The parent opens it when the child is ready, adds the child's details, confirms their mobile by text, and Santa rings straight away. Usable until 24 December.

Args: buyer_name: Who the gift is from, as the family will see it (e.g. "Grandma Jean"). buyer_email: The buyer's email, for the receipt and the gift link. recipient_name: Optional. Who it's for, e.g. "Sarah & Tom" (the parents) or the family name. recipient_email: Optional. We email the gift link straight to them once it's paid. message: Optional. A short message shown with the gift (up to 300 characters). promo_code: Optional. A promotion code, if the buyer has one.

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": {
      "buyer_name": "<buyer_name>",
      "buyer_email": "<buyer_email>"
    },
    "name": "buy_gift_call"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageNo
buyer_nameYes
promo_codeNo
buyer_emailYes
recipient_nameNo
recipient_emailNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, openWorldHint=true, idempotentHint=false), the description discloses the entire lifecycle: a Stripe Checkout link valid for 30 minutes, no charge until payment, emails to buyer and recipient_email, and the parent-side flow of adding child details and confirming by text. These are exactly the side effects an agent needs to know before calling a non-idempotent purchase tool.

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?

The purpose and cost are front-loaded in the first sentence, then the flow, then per-argument notes. It is somewhat long for a six-parameter tool, but nearly every sentence adds operational detail (link expiry, no charge until payment, seasonal cutoff) rather than filler.

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

Completeness5/5

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

For a mutation tool with no output schema, the description explains the return value (checkout_url), the payment step, delivery timing and the recipient-side flow. An agent has enough to decide whether to call it and what to expect afterwards.

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

Parameters5/5

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

Schema description coverage is 0%, so the description carries the full burden and does: it marks recipient_name, recipient_email, message and promo_code as optional, explains what each is used for, gives examples ('Grandma Jean', 'Sarah & Tom'), and adds a 300-character limit for message that is not encoded in the schema.

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?

States a specific verb and resource ('Start buying a gift: a phone call from Santa for a child in the UK, £6.99') and names the concrete return value, checkout_url. This is clearly distinguishable from siblings like check_gift_status, get_faq and get_info, which do not initiate purchases.

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 describes the invocation context: a buyer purchasing a gift call, usable until 24 December, with nothing charged until payment. It does not explicitly name check_gift_status as the post-purchase alternative, so the routing to a sibling is implied rather than stated.

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