Skip to main content
Glama
chrischall

myhotlunchbox-mcp

by chrischall

mhlb_init_checkout

Initialize checkout to view the order summary, totals, taxes, applied credits, and available payment methods without charging anything.

Instructions

Start checkout for the cart: returns the order summary, totals, taxes, applied credits and the available payment methods. This does NOT charge anything — it is the read step before mhlb_checkout. NOTE: this write is UNVERIFIED — its request shape was derived from the web app’s compiled API client but has not been exercised against a live account. Inspect the dry-run preview before confirming.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmNoMust be true to proceed. Without this, the tool returns a preview.
orderIdsYesIds of the orders to pay for, from mhlb_get_cart.
couponCodeNoCoupon code to apply to this checkout.
checkoutTypeNoPayment method type, as mhlb_init_checkout reports it. Omit to let the server default.
giftCardCodeNoGift card code to apply to this checkout.
schoolDonationsNoSchool donation selections, as returned by mhlb_init_checkout.
Behavior4/5

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

Annotations indicate readOnlyHint=false and openWorldHint=true. The description adds critical behavioral detail: it is a non-charging read step, but the confirm flag implies potential side effects beyond pure read (e.g., creating a checkout session). It also discloses that the request shape is unverified and advises inspecting the dry-run preview. This adds transparency beyond what annotations provide, though it could have been more explicit about whether confirm triggers any state mutation.

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?

The description is compact: three sentences that front-load the main purpose and return values, followed by a crucial unverified warning. It avoids redundancy and keeps the critical caveat near the end without diluting the core message. Minor excess: 'as mhlb_init_checkout reports it' for checkoutType is a bit circular, but overall efficient.

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?

For a checkout-init tool with no output schema, the description adequately covers purpose, usage sequence, and safety warnings. It references related tools for parameter sources and clarifies the confirm behavior. The main gap is potential side effects of confirm=true (does it create a session or just return preview?), but that is partially covered by the unverified warning. Overall complete for confident invocation.

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 description coverage is 100%, giving a baseline of 3. The description adds cross-references (e.g., orderIds 'from mhlb_get_cart', checkoutType 'as mhlb_init_checkout reports it', schoolDonations 'as returned by mhlb_init_checkout') that tie parameters to their source or expected format. It also clarifies confirm's role. These enrich the schema, justifying a 4.

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 states a specific verb ('Start checkout') and resource ('the cart'), and details what it returns (order summary, totals, taxes, applied credits, payment methods). It also distinguishes itself from mhlb_checkout by labeling itself as the read step before the charging action, making it clearly differentiated from siblings.

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?

Explicitly states when to use it ('the read step before mhlb_checkout') and clarifies what it does not do ('does NOT charge anything'). It also instructs on the confirm flag: without true, returns a preview, with true proceeds. This gives clear operational guidance and anticipates the checkout sequence.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/chrischall/myhotlunchbox-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server