Skip to main content
Glama
This connector has been deprecated

Replaced by ZapX by ZAP-Hosting.

Duplicate listing. ZapX by ZAP-Hosting is maintained under ZapX by ZAP-Hosting (same endpoint https://zap-hosting.com/api/mcp, verified owner, test profile). Please use that listing.

Preview Order Price

preview_order
Read-onlyIdempotent

Preview an order: checks the combination of product, plan, billing cycle, region and options, and returns the price breakdown and any blockingReasons. Nothing is ordered, reserved or charged. When this connection may order (permission orders.create) and the order is allowed, it also returns confirmation (confirmationCode, chargeSummary, valid 10 minutes) for create_order; otherwise ordering.reason says why not.

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": {
      "productSlug": "<productSlug>",
      "billingCycleSlug": "<billingCycleSlug>"
    },
    "name": "preview_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainsNo
optionsNo
gameSlugNoGame slug from list_orderable_games (gameservers).
planSlugNoPlan slug from list_orderable_plans (products with fixed plans).
regionSlugNoRegion slug from list_orderable_product_regions (products with region choice).
productSlugYesProduct slug from list_orderable_products.
configurationNoProduct-specific configuration, same shape as the REST order body.
resourceConfigNoResource values for configurable products, keyed as listed by list_orderable_plans.
billingCycleSlugYesBilling cycle: 3-day, monthly, quarterly, semi-annual or annual.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, but the description adds real behavioral context beyond them: nothing is ordered, reserved or charged; whether a confirmation is issued depends on the orders.create permission and on the order being allowed; and otherwise ordering.reason explains the refusal. The 10-minute confirmation validity window is the kind of operational detail 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?

Two sentences, front-loaded with the core action and its output, then the conditional confirmation behavior. Dense but every clause carries information; the parenthetical field lists are slightly crowded but not wasteful.

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?

There is no output schema, and the description compensates by naming the key return fields (price breakdown, blockingReasons, confirmationCode, chargeSummary, ordering.reason) and the permission gate. Given the complex nested inputs, an agent still has to rely on the schema for the domains/configuration shapes, but nothing essential for calling it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 78% schema description coverage and 9 parameters (including nested domains/options/configuration objects), the schema already does most of the documenting work, so the baseline of 3 applies. The description only lists the parameter families (product, plan, billing cycle, region, options) and adds no meaning for domains, configuration or resourceConfig beyond what the schema states.

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 opens with a specific verb and resource ("Preview an order") and enumerates exactly what is validated (product, plan, billing cycle, region, options) and what comes back (price breakdown, blockingReasons). It also positions the tool relative to create_order as the downstream consumer, so an agent can identify its role without opening the 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?

Clear usage context: call this before creating an order to learn the price and whether anything blocks it, and the returned confirmation is explicitly tied to a subsequent create_order within 10 minutes. It does not explicitly say when NOT to use it (e.g. versus the preview_*_plan_change siblings for existing resources), leaving that distinction to be inferred.

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