Skip to main content
Glama

Create checkout link

create_checkout_link
Idempotent

Build a bringmethat.com checkout link for the customer's items. Opening checkout_url fills their cart and opens bringmethat.com checkout, where they review the total and pay. Does not charge a card and does not place the order. Validates items and required options first and returns prices, or the problems to fix with the customer. Checkout is the item total plus a 10% markup, the restaurant's own service fee (none for partner restaurants; there is no flat service fee), tax, a $7 delivery fee ($0 for pickup) unless a Habitat or MealMe delivery quote replaces it, and an optional tip. Premium ($9.95/month or $96/year) waives the markup and the service fee, but not delivery, tax, or tip. The card is authorized for that total plus $15 when the total is over $30, otherwise plus 45%. Only the final amount is charged.

Input Schema

NameRequiredDescriptionDefault
itemsYes
fulfillmentYes
restaurant_idYes
delivery_addressNoStreet address for delivery, e.g. '2415 N Ashland Ave, Chicago, IL 60614'. Prefills checkout.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Goes far beyond the annotations: it discloses that no card is charged and no order is placed, that failures return the problems to fix, the full price composition, premium waivers, and the card authorization buffer (+$15 over $30, otherwise 45%). This is exactly the behavioral context an agent needs before telling a customer to open a link.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and non-effects are front-loaded, but the pricing and card-authorization paragraphs are dense and largely explanatory rather than needed to invoke the tool correctly. Several sentences earn their place; the premium tiers and 45%/$15 buffer detail are borderline.

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 does tell the agent what comes back (checkout_url, prices, or problems to fix), which is the key return-value information. It is weaker on the meaning of restaurant_id and the delivery_address prefill behavior, but overall complete enough for correct invocation.

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 only 25%, and the description adds partial meaning for items/options ('validates items and required options first') and fulfillment (delivery fee $0 for pickup). It says nothing about restaurant_id, quantity limits, or delivery_address, so the compensation for the coverage gap 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+resource ('Build a bringmethat.com checkout link for the customer's items') and immediately bounds the effect ('Does not charge a card and does not place the order'), which cleanly separates it from get_menu, get_order_status, and search_restaurants.

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?

The description makes the trigger clear (customer is ready to review total and pay) and says it validates items/options before proceeding. It does not explicitly route to siblings, e.g. that item_id and option names must come from get_menu, leaving that workflow inference to the schema.

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