Skip to main content
Glama

Buy credits

create_checkout

Free to call; returns a checkout URL your human opens to pay. Without product: $5 = 500 credits for this exact key, works on unclaimed self-serve keys. With product (key claimed at https://awesomevideoeditor.com/account): pack_5 $5=500, pack_20 $20=2,200, pack_50 $50=6,000 credits; plans creator $9/mo=1,200, pro $29/mo=4,500, scale $99/mo=18,000 credits/month (interval year = 10x monthly). 1 credit = 1 cent. Credits arrive after payment; then retry the call that returned 402.

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
api_keyNoOnly for a connection without an Authorization header: the token create_key returned (av_live_...). Pass it on every call to use that key in this same session, no reconnect or config change. Ignored when the connection already sends a key. It works like a password: create a new key if this conversation is shared.
productNoPack or plan. Omit for $5 = 500 credits on this key (no account needed).
intervalNoBilling interval for plans: month (default) or year (10x the monthly price, 12 grants). Ignored for packs.

Output Schema

NameRequiredDescriptionDefault
totalNoTotal number of items (paginated lists).
resultNoThe value, when the tool returns something other than an object.
hasMoreNotrue when more items are available (paginated lists).
nextCursorNoPass as cursor for the next page (paginated lists).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / api_key
      Added value: +{
      +  "description": "Only for a connection without an Authorization header: the token create_key returned (av_live_...). Pass it on every call to use that key in this same session, no reconnect or config change. Ignored when the connection already sends a key. It works like a password: create a new key if this conversation is shared.",
      +  "type": "string"
      +}
  2. Changed3 schema fields changed
    • changedInput schema / properties / product / description
      Previous value: -"pack_5 ($5 = 500 credits), pack_20 ($20 = 2,200), pack_50 ($50 = 6,000) one-time packs, or plans creator ($9/mo = 1,200/mo), pro ($29/mo = 4,500/mo), scale ($99/mo = 18,000/mo)."New value: +"Pack or plan. Omit for $5 = 500 credits on this key (no account needed)."
    • removedInput schema / required
      Removed value: -[
      -  "product"
      -]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": {},
      +  "description": "Tool result as JSON.",
      +  "properties": {
      +    "hasMore": {
      +      "description": "true when more items are available (paginated lists).",
      +      "type": "boolean"
      +    },
      +    "nextCursor": {
      +      "description": "Pass as cursor for the next page (paginated lists).",
      +      "type": "string"
      +    },
      +    "result": {
      +      "description": "The value, when the tool returns something other than an object."
      +    },
      +    "total": {
      +      "description": "Total number of items (paginated lists).",
      +      "type": "number"
      +    }
      +  },
      +  "type": "object"
      +}
  3. Changed2 schema fields changed
    • addedInput schema / properties / interval / description
      Added value: +"Billing interval for plans: month (default) or year (10x the monthly price, 12 grants). Ignored for packs."
    • addedInput schema / properties / product / description
      Added value: +"pack_5 ($5 = 500 credits), pack_20 ($20 = 2,200), pack_50 ($50 = 6,000) one-time packs, or plans creator ($9/mo = 1,200/mo), pro ($29/mo = 4,500/mo), scale ($99/mo = 18,000/mo)."
  4. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past the annotations by disclosing that calling is free, that a human must open the returned URL, that credits only arrive after payment, and that a 402-triggering call should be retried afterward. That is precisely the async/payment-flow context annotations like openWorldHint and idempotentHint=false cannot convey.

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 the highest-value fact (free, returns a pay URL) and then packs a price/credit table into one dense block. The semicolon-chained pricing clause is hard to scan but every element is load-bearing.

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?

An output schema exists, so the description rightly skips return-value documentation and instead spends its words on pricing, prerequisites, and the post-payment retry loop. Nothing an agent needs in order to call this correctly 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 100%, so the baseline is 3, but the description earns more by mapping each product enum to concrete credit amounts and by clarifying that interval is ignored for packs and multiplies price/grants by 10x for annual plans. It adds commercial meaning the enum values alone do not.

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?

Opens with a specific verb and outcome: returns a checkout URL the user opens to pay, which is unmistakably distinct from render/mutation siblings like create_clips or transcribe. It also encodes scope up front ('free to call'), so an agent knows this is a no-cost, side-effect-limited call.

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?

Gives a clear decision rule for the two modes: omit product for unclaimed self-serve keys, supply product only when the key is claimed at the account URL. It also names the trigger for invocation ('then retry the call that returned 402'), though it never states the negative case or what to do if the user refuses to pay.

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