Skip to main content
Glama

Tanatasa Beauty

get_order

Read-onlyIdempotent

Check an order: payment and delivery status, items, tracking and any cancellation or return request. Works for orders this session or account connection placed (guest_token for guests) and, with account_token, any of the signed-in customer's orders. Once paid it includes referral: show the buyer referral.display_text exactly as written: it gives them their referral code and a message for them to send to friends and family (referral.share_message); never present that message as addressed to the buyer. Read-only; to cancel or return, use request_order_change.

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": {
      "order_id": "<order_id>"
    },
    "name": "get_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
order_idYesorder_id from prepare_payment, get_checkout or list_orders, e.g. TN-…
guest_tokenNoPrivate guest session token from create_cart. Retain for cart, checkout and purchase-status calls; no account login needed.
account_tokenNoPrivate account token from sign_in, after the customer gave you the code from their email. Lets quotes and checkout use their cashback credit, and opens their orders.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "anyOf": [
      -    {
      -      "$schema": "http://json-schema.org/draft-07/schema#",
      -      "additionalProperties": true,
      -      "properties": {
      -        "currency": {
      -          "const": "SGD",
      -          "type": "string"
      -        },
      -        "items": {
      -          "items": {
      -            "additionalProperties": true,
      -            "properties": {
      -              "name": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "quantity": {
      -                "type": "integer"
      -              },
      -              "unit_price": {
      -                "description": "Integer SGD cents; 1690 means S$16.90.",
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "variant_id": {
      -                "type": "integer"
      -              }
      -            },
      -            "required": [
      -              "variant_id",
      -              "name",
      -              "quantity",
      -              "unit_price"
      -            ],
      -            "type": "object"
      -          },
      -          "type": "array"
      -        },
      -        "money_unit": {
      -          "const": "cents",
      -          "type": "string"
      -        },
      -        "order_id": {
      -          "type": "string"
      -        },
      -        "payment_confirmed": {
      -          "type": "boolean"
      -        },
      -        "status": {
      -          "type": "string"
      -        },
      -        "total": {
      -          "description": "Integer SGD cents; 1690 means S$16.90.",
      -          "minimum": 0,
      -          "type": "integer"
      -        }
      -      },
      -      "required": [
      -        "currency",
      -        "money_unit",
      -        "order_id",
      -        "status",
      -        "total"
      -      ],
      -      "type": "object"
      -    },
      -    {
      -      "additionalProperties": true,
      -      "properties": {
      -        "error": {
      -          "additionalProperties": true,
      -          "properties": {
      -            "code": {
      -              "type": "string"
      -            },
      -            "message": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "code",
      -            "message"
      -          ],
      -          "type": "object"
      -        }
      -      },
      -      "required": [
      -        "error"
      -      ],
      -      "type": "object"
      -    }
      -  ],
      -  "type": "object"
      -}New value: +null
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "anyOf": [
      +    {
      +      "$schema": "http://json-schema.org/draft-07/schema#",
      +      "additionalProperties": true,
      +      "properties": {
      +        "currency": {
      +          "const": "SGD",
      +          "type": "string"
      +        },
      +        "items": {
      +          "items": {
      +            "additionalProperties": true,
      +            "properties": {
      +              "name": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "quantity": {
      +                "type": "integer"
      +              },
      +              "unit_price": {
      +                "description": "Integer SGD cents; 1690 means S$16.90.",
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "variant_id": {
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "variant_id",
      +              "name",
      +              "quantity",
      +              "unit_price"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "money_unit": {
      +          "const": "cents",
      +          "type": "string"
      +        },
      +        "order_id": {
      +          "type": "string"
      +        },
      +        "payment_confirmed": {
      +          "type": "boolean"
      +        },
      +        "status": {
      +          "type": "string"
      +        },
      +        "total": {
      +          "description": "Integer SGD cents; 1690 means S$16.90.",
      +          "minimum": 0,
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "currency",
      +        "money_unit",
      +        "order_id",
      +        "status",
      +        "total"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "additionalProperties": true,
      +      "properties": {
      +        "error": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "code": {
      +              "type": "string"
      +            },
      +            "message": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "code",
      +            "message"
      +          ],
      +          "type": "object"
      +        }
      +      },
      +      "required": [
      +        "error"
      +      ],
      +      "type": "object"
      +    }
      +  ],
      +  "type": "object"
      +}
  3. Changed2 schema fields changed
    • addedInput schema / properties / account_token
      Added value: +{
      +  "description": "Private account token from sign_in, after the customer gave you the code from their email. Lets quotes and checkout use their cashback credit, and opens their orders.",
      +  "pattern": "^tak_[a-f0-9]{64}$",
      +  "type": "string"
      +}
    • addedInput schema / properties / order_id / description
      Added value: +"order_id from prepare_payment, get_checkout or list_orders, e.g. TN-…"
  4. Changed1 schema field changed
    • addedInput schema / properties / guest_token
      Added value: +{
      +  "description": "Private guest session token from create_cart. Retain for cart, checkout and purchase-status calls; no account login needed.",
      +  "pattern": "^[a-f0-9]{64}$",
      +  "type": "string"
      +}
  5. Changed1 schema field changed
    • removedInput schema / properties / guest_token
      Removed value: -{
      -  "description": "Private guest session token from create_cart. Retain for cart, checkout and purchase-status calls; no account login needed.",
      -  "pattern": "^[a-f0-9]{64}$",
      -  "type": "string"
      -}
  6. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered. The description still adds genuine value the annotations don't: the auth-token prerequisites and, critically, the referral presentation rules (show referral.display_text exactly, never address share_message to the buyer). It doesn't cover error/invalid-token behavior, which keeps it just below 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.

Conciseness4/5

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

The core purpose and auth rules are front-loaded, and the conditional (for paying/paid) referral guidance follows logically. The referral sentences are dense but each carries actionable presentation rules, so the length is largely justified rather than padded.

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 no output schema, the description must summarize returns, which it does by enumerating status, items, tracking, cancellation/return, and referral data. Combined with the auth guidance, an agent has enough to call it correctly; only error-condition behavior is unaddressed.

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 all three parameters are documented in the schema, setting the baseline at 3. The description reinforces the guest_token/account_token distinction in prose and ties order_id to the flow, adding a bit of accessible context beyond the raw schema descriptions.

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 ('Check an order') and enumerates exactly what is returned: payment/delivery status, items, tracking, cancellation/return requests. It also explicitly names the sibling request_order_change for cancel/return actions, so an agent can distinguish it from that tool without opening either 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?

Explicitly states when each auth path applies: guest_token for orders placed this session, account_token for any of the signed-in customer's orders. It names the alternative (request_order_change) and the condition that selects it, leaving nothing to inference.

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