Skip to main content
Glama

Create a product

create_product

Adds a product to a page's catalogue. It is not on the page until a product block places it there — use put_page for that. For something delivered after payment, like a course or a download, set deliveryUrl. To charge every week, month or year, set kind to subscription and an interval. Show the title, price and currency, and for a subscription how often it charges. Before calling, show the person exactly what will be saved and get their explicit yes in the conversation. Never assume a currency.

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": {
      "business": "<business>",
      "title": "<title>",
      "pricing": "<pricing>"
    },
    "name": "create_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoone_time (the default) or subscription: Stripe charges the buyer every interval until they or the owner cancel. Set when the product is created; it cannot be changed after. A subscription needs the Pro plan and Stripe pricing, and has no stock limit or quantity.
titleYesWhat the product is called.
policyNoRefund and terms shown to the customer before they book.
pricingYesHow it is paid for. "stripe" takes real money and needs Stripe connected; "display" only shows a price; "free" is no charge. Ask the person which currency they charge in before suggesting a price — never assume US dollars, and say the currency whenever you quote an amount.
supportNoHow a customer reaches the seller about a booking.
businessYesThe page handle, as it appears in keepp.link/<handle>.
intervalNoHow often a subscription is charged. Required for a subscription; ignored otherwise.
mediaUrlsNoUp to 5 image URLs. Outside images are downloaded and stored on Keepp; nothing needs uploading.
questionsNoExtra questions asked of the customer. Send the list back as get_product or get_booking_unit gave it.
stockLimitNoHow many can be sold; null for unlimited.
deliveryUrlNoWhat a buyer gets after paying: the course, download or file link. Shown on the buyer's order page once they have paid (their confirmation email links there, and never contains it).
descriptionNo
quantitySelectableNoWhether a buyer can choose how many to buy.
deliveryInstructionsNoShown with the delivery link on the buyer's order page after paying.

Output Schema

NameRequiredDescriptionDefault
titleNo
createdYesFalse when the person declined, and nothing was created.
productIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / interval
      Added value: +{
      +  "description": "How often a subscription is charged. Required for a subscription; ignored otherwise.",
      +  "enum": [
      +    "week",
      +    "month",
      +    "year"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / kind
      Added value: +{
      +  "description": "one_time (the default) or subscription: Stripe charges the buyer every interval until they or the owner cancel. Set when the product is created; it cannot be changed after. A subscription needs the Pro plan and Stripe pricing, and has no stock limit or quantity.",
      +  "enum": [
      +    "one_time",
      +    "subscription"
      +  ],
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / pricing / description
      Previous value: -"How it is paid for. \"stripe\" takes real money and needs Stripe connected; \"display\" only shows a price; \"free\" is no charge. Free and display need a Pro plan. Ask the person which currency they charge in before suggesting a price — never assume US dollars, and say the currency whenever you quote an amount."New value: +"How it is paid for. \"stripe\" takes real money and needs Stripe connected; \"display\" only shows a price; \"free\" is no charge. Ask the person which currency they charge in before suggesting a price — never assume US dollars, and say the currency whenever you quote an amount."
  3. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, but the description adds genuinely non-obvious behavior: the created product is inert until a block places it, and the agent must obtain explicit user confirmation before writing. It does not address the non-idempotent hint's practical consequence (repeated calls creating duplicate products) or any plan/auth prerequisite for the call itself, so it falls just short of the top mark.

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?

Front-loaded with purpose and the put_page distinction, then the recurring and delivery cases, then the consent gate. Mostly every sentence earns its place, though "Show the title, price and currency, and for a subscription how often it charges" overlaps with the confirmation instruction and "Never assume a currency" repeats the currency property's own warning.

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 14-parameter mutation tool with nested objects, the description covers the risky, decision-driving parts (currency ambiguity, subscription irreversibility, post-payment delivery, user consent) while the schema at 93% coverage and an output schema handle field-level detail. Nothing an agent needs in order to call this safely is missing.

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 93%, so the baseline is 3; the description earns above that by tying parameters into scenarios rather than restating them — deliveryUrl for courses/downloads, kind+interval as a pair for weekly/monthly/yearly billing. It still leaves policy, support, mediaUrls, questions, stockLimit and quantitySelectable entirely to 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?

"Adds a product to a page's catalogue" gives a specific verb and resource, and the very next clause draws the boundary against sibling put_page ("It is not on the page until a product block places it there"). An agent can immediately tell create_product apart from put_page and update_product without opening a 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?

Explicit routing guidance: use put_page to actually place the product on a page, set deliveryUrl for post-payment deliverables, set kind=subscription plus an interval for recurring charges. It also states a hard precondition (show the person exactly what will be saved and get explicit consent) and an exclusion (never assume a currency), which is stronger than most guidance.

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