Skip to main content
Glama

quote_order

Read-only

Quote an order before creation. Use this to show the user final price, discounts, and payable amount.

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

Input Schema

NameRequiredDescriptionDefault
orderNoNoExisting order number when requoting.
skuCodeYesSelected SKU code.
urlNameNoProduct URL name.
couponIdNoOptional user coupon ID.
skuCountNoQuantity.
couponCodeNoOptional coupon code.
ipCurrencyNoOptional detected local currency.
productCodeYesManaBuy product code.
promotionCodeNoOptional promotion code.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so safety is covered. The description adds useful context that this is a pre-creation pricing preview whose result is user-facing pricing data, but it says nothing about whether coupon/promotion codes are validated, how currency is resolved, or whether a quote expires or reserves stock.

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?

Two short sentences, front-loaded with the purpose and followed by the usage rationale; there is no redundant or filler wording.

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?

For a nine-parameter tool with no output schema, the description usefully covers the return semantics (price, discounts, payable amount) and the call ordering. It still leaves the requote path and coupon/currency behavior unexplained, which matters for correct invocation.

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%, so all nine parameters are documented in the schema and the baseline is 3. The description adds no parameter-level meaning, notably nothing about when to supply orderNo (requote) versus a fresh quote, or how couponId and couponCode relate.

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 ('Quote an order') and adds the key temporal qualifier 'before creation', so an agent can distinguish it from create_order and get_order_detail 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?

Gives clear situational guidance ('before creation') and a concrete reason to call it (show the user final price, discounts, payable amount). It does not name create_order as the explicit follow-up or state when-not to quote, so it stops short of full alternative routing.

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