Skip to main content
Glama

create_order

Destructive

Create a ManaBuy order and return payment information. This is a high-risk action: call it only after explicit user confirmation.

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": {
      "productCode": "<productCode>",
      "skuCode": "<skuCode>",
      "payMethodCode": "<payMethodCode>",
      "orderInfoMap": "<orderInfoMap>"
    },
    "name": "create_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
skuCodeYesSelected SKU code.
urlNameNoProduct URL name.
couponIdNoOptional coupon ID as string.
skuCountNoQuantity.
couponCodeNoOptional coupon code.
ipCurrencyNoOptional detected local currency.
extraParamsNoPayment/channel specific extra params.
productCodeYesManaBuy product code.
orderInfoMapYesGame/account fields required by the product, for example { userId: '123456', server: 'Asia' }.
payMethodCodeYesPayment method code, for example AirWallex_Card.
promotionCodeNoOptional promotion code.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so the danger profile is known from structured data. The description reinforces this with "high-risk action" and adds a real behavioral requirement not in the annotations — an explicit user-confirmation precondition — but it says nothing about idempotency, retry safety, or what is actually created/charged on failure.

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 tight sentences with the action first and the safety constraint second; nothing is wasted. It is slightly under-informative rather than over-long, but structurally sound and front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 11 parameters, nested objects, no output schema, and a payment/creation side effect, the description covers the purpose, the return value at a high level, and the confirmation gate. It leaves out the relationship to quote_order and any failure or duplicate-submission behavior, which matter for a destructive create in an open-world commerce flow.

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?

Schema description coverage is 100%, including nested orderInfoMap and extraParams, so the schema carries parameter meaning fully. The description adds no product/payment semantics beyond the schema baseline, which is acceptable but not additive.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Create a ManaBuy order") plus the side effect of returning payment information, which is more than a restatement of the name. It does not differentiate itself from the sibling quote_order, so an agent cannot tell from the description alone whether to price first or create directly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives one explicit gate: call only after explicit user confirmation. That is genuine usage guidance but it addresses safety, not selection — there is no statement of when to prefer this over quote_order or how it relates to get_order_status/get_order_detail afterwards. Usage is therefore implied rather than fully specified.

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