Skip to main content
Glama

Open Shop

Create a checkout

create_checkout

Creates a checkout link for one product the customer has approved buying (customer_approved must be true). Returns an order_id and a link to the customer's order on buyopenshop.com, where they pay on Stripe's secure checkout page and enter their shipping address. Nothing is charged until the customer pays. With ship_to it also returns the sales tax and final total.

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": {
      "sku": "<sku>",
      "customer_approved": "<customer_approved>"
    },
    "name": "create_checkout"
  }
}

Input Schema

NameRequiredDescriptionDefault
skuYesFrom the buy list a find tool returned
ship_toNoThe US address the customer will ship to
quantityNo
agent_nameNo
customer_emailNoPrefills the checkout and the receipt
customer_approvedYesThe customer explicitly approved buying this

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare the safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=true), and the description usefully adds where payment happens (Stripe's page) and that nothing is charged until the customer pays. However idempotentHint=false is never addressed: an agent is not told that repeat calls could create duplicate checkouts, nor whether the returned link expires.

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 sentences, front-loaded with the core action and the approval constraint, then the return values, then the conditional ship_to behavior. Slight redundancy with the schema on the approval flag and shipping-address entry, but nothing is wasteful.

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 correctly carries the return contract (order_id and link, plus tax and total when ship_to is supplied) and clarifies the deferred-payment model. Missing for a mutation tool are duplicate-call behavior and link lifetime, but the agent has enough to invoke it correctly.

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 67%, and the description compensates for part of the gap by explaining why ship_to matters (it unlocks tax and final total) and reinforcing the customer_approved=true gate. quantity (1–5 cap) and agent_name remain unexplained in either the description or the schema, so the compensation is incomplete.

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 ('Creates a checkout link') and immediately narrows scope to 'one product the customer has approved buying', which distinguishes it from the quoting and discovery siblings. An agent can tell what this produces (an order_id plus a payment link) without opening the schema.

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?

Gives a clear precondition ('customer_approved must be true') and a conditional path ('With ship_to it also returns the sales tax and final total'). It does not explicitly say when to prefer quote_order or check_product_fit first, so the routing to those siblings is left implicit.

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