Skip to main content
Glama

Place order

place_order
Idempotent

Create the real order from a quote_token. Call ONLY after the user has seen the prepare_checkout summary and explicitly confirmed. Returns order id + payment instructions (QR / payment link for bank / vnpay).

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

Input Schema

NameRequiredDescriptionDefault
quote_tokenYesquote_token from prepare_checkout
user_confirmedYesMust be true: the user explicitly confirmed this exact order

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, openWorldHint=true, idempotentHint=true and destructiveHint=false, so safety is partly covered. The description adds real value the annotations cannot: this creates a binding order, and it returns an order id plus payment instructions (QR, bank payment link, vnpay), which tells the agent a payment step follows. The declared idempotency is never explained (e.g. whether resubmitting the same quote_token is safe), which keeps it from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the action, then the hard precondition, then the return payload. No redundant wording and nothing an agent doesn't need.

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?

With only two parameters and no output schema, the description is nearly complete: it covers what is created, the precondition, and what comes back. It omits failure modes such as an expired or already-used quote_token, which matter for an openWorld payment mutation.

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 coverage is 100%, and the description largely restates the schema's own provenance note for quote_token and the confirmation requirement for user_confirmed. It does add the nuance that the user must have seen the prepare_checkout summary before confirming, but with a fully documented schema that is a marginal gain, so the baseline 3 applies.

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?

States a specific verb and resource ("Create the real order") plus the input it derives from (a quote_token), which cleanly separates it from the sibling prepare_checkout that only prepares a quote. An agent can tell exactly what this tool does and what it consumes 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 Guidelines5/5

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

Gives an explicit gating condition: call ONLY after the user has seen the prepare_checkout summary and explicitly confirmed. That names the prerequisite sibling and the state that must exist beforehand, which is the correct when-to-use guidance for a payment step.

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