Skip to main content
Glama

Buy a plan, plan change, renewal or add-on

place_order

COSTS MONEY: Buy a plan, plan change, renewal or add-on

Charges the order from your balance (payment.method balance) or a stored card (stripe, optionally with paymentMethodId), then books it, as the plan and add-on dialogs do. Check the price with GET /billing/orders/preview first. If the bank asks for confirmation the status is requires_action and nothing is charged; pay from the balance or book in the dashboard then.

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": {
      "body": "<body>"
    },
    "name": "place_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesThe request fields as one JSON object.
confirmNoLeave out on the first call. EchoCall then answers with a confirmation value. Ask the user for a clear yes, then repeat the call with the same arguments and this value.

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?

Leads with 'COSTS MONEY' — the single most important behavioral fact for a mutating tool with destructiveHint=false and idempotentHint=false. It explains the two funding sources, that nothing is charged while status is requires_action, and that the confirm value must be echoed on a second identical call, which effectively documents the non-idempotent confirm-token pattern.

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 cost warning is correctly front-loaded as the very first token, followed by mechanism, prerequisite, and failure mode in a sensible order. Minor noise: 'as the plan and add-on dialogs do' is a UI reference that does not help an agent decide or call anything.

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 two-parameter mutating tool with deep nesting and no output schema, it covers the essentials: charge source, preview prerequisite, confirmation handshake, and the requires_action outcome. It does not say what a successful response contains or how subscription_change timing/proration is treated, which an agent might want when reporting back to a user.

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 baseline is 3, but the description adds real meaning the schema lacks — the `method` enum is undocumented in the schema, and the description resolves it (balance charges from balance, stripe uses a stored card, optionally with paymentMethodId). It also frames the top-level `confirm` parameter as the second-call echo value, which is clearer than the schema's own wording.

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?

Names a specific verb (buy/charge and book) plus exactly what is being purchased — a plan, plan change, renewal, or add-on — and enumerates the four order kinds that match the schema enum. An agent immediately knows this is the money-moving ordering tool rather than the preview or cancel siblings.

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 prerequisite (check the price via the orders/preview endpoint first), a defined confirm-and-repeat protocol, and a fallback path when the bank returns requires_action. It stops short of explicitly saying when not to use this versus cancel_subscription or cancel_pending_plan_change, so it is strong but not exhaustive.

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.