Skip to main content
Glama

Create a checkout link

create_checkout

Creates a Meria checkout for the jars the buyer chose and returns the link for them to pay. One of each is priced as the Duo automatically. Up to 10 jars of each. For a subscription, send the buyer to https://meria.us/subscription instead.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_checkout"
  }
}

Input Schema

NameRequiredDescriptionDefault
hair_cream_jarsNoJars of Meria Botanical Hair Cream ($68 each, 4 oz / 113 g), 0 to 10. One skin plus one hair is priced as the Duo.
skin_cream_jarsNoJars of Meria Botanical Skin Cream ($88 each, 4 oz / 113 g), 0 to 10.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / hair_cream_jars / description
      Added value: +"Jars of Meria Botanical Hair Cream ($68 each, 4 oz / 113 g), 0 to 10. One skin plus one hair is priced as the Duo."
    • addedInput schema / properties / skin_cream_jars / description
      Added value: +"Jars of Meria Botanical Skin Cream ($88 each, 4 oz / 113 g), 0 to 10."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false, and destructiveHint=false, so the safety bar is lower; the description still adds real domain behavior: a payment link is returned, the Duo bundle price is applied automatically, and quantities are capped. It stops short of saying whether repeated calls create separate live checkouts or how long a link remains valid, which matters given idempotentHint=false.

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?

Three short sentences, front-loaded with purpose before the pricing and routing details. The 'Up to 10 jars of each' sentence duplicates the schema's maximum, so it is slightly redundant, but nothing else is wasted.

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 states the return value (a payable link), and it covers the pricing rule and the subscription escape hatch appropriate to a checkout-creation tool. The main remaining gap is that all parameters are optional, so nothing tells an agent what a valid call looks like when no jars are specified.

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%, and the schema already documents prices, sizes, ranges, and the Duo rule, so the description's 'One of each is priced as the Duo automatically' and 'Up to 10 jars of each' largely restate structured data. It adds no new parameter-level meaning, so the baseline 3 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?

The description uses a specific verb and resource ('Creates a Meria checkout') and states the outcome ('returns the link for them to pay'), which immediately distinguishes it from the informational siblings check_ingredients, get_product, and list_products. An agent can tell this is the transactional endpoint without inspecting any 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?

It gives an explicit exclusion and redirect: 'For a subscription, send the buyer to https://meria.us/subscription instead,' plus the quantity ceiling of 10 jars per type. It does not discuss how the two jar parameters interact (for example, whether both can be zero), but the primary when-not case is covered.

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