Skip to main content
Glama

ohmyho.st

Create or resume an owner's hosted Stripe Checkout

billing_checkout_create
DestructiveIdempotent

Owner-only. Create or resume a hosted Checkout and return its payment URL. Paid is USD 10 per month. Each top-up pack costs USD 10 before tax. A purchase grants 100 credits per dollar through USD 100 and 125 per dollar above it. Monthly Paid credits expire at period end and top-up credits have no expiry. An existing active, overdue, unpaid or paused subscription cannot be replaced here. Top-ups require active Paid access. The same offer, pack count and idempotency key identify the original checkout. Available at zero credits.

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": {
      "idempotency_key": "<idempotency_key>",
      "organization_id": "<organization_id>",
      "offer": "<offer>",
      "packs": "<packs>"
    },
    "name": "billing_checkout_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
offerYes
packsYesPaid requires exactly one pack.
idempotency_keyYesIdentifies one mutation and its canonical request payload; only letters, digits and the characters . _ : - are accepted.
organization_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=true, openWorldHint=true), the description explains the resume/idempotency contract — the same offer, pack count and idempotency key identify the original checkout — which is exactly what makes the idempotent hint meaningful. It also discloses authorization (owner-only), prerequisites (active Paid for top-ups), pricing, credit grant tiers, and expiry rules, so the agent understands the financial and irreversible consequences of the call.

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 core action and return value are front-loaded in the first sentence, followed by pricing and eligibility constraints; nearly every sentence carries decision-relevant policy. It is a dense single paragraph with no formatting, so the eligibility exclusions are somewhat buried mid-block rather than surfaced.

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 destructive, open-world mutation with no output schema, the description covers what is produced (a payment URL), who may call it, pricing and credit consequences, and repeat-call behavior. Remaining gaps are minor — tax handling is only touched as 'before tax' and failure modes for an invalid resume key are not described.

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?

With only 50% schema description coverage, the description compensates for the undocumented fields: it explains the meaning of the offer values (Paid at USD 10/month vs. top-up packs at USD 10 pre-tax), how packs interact with the offer, and that offer + pack count + idempotency key together form the request identity. organization_id is only implicitly covered by 'Owner-only', leaving one required parameter without semantic elaboration.

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?

"Create or resume a hosted Checkout and return its payment URL" gives a specific verb pair (create/resume), a specific resource (hosted Checkout), and states the return value. The 'resume' framing plus the billing_checkout_create name makes it distinguishable from the read-only billing_checkout_get sibling without opening either 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?

The description gives concrete when-not conditions: an existing active, overdue, unpaid or paused subscription cannot be replaced here, top-ups require active Paid access, and the flow is owner-only and usable at zero credits. It stops short of naming the alternative path (e.g. billing_portal_create) for managing an existing subscription, so the agent must infer where to route those users.

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.