Skip to main content
Glama

Tanatasa Beauty

get_checkout

Read-onlyIdempotent

Read a checkout: saved contact and delivery details, details_version, total, status and the ways to finish (review link, payment link). These details and links are private to the buyer.

Input Schema

NameRequiredDescriptionDefault
checkout_idYescheckout_id from create_checkout or checkout_session.
guest_tokenNoPrivate guest session token from create_cart. Retain for cart, checkout and purchase-status calls; no account login needed.

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": {
      -        "buyer_details": {
      -          "anyOf": [
      -            {
      -              "additionalProperties": true,
      -              "properties": {
      -                "contact": {
      -                  "additionalProperties": true,
      -                  "properties": {
      -                    "email": {
      -                      "type": "string"
      -                    },
      -                    "name": {
      -                      "type": "string"
      -                    },
      -                    "phone": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "name",
      -                    "email",
      -                    "phone"
      -                  ],
      -                  "type": "object"
      -                },
      -                "delivery": {
      -                  "additionalProperties": true,
      -                  "properties": {
      -                    "address_line1": {
      -                      "type": "string"
      -                    },
      -                    "postal_code": {
      -                      "type": "string"
      -                    },
      -                    "unit_number": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "address_line1",
      -                    "postal_code"
      -                  ],
      -                  "type": "object"
      -                }
      -              },
      -              "required": [
      -                "contact",
      -                "delivery"
      -              ],
      -              "type": "object"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "buyer_summary": {
      -          "type": "string"
      -        },
      -        "cart_url": {
      -          "anyOf": [
      -            {
      -              "format": "uri",
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "checkout_id": {
      -          "type": "string"
      -        },
      -        "checkout_status": {
      -          "enum": [
      -            "cancelled",
      -            "confirmed",
      -            "cart_changed",
      -            "payment_pending",
      -            "ready_for_payment",
      -            "details_required"
      -          ],
      -          "type": "string"
      -        },
      -        "checkout_url": {
      -          "anyOf": [
      -            {
      -              "format": "uri",
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "confirmation_url": {
      -          "anyOf": [
      -            {
      -              "format": "uri",
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "currency": {
      -          "const": "SGD",
      -          "type": "string"
      -        },
      -        "details_version": {
      -          "type": "integer"
      -        },
      -        "expires_at": {
      -          "format": "date-time",
      -          "type": "string"
      -        },
      -        "handoff_options": {
      -          "items": {
      -            "additionalProperties": true,
      -            "properties": {
      -              "available": {
      -                "type": "boolean"
      -              },
      -              "buyer_action": {
      -                "type": "string"
      -              },
      -              "path": {
      -                "type": "string"
      -              },
      -              "reason": {
      -                "type": "string"
      -              },
      -              "url": {
      -                "anyOf": [
      -                  {
      -                    "format": "uri",
      -                    "type": "string"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              }
      -            },
      -            "required": [
      -              "path",
      -              "available"
      -            ],
      -            "type": "object"
      -          },
      -          "type": "array"
      -        },
      -        "money_unit": {
      -          "const": "cents",
      -          "type": "string"
      -        },
      -        "next_action": {
      -          "type": "string"
      -        },
      -        "order_id": {
      -          "type": "string"
      -        },
      -        "payment_confirmed": {
      -          "type": "boolean"
      -        },
      -        "payment_status": {
      -          "type": "string"
      -        },
      -        "payment_url": {
      -          "anyOf": [
      -            {
      -              "format": "uri",
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "payment_url_expires_at": {
      -          "anyOf": [
      -            {
      -              "format": "date-time",
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "total": {
      -          "description": "Integer SGD cents; 1690 means S$16.90.",
      -          "minimum": 0,
      -          "type": "integer"
      -        }
      -      },
      -      "required": [
      -        "currency",
      -        "money_unit",
      -        "checkout_id",
      -        "order_id",
      -        "checkout_url",
      -        "cart_url",
      -        "details_version",
      -        "checkout_status",
      -        "payment_url",
      -        "payment_url_expires_at",
      -        "payment_confirmed",
      -        "confirmation_url",
      -        "expires_at",
      -        "total",
      -        "payment_status",
      -        "buyer_summary",
      -        "next_action",
      -        "buyer_details",
      -        "handoff_options"
      -      ],
      -      "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": {
      +        "buyer_details": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": true,
      +              "properties": {
      +                "contact": {
      +                  "additionalProperties": true,
      +                  "properties": {
      +                    "email": {
      +                      "type": "string"
      +                    },
      +                    "name": {
      +                      "type": "string"
      +                    },
      +                    "phone": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "name",
      +                    "email",
      +                    "phone"
      +                  ],
      +                  "type": "object"
      +                },
      +                "delivery": {
      +                  "additionalProperties": true,
      +                  "properties": {
      +                    "address_line1": {
      +                      "type": "string"
      +                    },
      +                    "postal_code": {
      +                      "type": "string"
      +                    },
      +                    "unit_number": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "address_line1",
      +                    "postal_code"
      +                  ],
      +                  "type": "object"
      +                }
      +              },
      +              "required": [
      +                "contact",
      +                "delivery"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "buyer_summary": {
      +          "type": "string"
      +        },
      +        "cart_url": {
      +          "anyOf": [
      +            {
      +              "format": "uri",
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "checkout_id": {
      +          "type": "string"
      +        },
      +        "checkout_status": {
      +          "enum": [
      +            "cancelled",
      +            "confirmed",
      +            "cart_changed",
      +            "payment_pending",
      +            "ready_for_payment",
      +            "details_required"
      +          ],
      +          "type": "string"
      +        },
      +        "checkout_url": {
      +          "anyOf": [
      +            {
      +              "format": "uri",
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "confirmation_url": {
      +          "anyOf": [
      +            {
      +              "format": "uri",
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "currency": {
      +          "const": "SGD",
      +          "type": "string"
      +        },
      +        "details_version": {
      +          "type": "integer"
      +        },
      +        "expires_at": {
      +          "format": "date-time",
      +          "type": "string"
      +        },
      +        "handoff_options": {
      +          "items": {
      +            "additionalProperties": true,
      +            "properties": {
      +              "available": {
      +                "type": "boolean"
      +              },
      +              "buyer_action": {
      +                "type": "string"
      +              },
      +              "path": {
      +                "type": "string"
      +              },
      +              "reason": {
      +                "type": "string"
      +              },
      +              "url": {
      +                "anyOf": [
      +                  {
      +                    "format": "uri",
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              }
      +            },
      +            "required": [
      +              "path",
      +              "available"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "money_unit": {
      +          "const": "cents",
      +          "type": "string"
      +        },
      +        "next_action": {
      +          "type": "string"
      +        },
      +        "order_id": {
      +          "type": "string"
      +        },
      +        "payment_confirmed": {
      +          "type": "boolean"
      +        },
      +        "payment_status": {
      +          "type": "string"
      +        },
      +        "payment_url": {
      +          "anyOf": [
      +            {
      +              "format": "uri",
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "payment_url_expires_at": {
      +          "anyOf": [
      +            {
      +              "format": "date-time",
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "total": {
      +          "description": "Integer SGD cents; 1690 means S$16.90.",
      +          "minimum": 0,
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "currency",
      +        "money_unit",
      +        "checkout_id",
      +        "order_id",
      +        "checkout_url",
      +        "cart_url",
      +        "details_version",
      +        "checkout_status",
      +        "payment_url",
      +        "payment_url_expires_at",
      +        "payment_confirmed",
      +        "confirmation_url",
      +        "expires_at",
      +        "total",
      +        "payment_status",
      +        "buyer_summary",
      +        "next_action",
      +        "buyer_details",
      +        "handoff_options"
      +      ],
      +      "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. Changed1 schema field changed
    • addedInput schema / properties / checkout_id / description
      Added value: +"checkout_id from create_checkout or checkout_session."
  4. Added

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true. The description adds useful context beyond annotations by stating that the checkout details and completion links are private to the buyer, which is an access/privacy constraint not captured in annotations.

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?

The description is front-loaded with the core action and then lists the key returned data in a compact sentence. The privacy note is short and earns its place by adding access context.

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

Completeness5/5

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

Although there is no output schema, the description enumerates the important return values (contact/delivery details, details_version, total, status, review and payment links) and notes their privacy. Annotations cover safety and idempotency, and the input schema covers parameters, so the definition is complete enough for an agent to invoke it correctly.

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 both checkout_id and guest_token are already well documented in the input schema. The description does not add parameter-specific meaning beyond what the schema provides, so the baseline of 3 is appropriate.

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?

The description uses a specific verb (Read) and resource (checkout), then enumerates the fields returned: contact and delivery details, details_version, total, status, and completion links. It is clear what the tool does, but it does not explicitly distinguish itself from siblings like get_cart, get_order, or checkout_session.

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

Usage Guidelines2/5

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

There is no explicit guidance on when to use this tool versus alternatives such as checkout_session, get_order, or get_cart. The description implies a read operation on a checkout, but it does not name alternatives or provide conditions for choosing this tool.

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