Skip to main content
Glama

Create a checkout link

hip_create_checkout

Create a Stripe Checkout link for the job so the person pays on haveitprinted.com. This does NOT take payment: the person completes payment at checkout_url. Call it after hip_quote (show them the quote first); to pay with no person, use hip_prepare_payment and hip_complete_payment (when listed) instead. Returns checkout_url; then follow payment with hip_get_checkout_status.

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": {
      "job_handle": "<job_handle>"
    },
    "name": "hip_create_checkout"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_handleYesthe job_handle that hip_create_job returned (job_ followed by 32 hex characters). Only the API key that created the job can use it.
customer_emailNofor the receipt and tracking email

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / customer_email / format
      Added value: +"email"
    • addedInput schema / properties / job_handle / description
      Added value: +"the job_handle that hip_create_job returned (job_ followed by 32 hex characters). Only the API key that created the job can use it."
    • addedInput schema / properties / job_handle / examples
      Added value: +[
      +  "job_0123456789abcdef0123456789abcdef"
      +]
    • addedInput schema / properties / job_handle / pattern
      Added value: +"^job_[0-9a-f]{32}$"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

The most consequential non-obvious behavior is disclosed: 'This does NOT take payment' while annotations only say readOnlyHint=false and destructiveHint=false, which would leave the mutation's actual effect ambiguous. It also states the follow-up tool (hip_get_checkout_status) and names the response field. It stops short of covering link expiry or what happens if a link is created twice, though idempotentHint=false already signals repeat calls are not deduplicated.

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, front-loaded with what the tool is and the key misconception it prevents (no payment taken), then sequencing, then the alternative, then the return field. Nothing is redundant with the title or schema.

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?

Complete for a non-destructive mutation whose return value is covered by an output schema and whose parameters are 100% documented: the description covers purpose, ordering, negative behavior, and next step. The only gap is lifecycle detail (does checkout_url expire, can it be reused), which an agent would otherwise have to discover at runtime.

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 100%, so both parameters (job_handle pattern/provenance, customer_email purpose, and the API-key ownership constraint) are already fully documented in the schema. The description only implies the job targeting via 'for the job' and adds no syntax or constraint beyond that, so baseline applies.

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 ('Create a Stripe Checkout link for the job') plus the concrete outcome domain (payment happens on haveitprinted.com). It also explicitly separates itself from payment-execution siblings, so an agent can pick it without opening another schema.

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

Usage Guidelines5/5

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

Gives explicit sequencing ('Call it after hip_quote (show them the quote first)') and names the alternative path for the no-person case (hip_prepare_payment / hip_complete_payment) with the condition that selects it. When-to-use and when-to-use-something-else are both present.

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