Skip to main content
Glama

BotSpot: AI Trading, Backtests and Bots

Buy BotSpot plans, the Bootcamp, credits and add-ons

purchases
Destructive

Buy anything BotSpot sells without leaving the chat. action="options" lists every item with its exact live price. action="prepare" freezes the price and the saved card and charges nothing. action="confirm" asks the person to confirm (in the chat where the app supports it, otherwise a one-click link) and then charges the saved card once and returns the receipt. Without a saved card, or for items such as payment plans and first Light or Starter purchases, prepare points to create_checkout_link instead. Never confirm without the person asking to buy.

Set "action" to choose the operation. Only send the fields listed for that action.

action="options": List what you can buy

No other fields required. Lists everything BotSpot sells right now with exact prices from the live catalog: plans, the AI Bootcamp, AI credit packs and add-ons. Each entry says whether it can be bought in one click with a saved card or opens the checkout page.

action="prepare": Get an exact price and get ready to buy

Required fields: productSlug. Prepares a purchase of one item from purchases(action="options"). With a saved card it returns the exact item, price and card, and nothing is charged yet: then call purchases(action="confirm") so the person can confirm. Without a saved card, or for items that need the checkout page, it returns the checkout link instead. Show the person the exact price before they confirm.

action="confirm": Confirm and pay

Required fields: purchaseId. Asks the person to confirm a prepared purchase and, once they say yes, charges their saved card exactly once and returns the receipt. In apps that support it the confirmation appears right in the chat; otherwise this returns a one-click confirm link. Never call it without the person asking to buy.

action="status": Check a purchase

Required fields: purchaseId. Shows whether a purchase is waiting, paid, canceled or failed, with the receipt.

action="cancel": Cancel a prepared purchase

Required fields: purchaseId. Cancels a purchase that has not been paid yet. Nothing is charged.

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": {
      "action": "<action>"
    },
    "name": "purchases"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesWhich operation to run: "options", "prepare", "confirm", "status", "cancel". See the tool description for each one.
planKeyNoNeeded when a product has several plans. Used with action="prepare".
purchaseIdNoFrom purchases(action="prepare"). Used with action="confirm", action="status", action="cancel". Required for action="confirm", action="status", action="cancel".
productSlugNoFrom purchases(action="options"). Used with action="prepare". Required for action="prepare".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

The annotations already flag destructive=true / readOnly=false, and the description goes beyond them by disclosing exactly when money moves: prepare charges nothing, confirm charges the saved card exactly once and returns the receipt, cancel only works on unpaid purchases. It also explains the two confirmation mechanisms (in-chat prompt or one-click link) and the no-saved-card fallback, which annotations 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?

Well front-loaded: the summary paragraph establishes the workflow before per-action detail, and headings make the sub-operations scannable. It is on the long side and repeats the safety rule about confirming without the buyer's request, but that repetition is defensible for a payment tool.

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?

For a destructive, money-moving tool with no output schema, the definition covers the full lifecycle (list → prepare → confirm → status/cancel), the pricing-freeze semantics, the receipt on confirm, the alternative tool for checkout-page items, and the confirmation UX. An agent has everything needed to drive the flow without guessing.

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 parameters are already documented, but the description adds per-action requirements (productSlug for prepare, purchaseId for confirm/status/cancel) and provenance for the values (productSlug comes from purchases(action="options"), purchaseId from prepare). It also warns to send only the fields for the chosen action, a constraint absent from the schema. planKey is only mentioned indirectly ("items with several plans"), leaving a small gap.

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 opening sentence states a specific verb+resource (buy items from the BotSpot catalog) and each of the five actions is spelled out with its own heading and effect. It also names the sibling create_checkout_link and the exact condition under which the agent should go there instead, so the tool is clearly separable 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?

Every action carries when-to-use guidance: options lists, prepare freezes price without charging, confirm charges once after the person agrees, status checks, cancel aborts unpaid purchases. The definition also states exclusions — no saved card, or payment plans / first Light or Starter purchases route to create_checkout_link — and gives a hard rule (never confirm without the person asking to buy).

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.